lxquid_
Members-
Posts
19 -
Joined
-
Last visited
Everything posted by lxquid_
-
oh my goshh ...
-
befat is the modid @Beethoven92
-
@kiou.23
-
itemStack.hurtAndBreak(50, entity, null); works for me now
-
With shapeless it doesnt works too @kiou.23
-
@kiou.23 { "type": "minecraft:crafting_shaped", "pattern": [ "a" ], "key": { "a": { "item": "minecraft:dirt" } }, "result": { "item": "minecraft:diamond", "count": 1 } }
-
okay but when i change "tag": "minecraft:dirt" to "item": "minecraft:dirt" it still doesnt works
-
whats the tag for dirt for example?
-
-DELETED-
-
nope please explain o-o @kiou.23
-
but where i can find the tags for items
-
@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 } }
-
@diesieben07 i already tried to change coal to coals but it still doesnt works
-
@diesieben07 Nope this doesnt works for me, i tried "befat" instead of "tme" but it still is not working
-
@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
-
public static final Item COAL = registerItem("coal", new Item((new Item.Properties()).tab(ItemGroup.TAB_MATERIALS)));
-
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.
-
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?