Jump to content

CookieGamez2018

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by CookieGamez2018

  1. Is there a function to detect weather (clear, thunder, rain, etc). I know how to detect if a block is being rained on using "worldIn.isRainingAt(pos)" but is there a way I can detect the weather.
  2. { "type": "minecraft:crafting_shapeless", "ingredients": [ { "item": "productioncraft:copper_ingot" }, { "item": "productioncraft:hammer", "data": "32767" } ], "result": { "item": "productioncraft:copper_plate", "count": 1 } }
  3. Nope still the same problem with the recipe not working with the damaged hammer and the non damaged one
  4. My crafting recipe with a custom item that has durability does not work when it loses durability. public class ItemHammer extends Item { public ItemHammer(String name) { setUnlocalizedName(name); setRegistryName(name); setCreativeTab(Main.productioncrafttoolstab); setNoRepair(); setMaxDamage(79); setMaxStackSize(1); ModItems.ITEMS.add(this); } @Override public boolean hasContainerItem(ItemStack stack) { return true; } @Override public ItemStack getContainerItem(ItemStack itemStack) { return itemStack.getItemDamage() < itemStack.getMaxDamage() ? new ItemStack(itemStack.getItem(), 1, itemStack.getItemDamage() + 1) : ItemStack.EMPTY; } } { "type": "minecraft:crafting_shapeless", "ingredients": [ { "item": "productioncraft:copper_ingot" }, { "item": "productioncraft:hammer" } ], "result": { "item": "productioncraft:copper_plate", "count": 1 } } I have tried adding “data”: “32,767” but that makes my damaged item and completely new item (with no durability damage) not work All help is appreciated
  5. Hello all, I have been trying to get my custom fluid into the game for a while now but it just wont work and the game crashes when I boot it up any help would be great! Crash Log Link
×
×
  • Create New...

Important Information

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