Mojira Archive
MC-64351

Ender dragon infinite XP glitch (Makes it possible for exploit)

There is a glitch where if you log out or in any other way unload the chunks between 150 and 200 ticks after the ender dragon gets killed and then log in again you will have duplicated the XP you get from the dragon. You can do this as often as many times as you want and get infinite XP from it.

The problem is due to that when the ender dragon dies it start dropping XP every 5 ticks after 150 deathTicks and is set to dead at 200 death ticks.. (in total 5/6 of the xp gets dropped before it actually gets to the gametick where the "setDead" command is executed)

As I see it this can not be intended, as it basically is a duplication of the reward (xp in this case) that you would get for killing a mob.

I could write the code for a fix if that would help in any way, but I guess that the coders would have an easier time to write a fix themself than to translate my decompiled code (It is a 5 min fix in the DragonEntity class)

When doing the fix there are 2 things worth noting..

  1. If the xp spawns after or at the same time the ender portal and above it it will probably end up in it.
  2. Check so that something similar doesnt happen for any other mob.

Anyway.. There have been made XP farms and been talk about this a lot on youtube, but I dont think that it should be spread more than it allready is.
Also I will probably get a lot of heat from some people wanting to use this glitch. Theirfor I posted this as a "private" report.

(BTW I read the code and can totally confirm it.)

Here are some of the videos describing it.
https://www.youtube.com/watch?v=5MbHjI8Q-hk
https://www.youtube.com/watch?v=dU-XMCJx6Ew
https://www.youtube.com/watch?v=iIcUcPy6zio

One in spannish aswell (just to confirm and maybe give more info if anyone need and can speak spannish):
https://www.youtube.com/watch?v=A62xkxl19Vw

Duplicate

Pierre Waldén

2014-07-30, 05:21 AM

2017-06-25, 08:35 PM

2017-06-25, 08:35 PM

0

2

Unconfirmed

Minecraft 1.7.10

-