How to make wolves sit

Started by TDO on

Topic category: Help with Minecraft modding (Java Edition)

Joined Dec 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make wolves sit

I want to make a tool that sits down all pets in an area, but idk how to make wolves or cats sit. I can only make modded pets sit bc I know how they work but Idk what makes vanilla mobs sit

Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If you can find a way to…
Tue, 10/28/2025 - 07:51

If you can find a way to change vanilla componant/nbt data there is a sitting logic variable, just change that from (0 to 1 if 0) and vice versa and you got it, possibly using execute command and get result/execute command in name of.
https://imgur.com/a/UkWNevB

the command to use
get value: /data get entity 21585ffe-96f7-42f5-bb09-bb689e8c9235 Sitting
set value: /data modify entity 21585ffe-96f7-42f5-bb09-bb689e8c9235 Sitting set value 1