how do I make a water cell in my custom table?

Started by Dorii78 on

Topic category: Help with modding (Java Edition)

Last seen on 13:51, 6. Apr 2024
Joined Dec 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how do I make a water cell in my custom table?
I am working on Forge 1.20.1 mod.
And I want to make a water container for the table. For those who might have played EvilCraft, I would like to make, for example, a tank that is in the blood infuser or the tank in the forestry carpentry, only with water.
Last seen on 20:43, 20. Aug 2024
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'm not familiar with those…
Sat, 12/30/2023 - 15:01

I'm not familiar with those mods, but you could probably do this by making a custom tank item, applying a custom NBT number tag that keeps track of how full it is, and then adding a different texture in the 'item properties' tab for each level of fullness. You could then alter the NBT tag whenever you want to change the level of fluid in the tank. (Or just use durability to keep track of fluid level.) I'm not sure if this would be compatible with those mods though.