lxquid_
-
Posts
19 -
Joined
-
Last visited
Posts posted by lxquid_
-
-
4 minutes ago, Beethoven92 said:
what is "befat"? I thought your mod id was "tme" (as seen in the first json you posted)..also why did you separate advancements and recipes folder? You can put both of them in data."your_mod_id"
befat is the modid
10 hours ago, diesieben07 said:Change your ModID! "tme" is too short and not unique. Do not use abbreviations.
-
-
itemStack.hurtAndBreak(50, entity, null); works for me now
-
With shapeless it doesnt works too @kiou.23
-
-
1 minute ago, kiou.23 said:
post the full recipe json
{ "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
-
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
-
24 minutes ago, Beethoven92 said:
Isn't the minecraft tag for coals..."minecraft:coals"?
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?
Why do my recipes not work?
in Modder Support
Posted
oh my goshh ...