Started by
yetihere
on
Topic category: Help with Minecraft modding (Java Edition)
I'm making an end-themed mod and one of the things in it is "Ender Goggles" which you can put on to make all endermen not get angry at you. However, I'm dumb and have no idea how to make this work. Can someone please help me with this conundrum?
You either code It yourself or show a carved pumpkin as different item using item components, Forums about datapack making and commands has more information about this, However as a side effect, You can not specially use this custom item instead of carved pumpkin in vanilla recipe ingredients, This should not be affect anything since your item is a armor ( Other than durability combining recipe ).
you could also look at the code of an enderman or a carved pumkin to see what causes the lack of agresion when wearing a pumpkin.
i found the item tag for this:
gaze_disguise_equipment
there is also a file: gaze_disguise_equipment.json
there under values there is already the carved pumkin you can put your item in there
this would also be a cool feature to be able to do this whit a checkbox