Jump to content

nov4e

Members
  • Posts

    169
  • Joined

  • Last visited

Posts posted by nov4e

  1. 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.

  2. 4 hours ago, perigrine3 said:

    I know what the code does though, just so nobody thinks I have no clue. I just don't know what the modid part is. 

    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".

  3. You can just hide every item doing:

    for(Item i : ForgeRegistries.ITEMS) {
    	if(i.getCreatorModId(new ItemStack(i)).equals("minecraft")) {
    				i.setCreativeTab(null);
    	}
    }

    That means for every item in forge, if the item has the modid "minecraft" it will set the item's creative tab to null.

    • Thanks 1
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.