Data Packs Quality of Life

Minecarts Pick Up Containers [Movable Tile Entities]

  • 2k views 0 today
  • save_alt 114 downloads
Compatibility
Minecraft 1.19
Changes include
  • Functions
  • Predicates
  • 12
  • 8
  • 10
Marcamarckie
Lvl 45Master Toast Waffle
16
Allows for minecarts to pick up and put down certain block entities.

When a minecart passes by a chest, dropper, dispenser, shulker box, barrel, spawner, or tnt, it will pick it up. When triggered by an activator rail, it will attempt to place it back down again.

Minecarts with shulker boxes and barrels behave just like minecarts with chests, except that they will drop their items separately when broken. Shulker boxes will retain their colors and names while in minecarts.

Droppers, if they contain items, will drop an item on activation (they will only be ejected once they are empty). Future versions will allow dispensers to dispense items.

Instant Shulker box unloaders can be built by dispensing a shulker box next to a minecart and then breaking the minecart.

Requires no resource pack, despite the fact that the minecarts will visually carry their blocks!

What about hopper minecarts?
  Having minecarts be able to pick up and put down hoppers on their own would break many farms, and not be very useful. Hopper minecarts already have their own interaction with activator rails anyway.

Furnace minecarts?
  What are those?

1 Update Logs

Update #1 : by Marcamarckie 07/04/2023 12:21:36 amJuly 4, 2023 @ 4:21 am UTC

Added support for droppers, and limited support for dispensers. Dispensers currently do not dispense items, but at least they can be moved!

More like this

  Have something to say?

tuopi27
07/18/2024 4:41 pm
Level 20 : Expert Crafter
you should make these craftable instead. use custom nbt data to make it spawn the new minecart types
1
Kittycatable
09/13/2023 1:50 pm
He/Him • Level 1 : New Network
please
1
Kittycatable
09/13/2023 1:49 pm
He/Him • Level 1 : New Network
can you add functional for dispencer
1
Marcamarckie
09/29/2023 9:04 pm
They/Them • Level 45 : Master Toast Waffle
I'm awaiting the upcoming version of Minecraft, which adds more datapack capabilities. It will be a few more weeks
1
Drakio-X
07/03/2023 2:27 pm
Level 8 : Apprentice Miner
Actually this is pretty cool and can be used to solve the problems of not having movable tile entities, what about to add this feature to droppers and dispenser?
2
Marcamarckie
07/04/2023 12:22 am
They/Them • Level 45 : Master Toast Waffle
I have added droppers, and some limited support for dispensers as well.
2
Marcamarckie
07/03/2023 3:06 pm
They/Them • Level 45 : Master Toast Waffle
Yeah! My issue currently is that minecarts do not keep track of their rotation (notice how chests in minecarts rotate randomly as the minecart moves). I am trying to decide: should I implement a "directionless" dropper/dispenser minecart that places the item/entity directly under it. Or, should I just make them featureless other than just moving them.
2
Drakio-X
07/04/2023 1:48 am
Level 8 : Apprentice Miner
history
That's a hard decission, both features might be good, but if determine the direction in which the dispenser should dispense is impossible maybe just moving it, is enough. I hardly can see an use for a directionless dispenser
Maybe if you want, you can let the movable dispenser-like feature for other day/concept, after all if you want but I really would like something about an entity with an inventory which you can fill with the item you want and indicate it to dispense it.
1
Marcamarckie
07/04/2023 1:15 pm
They/Them • Level 45 : Master Toast Waffle
Well for now I made them at least moveable. I'm going to experiment with various mechanics (such as for hopper minecarts) to make moving machines viable.

For instance, there's no current way to make a tnt bomber other than spamming dispenser minecarts.
2
SirFluffyPuffs
06/29/2023 4:31 am
Level 11 : Journeyman Miner
breaking the minecart should drop the minecart and place the block entitiy too besides tnt most people dont know what an activator rail is
2

Welcome