Adding Liquid inside A block

Started by T_GMouse on

Topic category: Advanced modding

Last seen on 02:46, 12. Apr 2020
Joined Oct 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Adding Liquid inside A block

So I'm making a Vanilla type mod, adding small changes. I was wondering if it's possible to add a liquid (water) into a block to use for crafting. Like the recipe would need 100mb of water to make a specific item?

 

Would really appreciate the help!

Last seen on 00:30, 24. Aug 2023
Joined May 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Not sure how you could…
Tue, 03/31/2020 - 18:26

Not sure how you could display it visually, but if you enable TileEntity Inventory in the block (you can set the slots to 0 it you don't actually want to store anything in it), it can store NBT data. You could make an NBT variable that stores how much water is in the block.