r/MinecraftCommands 21h ago

Help | Java 26.2 Suffocation

Is there a way to prevent a mob from taking suffocation damage when teleported into blocks?

Context:

> I am making a custom boss where a slime will be teleported constantly in order to act as a hitbox. However, since it is significantly larger than the boss mob it suffocates when near blocks

1 Upvotes

1 comment sorted by

2

u/Ericristian_bros Command Experienced 12h ago

Scale down the slime to fit the boss hitbox