-
Bug
-
Resolution: Invalid
-
None
-
Minecraft 1.13-pre8
-
None
-
Unconfirmed
I created a superflat world using the Void template. Then I created the enderdragon with the command /summon minecraft:ender_dragon ~ ~ ~ {DragonPhase:0}, did a bossbar to monitor DragonPhase and set the command block to store DragonPhase to the bossbar. Then I began to observe his behavior, to later monitor it through DragonPhase.
I got this chain: 0 (just flies) -> 2 (wants to fly to the "portal") -> 3 (flies to the "portal") -> 6 (hangs over the "portal") -> 4 (flies from the "portal"). Then I assumed that the remaining phases (1 and 5) are responsible for the attack of the enderdragon.
To check this, I switched to Survival mode. Then he began to attack me from time to time with a dragon's breath, switching to DragonPhase: 1. After a while he went down to zero coordinates and began to hang (as expected). But instead of switching to DragonPhase: 4, he switched to DragonPhase: 5 and hung, with all the logic in the game turned off. This was indicated by the fact that neither I nor the enderdragon could get the damage in any way, and no commands worked. After the re-entered the world, the game continued not from the moment of release, but from the last autosave.
And it happened every time I was in Survival mode, but in Creative mode this did not happen once.