Tubes aims to provide the best item transport and sorting solution using the awesome ForgeMultipart API
These tubes work somewhat like the pneumatic tubes in RedPower, but there are many more types of tubes for all sorts of uses.
Features
- Item Transport:
- Items in tubes seek the shortest path to an inventory and items cannot be accidentally dropped!
- Tube Coloring:
- Tubes can be colored by clicking them with dyes
Different colored tubes wont connect to each other
Colors can be cleared by clicking on them with a water container (eg. water bucket, water bottle)
- Ghost item filters:
- Don't waste your items in filters, all filter slots in tubes use ghost items.
Left click to decrease, Right click to increase, hold shift to increase/decrease by 10
- NEI Drag and Drop Integration:
- If you have NEI installed, you can drag from the items list into a filter slot to set its even when in recipe mode!
Requirements
ForgeMultipart and CodeChickenCore
Getting Started
To start making tubes, you are going to need plastic. The most basic way to get plastic is as follows:
First combine sand, clay, and coal/charcoal to get pellets
Smelt the plastic pellets to get plastic sheets
Finally combine 2 plastic and 1 glass like above to get 8 tubes
If you want more plastic pellets, you can use this method to produce 32 tubes worth of plastic at a time:
Smelt a bucket of milk to get milk curd.
Combine that milk curd with coal/charcoal, gunpowder, and 1 bucket's worth of water (can use forestry cans and other containers like it) to get 8 plastic pellets.
BuildCraft Users:
You can refine fuel into liquid plastic using the refinery. You get 1 bucket of liquid plastic for 1 bucket of fuel
Combine a bucket of liquid plastic with coal/charcoal to get 8 plastic pellets
MineFactoryReloaded Users:
You can use MFR plastic sheets anywhere Tubes plastic is used.
Recipes
- Restriction Tube:
- Adds 5000 to the path length
Can be colored
- Ejection Tube:
- Has a forced open direction. Items will be ejected out of the open side.
Can be colored. Can be rotated with a BuildCraft compatible wrench
- Filter Tube:
- Can precisely control what items can enter it
- Compressor Tube:
- Compresses items that pass through it to specific stack sizes.
Useful for reducing lag.
- Extraction tube:
- Pulls items out of inventories at a rate of 1 stack per 10 ticks
Can be disabled by applying a redstone signal
Can be colored. Can be rotated with a BuildCraft compatible wrench
- Requesting tube:
- A combination of an extraction tube and filter tube, can pull from inventories both adjacent, and remote
It will also pull the exact amount of an item specified in its filter.
Can be rotated with a BuildCraft compatible wrench
- Routing tube:
- This tube allows you to choose what destination an item will have.
When deciding the path for an item to take, the shortest valid path will still be chosen.
- Coloring tube:
- This tube allows you to apply a color to items passing through it
Any dye can be used in place of the above dyes
- Valve Tube:
- This tube acts as a one way valve, any items that leave it cannot re-enter it. It also acts as an overflow destination should items not have anywhere to go.
A redstone signal will open the valve making it act as a normal tube
- Block of Plastic:
- A decorative block made of plastic
- Redstone Circuit:
- An item used by the filter tube recipe
- Tube Cap:
- A tube cap allows you to block connections between tubes and other tubes/blocks without needing colors, or covers
You can use any saw
Installation
- Install Forge NOT ModLoader
- Place the jar for this mod, in the mods folder
Mod Spotlights
Tubes 1.1.3 Spotlight thanks to TheBriskCinema (TheLeachHOG)
Tubes 1.1.2 Spotlight thanks to ImN00ob
Tubes 1.0.5 thanks to WTFG33ks
Tubes 1.0.1 thanks to ImN00ob
Mod Packs
Permission is given for anyone to include this in a mod pack (public or private).
Source Code
If you wish to see how its done, head over to GitHub where the source code is available.
Disclaimer: Though its very unlikely that anything will happen, I take no responsibility for any damage that occurs to your worlds.
big sad this is beyond dead, was always one of my favs
1.12.2 version?
In reply to vizthex:
The closest to a newer version of the mod is 'Tubes Reloaded' for 1.13.2 and 1.14 versions of Forge. I don't see an update coming to 1.12.2 for this mod likely.
https://www.curseforge.com/minecraft/mc-mods/tubes-reloaded
In reply to SuntannedDuck2:
That's super annoying, because my new modpack needs it for 1.12.2.....ah well
In reply to vizthex:
I can see that being annoying, still there is many piping mods for 1.12.2 though (some with filters or functionality similar to this mod, mainstream or niche) just look around a bit and you should find some. But for a direct continuation I'd say Tubes Reloaded is the closest and for newer versions.
https://www.curseforge.com/minecraft/mc-mods/technology/technology-item-fluid-energy-transport?filter-game-version=2020709689:6756&filter-sort=2
In reply to SuntannedDuck2:
Yeah, I just liked this one....
Oh Tubes! mod, how I pine for you. How I long for the day when someone would take you under their wing to bring you into a new version of Minecraft. Oh Tubes! mod .. the best little item transport mod out there .. I will wait for you.
I really love this mod, it's one of my favourites.
Are there plans fro a 1.12 release?
This was an awesome and simple mod. Are you still planning on maintaining it? If not, do you have a GitHub repo available for someone else to work on this mod? Hoping to see it again in future minecraft versions.
Sorry to bring up another one but I got tagged with this while streaming )frownyface(
Head --
Stacktrace:
at de.barelyalive.NetherTweaksMod.Blocks.BlockEndTeleport.func_149727_a(BlockEndTeleport.java:87)
at net.minecraft.client.multiplayer.PlayerControllerMP.func_78760_a(PlayerControllerMP.java:326)
at net.minecraft.client.Minecraft.func_147121_ag(Minecraft.java:1447)
-- Affected level --
Details:
Level name: MpServer
All players: 1 total; [EntityClientPlayerMP['BeerCav'/283, l='MpServer', x=212.29, y=74.50, z=-186.70]]
Chunk stats: MultiplayerChunkCache: 527, 536
For some reason i seem to get a force shutdown whenever i place a tank tube, if it helps with bugfixing it flashes full of water first when i place it right before crashing.
EDIT: right before it crashes i get this line:
[Client thread/ERROR] [FML]: There was a critical exception handling a packet on channel ForgeMultipart
java.lang.IndexOutOfBoundsException: readerIndex(24) + length(4) exceeds writerIndex(24): UnpooledHeapByteBuf(ridx: 24, widx: 24, cap: 24/24)
Heres the full shutdown message:
[19:53:28] [Client thread/ERROR] [FML]: There was a critical exception handling a packet on channel ForgeMultipart
java.lang.IndexOutOfBoundsException: readerIndex(24) + length(4) exceeds writerIndex(24): UnpooledHeapByteBuf(ridx: 24, widx: 24, cap: 24/24)
at io.netty.buffer.AbstractByteBuf.checkReadableBytes(AbstractByteBuf.java:1160) ~[AbstractByteBuf.class:?]
at io.netty.buffer.AbstractByteBuf.readInt(AbstractByteBuf.java:611) ~[AbstractByteBuf.class:?]
at codechicken.lib.packet.PacketCustom.readInt(PacketCustom.java:404) ~[PacketCustom.class:?]
at codechicken.multipart.handler.MultipartCPH$.handleCompressedTileData(packethandlers.scala:75) ~[MultipartCPH$.class:?]
at codechicken.multipart.handler.MultipartCPH$.handlePacket(packethandlers.scala:44) ~[MultipartCPH$.class:?]
at codechicken.lib.packet.PacketCustom$ClientInboundHandler.handle(PacketCustom.java:100) ~[PacketCustom$ClientInboundHandler.class:?]
at codechicken.lib.packet.PacketCustom$CustomInboundHandler.channelRead0(PacketCustom.java:77) ~[PacketCustom$CustomInboundHandler.class:?]
at codechicken.lib.packet.PacketCustom$CustomInboundHandler.channelRead0(PacketCustom.java:64) ~[PacketCustom$CustomInboundHandler.class:?]
at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:98) ~[SimpleChannelInboundHandler.class:?]
at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337) ~[DefaultChannelHandlerContext.class:?]
at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323) ~[DefaultChannelHandlerContext.class:?]
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:785) ~[DefaultChannelPipeline.class:?]
at io.netty.channel.embedded.EmbeddedChannel.writeInbound(EmbeddedChannel.java:169) ~[EmbeddedChannel.class:?]
at cpw.mods.fml.common.network.internal.FMLProxyPacket.func_148833_a(FMLProxyPacket.java:77) [FMLProxyPacket.class:?]
at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:212) [ej.class:?]
at net.minecraft.client.multiplayer.PlayerControllerMP.func_78765_e(PlayerControllerMP.java:273) [bje.class:?]
at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1602) [bao.class:?]
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:973) [bao.class:?]
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:898) [bao.class:?]
at net.minecraft.client.main.Main.main(SourceFile:148) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_25]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_25]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_25]
at java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0_25]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
then a bunch of irrelevant stuff happening serverside not concerning your mod, mostly involving RFTools, EnderIO, Thaumcraft, ProjectE, JourneyMap, and McJty. just incase those were actually relevant and/or known issues.
I can confirm I am getting this, too.
ye, have this problem too
I really hope this will make the hop to 1.8.9 eventually. By far this is the best tube mod out there.
Thank you very much for this mods, this reminds me redpower with tubes items: D
This is gonna be so useful for the crack pack because ended io conduits look aufu and there is no TD in it ether so this is a great replacement.
Are you still maintaining this mod, Keep up the great work.
Hi,
it seems that theres a problem with the distribution of items. I have 4 furnaces that each have a hopper ontop of them. There are tubes above the hoppers to feed the hoppers with wood. The setup is like this:
I
O I O
O I O I O I O
O O
I stands for the "input line", thats the tubes. O stand for the hoppers. All hoppers are connected to the tubes. Basically, theres 1 intersection and then 4 possible ways fot the wood to "choose" a hopper.
Now the problem is that no matter how much wood I provide the system with, only the 2 hopers closest to the intersection will be fed. The "overflow" of wood, that should then move on to other hopers will disappear. Only if you add another kind of wood, something that is not already in the hopper, the tubes will make the items choose other hoppers.
I made a screenshot for better illustration.
https://www.wuala.com/ToddVee/Bug reports/TubesEatWood.png/?key=Bugreports
Please keep updating this mod - its got a lot of potential, but needs more options, and refinement. Its really a slick system! Please don't give up on it.
Awesome that there's a replacement for tabues out! :D But could you make it so that extraction tubes only pull items if there's a valid destination? That was the great strength of the tubes system. Also, pulling a whole stack is kinda overkill, one item is more appropriate, though that is much less important.