Started by
Trehmor
on
Topic category: Help with Minecraft modding (Java Edition)
I want to spawn an enderman holding a custom block from my mod, but when i put the command (/summon enderman ~ ~ ~ {carriedBlockState:{Name:plasmablock}}) it spawns the enderman without the block :c
I think the only way to get an enderman to hold your block is by editing the enderman code.
Nope, create a tag called enderman_holdable, set the namespace to minecraft so it knows you're modifying a vanilla tag, and add your block to it.
This way i can see the block the enderman is holding in the hands?
Yes. Check the wiki page on custom tags, it'll explain better than I can.