Hello, I maded a custom cauldron extending the block to BlockCauldron and setting the water level with blockstate like in vanilla. The problem is that other mods' buckets cannot put the water in it beacuse it has to be a tank block. My questions are: How can I do that? Do I need a TileEntity? If yes should I use blockstate levels? Thanks for reading.
I changed it a little bit:
@Override
public void setDamage(ItemStack stack, int damage) {
if(stack == new ItemStack(this)) {
if(damage < stack.getItem().getMaxDamage()) {
if(damage > 1) {
super.setDamage(stack, damage);
}
}
}
}
I tried to make a category and i registered it and it not shows in-game. Here are the classes: https://github.com/nov4e/Exa/tree/master/src/main/java/exa_resources/forge/compat/jei/ground_digging
Also how can I initialize the ground digging recipes?
Well, when you execute the command /give in game, you need to put "minecraft:the_item_you_want" right? Well, forge consider minecraft as a mod so the minecraft modid is simply "minecraft".