Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-21 05:50:05 +01:00
34 Zeilen
1.7 KiB
Diff
34 Zeilen
1.7 KiB
Diff
|
--- a/net/minecraft/server/EnderDragonBattle.java
|
||
|
+++ b/net/minecraft/server/EnderDragonBattle.java
|
||
|
@@ -245,7 +245,7 @@
|
||
|
}
|
||
|
|
||
|
@Nullable
|
||
|
- private ShapeDetector.ShapeDetectorCollection j() {
|
||
|
+ public ShapeDetector.ShapeDetectorCollection j() { // PAIL private -> public, rename getExitPortalShape()
|
||
|
int i;
|
||
|
int j;
|
||
|
|
||
|
@@ -376,10 +376,10 @@
|
||
|
|
||
|
private void a(BlockPosition blockposition) {
|
||
|
this.world.triggerEffect(3000, blockposition, 0);
|
||
|
- WorldGenerator.END_GATEWAY.b((WorldGenFeatureConfiguration) WorldGenEndGatewayConfiguration.a()).a(this.world, this.world.getStructureManager(), this.world.getChunkProvider().getChunkGenerator(), new Random(), blockposition);
|
||
|
+ WorldGenerator.END_GATEWAY.b(WorldGenEndGatewayConfiguration.a()).a(this.world, this.world.getStructureManager(), this.world.getChunkProvider().getChunkGenerator(), new Random(), blockposition); // CraftBukkit - decompile error
|
||
|
}
|
||
|
|
||
|
- private void a(boolean flag) {
|
||
|
+ public void a(boolean flag) { // PAIL private -> public, rename generateExitPortal()
|
||
|
WorldGenEndTrophy worldgenendtrophy = new WorldGenEndTrophy(flag);
|
||
|
|
||
|
if (this.exitPortalLocation == null) {
|
||
|
@@ -388,7 +388,7 @@
|
||
|
}
|
||
|
}
|
||
|
|
||
|
- worldgenendtrophy.b((WorldGenFeatureConfiguration) WorldGenFeatureConfiguration.k).a(this.world, this.world.getStructureManager(), this.world.getChunkProvider().getChunkGenerator(), new Random(), this.exitPortalLocation);
|
||
|
+ worldgenendtrophy.b(WorldGenFeatureConfiguration.k).a(this.world, this.world.getStructureManager(), this.world.getChunkProvider().getChunkGenerator(), new Random(), this.exitPortalLocation); // CraftBukkit - decompile error
|
||
|
}
|
||
|
|
||
|
private EntityEnderDragon o() {
|