Jump to content

chrizz

Members
  • Posts

    7
  • Joined

  • Last visited

chrizz's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. I tried to override the inventory but it not works.
  2. Hi, I need help. I want to make 3 survival inventory tabs like galacticraft. I'm working on 1.12.2. Please can you send a wiki link? I can't write the code correctly. Thanks
  3. What is the correct id of cocoa beans? { "type": "minecraft:crafting_shapeless", "ingredients": [ { "item": "minecraft:cocoa_beans" }, { "item": "mod:dough" } ], "result": { "item": "mod:dough_with_chocolate", "count": 1 } }
  4. Someone send the correct code please I really need that.
  5. For now i've done that but it not work. package com.c_h_r_i_z_.bakerymod.items; import com.c_h_r_i_z_.bakerymod.items.base.ItemBase; import net.minecraft.item.ItemStack; public class ItemBowlAndPestle extends ItemBase { public ItemBowlAndPestle(String name) { super(name); setMaxStackSize(1); setNoRepair(); setMaxDamage(40); } @Override public ItemStack getContainerItem(ItemStack itemstack) { ItemStack stack = itemstack.copy(); stack.attemptDamageItem(1, itemRand, null); return stack; } @Override public boolean hasContainerItem(ItemStack stack) { return true; } }
  6. Yeah but I don't know the code...
  7. How to set a container item? My item is called bowl_and_pestle. I want it to stay in the crafting table like buckets. Sorry for bad english. Thanks for the help ? I am a beginner developer so please don't write hard code. Thanks
×
×
  • Create New...

Important Information

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