--- a/net/minecraft/server/EnderDragonBattle.java +++ b/net/minecraft/server/EnderDragonBattle.java @@ -21,7 +21,7 @@ private static final Logger LOGGER = LogManager.getLogger(); private static final Predicate b = IEntitySelector.a.and(IEntitySelector.a(0.0D, 128.0D, 0.0D, 192.0D)); public final BossBattleServer bossBattle; - private final WorldServer d; + public final WorldServer d; // CraftBukkit PAIL private -> public, rename world private final List e; private final ShapeDetector f; private int g; @@ -30,10 +30,10 @@ private int j; private boolean k; private boolean l; - private UUID m; + public UUID m; // CraftBukkit PAIL private -> public, rename dragonUUID private boolean n; - private BlockPosition o; - private EnumDragonRespawn p; + public BlockPosition o; // CraftBukkit PAIL private -> public, rename portalLocation + public EnumDragonRespawn p; // CraftBukkit PAIL private -> public, rename respawnPhase private int q; private List r; @@ -194,7 +194,7 @@ } - protected void a(EnumDragonRespawn enumdragonrespawn) { + public void a(EnumDragonRespawn enumdragonrespawn) { // CraftBukkit PAIL protected -> public, rename setRespawnPhase if (this.p == null) { throw new IllegalStateException("Dragon respawn isn't in progress, can't skip ahead in the animation."); } else { @@ -376,7 +376,7 @@ private void a(BlockPosition blockposition) { this.d.triggerEffect(3000, blockposition, 0); - WorldGenerator.END_GATEWAY.b((WorldGenFeatureConfiguration) WorldGenEndGatewayConfiguration.a()).a(this.d, this.d.getChunkProvider().getChunkGenerator(), new Random(), blockposition); + WorldGenerator.END_GATEWAY.b(WorldGenEndGatewayConfiguration.a()).a(this.d, this.d.getChunkProvider().getChunkGenerator(), new Random(), blockposition); // CraftBukkit - decompile error } private void a(boolean flag) { @@ -388,7 +388,7 @@ } } - worldgenendtrophy.b((WorldGenFeatureConfiguration) WorldGenFeatureConfiguration.e).a(this.d, this.d.getChunkProvider().getChunkGenerator(), new Random(), this.o); + worldgenendtrophy.b(WorldGenFeatureConfiguration.e).a(this.d, this.d.getChunkProvider().getChunkGenerator(), new Random(), this.o); // CraftBukkit - decompile error } private EntityEnderDragon o() {