Jump to content

lxquid_

Members
  • Posts

    19
  • Joined

  • Last visited

Everything posted by lxquid_

  1. befat is the modid @Beethoven92
  2. itemStack.hurtAndBreak(50, entity, null); works for me now
  3. With shapeless it doesnt works too @kiou.23
  4. @kiou.23 { "type": "minecraft:crafting_shaped", "pattern": [ "a" ], "key": { "a": { "item": "minecraft:dirt" } }, "result": { "item": "minecraft:diamond", "count": 1 } }
  5. okay but when i change "tag": "minecraft:dirt" to "item": "minecraft:dirt" it still doesnt works
  6. whats the tag for dirt for example?
  7. nope please explain o-o @kiou.23
  8. but where i can find the tags for items
  9. @diesieben07 resources/data/befat/recipes/roesti_from_crafting.json { "type": "minecraft:crafting_shaped", "pattern": [ "a" ], "key": { "a": { "tag": "minecraft:dirt" } }, "result": { "item": "minecraft:diamond", "count": 1 } }
  10. @diesieben07 i already tried to change coal to coals but it still doesnt works
  11. @diesieben07 Nope this doesnt works for me, i tried "befat" instead of "tme" but it still is not working
  12. @Beethoven92 yeah the item is damageable and the method ItemStack#damageItem doesnt exists by me. also i dont know with what i sould replace the null (onBroken). i would like to destroy the item when it is broken
  13. public static final Item COAL = registerItem("coal", new Item((new Item.Properties()).tab(ItemGroup.TAB_MATERIALS)));
  14. Hello, i have coded recipes and there are not working. src/main/resources/data/tme/recipes/roesti_from_crafting.json { "type": "minecraft:crafting_shaped", "pattern": [ "ppp", "ccc", "pap" ], "key": { "a": { "tag": "minecraft:coal" }, "p": { "item": "minecraft:potato" }, "c": { "item": "tme:cheese" } }, "result": { "item": "tme:roesti", "count": 1 } } somebody knows what i am doing wrong? thanks in advance.
  15. I am trying to damage an item in 1.16.5. Currently i have this code: itemStack.getItem().damageItem(itemStack, 100, entity, null); but this doesnt works for me. anyone have an idea?
×
×
  • Create New...

Important Information

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