asanetargoss / Changeling

Shapeshifting mod and morphing API for Minecraft
https://www.minecraftforum.net/forums/mapping-and-modding-java-edition/minecraft-mods/2656333-asanetargoss-miscellaneous-mods-changeling-and
Other
5 stars 2 forks source link

Ender Dragon morphs destroy blocks far away from themselves. #34

Open James103 opened 4 years ago

James103 commented 4 years ago

Minecraft 1.12.2 Forge 14.23.5.2854 DominionLib 1.0.4 Changeling 1.2

Actual behavior: When you are morphed as an Ender Dragon, blocks around you are destroyed, both near you and very far away. The blocks destroyed aren't counted as harvested or mined by the player.

Expected behavior: When you are morphed as an Ender Dragon, either no blocks are destroyed or blocks that are within your hitbox are destroyed, just like regular Ender Dragons. No blocks are destroyed that are very far away from you.

Bonus: In addition, blocks that are automatically destroyed while you are an Ender Dragon are broken if they were mined by you. This includes correct tool handling, hunger loss, statistics, and actually dropping the item (or putting it directly in your inventory).

IndieanaJones commented 4 years ago

This probably has to do something with the fact that the Enderdragon's AI isn't turned off when you're transformed as them unlike every other transformation. While turning it off does solve this issue, the Enderdragon will no longer animate because its reliant on its AI to do so.

James103 commented 4 years ago

So, same cause as mchorse/metamorph#215?