Started by
MamaLuigi
on
Topic category: Help with Minecraft modding (Java Edition)
In my procedure, a tamed Wolf is the Event/target entity, and I want it to be sitting during the procedure.
How can I force it to sit, and is it even possible?
Any help would be greatly appreciated!
Sitting is determined by a boolean NBT tag. So you can manually change the 'sitting' NBT to true, or you can run this command at the wolf's position: (Again, probably. I haven't personally tested this.)
how can i change the "sitting" NBT value of the Event/target entity?
nvm, i got it to work, but the command was wrong.
you had it as /data merge entity @e[type=nearest,sort=wolf,limit=1] {Sitting:1b}, but it should've been /data merge entity @e[type=wolf,sort=nearest,limit=1] {Sitting:1b}