mojira.dev
MC-306064

Mobs can be forced to look like they're dying while they aren't by using commands

The glitch allows you to create a mob that constantly glows red and tries to die.

To do this:

Summon any mob, such as a Creaking, using the command: /summon minecraft:creaking

Freeze ticks using the command: /tick freeze

Kill the Creaking using the command: /kill @e[type=minecraft:creaking]

Advance time by 1 tick using the command: /tick step

Target the Creaking using the command: /data merge entity [creaker ID] {Health:1}, thereby restoring its health. Important: You must specify the Creaking entity's ID in the entity selector, as using the command /data merge entity @e[type=minecraft:creaking,limit=1] {Health:1} will return an error: "No entity was found."

Unfreeze ticks using the command: /tick unfreeze

Note that the Creaking entity is now constantly glowing red and trying to die. This is indicated by the Creaking entity constantly attempting to lie down and then disappear forever, which, of course, never happens.

Attachments

Comments 8

Thank you for helping us improve Minecraft! We saved your files:

[media]

Could reproduce but only using the entity UUID in the command as stated by the report author

Yeah, thank you, but this will be fixed, right?

Can confirm the whole UUID thing and as a temporary fix you can just /kill it

Oh, by the way, I also forgot to mention that this bug works not only on the Creaking, but on all mobs in general, and even after restarting the world, this bug stops working, and the mob returns to normal.

И вообще, сейчас я узнал, что этот баг можно воспроизвести и без команды /tick. Для этого нужно выполнить следующие шаги:

  1. Призвать Скрипуна, выполня команду: /summon minecraft:creaking

  2. Навести прицел на Скрипуна и начать писать команду: /data merge entity [UUID Скрипуна] {Health:1}

  3. Нажать клавиши Ctrl+A, чтобы выделить эту команду, а потом Ctrl+C, чтобы её скопировать. После чего просто закрыть чат, не выполняя эту команду.

  4. Создать активированный динамит, выполня команду: /summon minecraft:tnt

  5. После этого нужно быстро открыть чат и вставить скопированную команду. Если динамит готовится взорваться, а у Вас уже в чат вставлена команда /data merge entity [UUID Скрипуна] {Health:1}, это значит, что Вы сделали всё правильно.

  6. После того, как динамит взорвётся и Скрипун начнёт умирать, Вам нужно быстро среагировать и нажать клавишу Enter, выполня команду на изменение здоровья Скрипуна. И если Вы сделаете всё правильно и пошагово, Вы увидите желаемый результат.

And anyway, I've just found out that this bug can be reproduced without the /tick command. To do this, follow these steps:

Summon any mob, for example, the same Creaking, it is great for such experiments. Run the command: /summon minecraft:creaking

Aim the scope at the Creaking and start writing the command: /data merge entity [Squeaker's UUID] {Health:1}

Press Ctrl+A to highlight this command, and then Ctrl+C to copy it. After that, just close the chat without executing this command.

Create activated dynamite by running the command: /summon minecraft:tnt

After that, you need to quickly open the chat and paste the copied command. If the dynamite is about to explode, and you already have the command /data merge entity [Creaking UUID] {Health:1} inserted into the chat, it means that you did everything right.

After the dynamite explodes and the Creaking

starts to die, you need to react quickly and press Enter, executing the command to change the health of the Squeaker. And if you do everything correctly and step by step, you will see the desired result.

And anyway, I've just found out that this bug can be reproduced without the /tick command. To do this, follow these steps:

Summon any mob, for example, the same Creaking, it is great for such experiments. Run the command: /summon minecraft:creaking

Aim the scope at the Creaking and start writing the command: /data merge entity [Squeaker's UUID] {Health:1}

Press Ctrl+A to highlight this command, and then Ctrl+C to copy it. After that, just close the chat without executing this command.

Create activated dynamite by running the command: /summon minecraft:tnt

After that, you need to quickly open the chat and paste the copied command. If the dynamite is about to explode, and you already have the command /data merge entity [Creaking UUID] {Health:1} inserted into the chat, it means that you did everything right.

After the dynamite explodes and the Creaking starts to die, you need to react quickly and press Enter, executing the command to change the health of Creaking. And if you do everything correctly and step by step, you will see the desired result.

minecraft_982646

(Unassigned)

Confirmed

Platform

Normal

Commands, Entities

26.1 Snapshot 5, 26.1 Snapshot 6, 26.1 Snapshot 7

Retrieved