Liquid Tanks/Liquid Minecarts

From Official Gamemode 4 Wiki
Jump to navigation Jump to search
Liquid Minecarts

Module TypeExpansion
Created bySparks
Last Updated bySpecialBuilder32 and BluePsychoRanger
Required ModulesLiquid Tanks
Complementary ModulesPotion Liquids
Compatible MC Versions1.14+

Liquid Minecarts are used to move liquids between liquid tanks and support any new liquids automatically.

Features

Unlike Liquid Tanks, Liquid Minecarts do not have a GUI for survival players and have no functionality outside of being able to interface with tanks. Instead, one should think of them as pipes.

Liquid Minecarts can be filled by a tank if the hopper points into the minecart either from the top of one of the sides, and emptied by driving them over a tank. If a minecart already has liquid in it, it will only accept the contents of tanks with the same liquid and vice versa.

The Liquid Minecart can be fully emptied by driving it over an activator rail.

Crafting

The Liquid Minecart can be crafted in a Custom Crafter with a liquid tank and minecart:

Item Ingredients Recipe (Custom Crafter)
Minecart with Liquid Tank Liquid Tank +

Minecart

Custom Crafter

Technical Details

Liquid Minecarts are Command Block Minecarts
A note on why liquid minecarts are command_block_minecart entities. Originally a regular minecart was used but this caused the passenger tank armour stand to be ejected when going over an activator rail. Minecarts themselves don't support skulls as a custom display block. Because they have no GUI functionality and seeing a hopper interface on a mobile liquid tank would cause players to expect it to be able to bottle and unbottle. Furthermore, a GUI will cause the tank to suck items out of hoppers or place them in, potentially messing up auto-filler systems if it picks something up while travelling down a track. Furnace minecarts drive weird as we all know so command block minecart it is! There's an added advantage that the "drain" feature is entered as a command in the minecart itself meaning there's no 20hz clock needed to check for activator rails. As far as I can tell, in survival, it acts like a normal minecart. You can't view the command GUI and breaking it doesn't drop a command block.

Advancements

Advancement Requirement
Liquid Locomotive
Put a liquid tank on wheels
Have a Liquid Minecart in your inventory

Learn More and Download

Download

History

Version Date Change
1.14 23 Aug 2019 Released Liquid Minecarts
1.18 23 Apr 2022 Liquid Minecarts are now crafted as items instead of created within hoppers
Liquid Minecarts will drop as an item when broken instead of the crafting components
"Liquid Locomotive" advancement trigger changed to picking up a Liquid Minecart

Previous Versions

MC 1.14-1.17 Versions

Prior to 1.18, Liquid Tanks were created by inserting the following items into a hopper (shapeless recipe), followed by dropping a Glass Block on top of the hopper to complete the creation of the tank.

Minecart with Hopper

Additionally, breaking the Liquid Tank dropped the items used to craft them instead of a custom item.