--- a/net/minecraft/world/level/GeneratorAccess.java +++ b/net/minecraft/world/level/GeneratorAccess.java @@ -35,11 +35,11 @@ LevelTickAccess getBlockTicks(); - private default NextTickListEntry createTick(BlockPosition blockposition, T t0, int i, TickListPriority ticklistpriority) { + default NextTickListEntry createTick(BlockPosition blockposition, T t0, int i, TickListPriority ticklistpriority) { // CraftBukkit - decompile error return new NextTickListEntry<>(t0, blockposition, this.getLevelData().getGameTime() + (long) i, ticklistpriority, this.nextSubTickCount()); } - private default NextTickListEntry createTick(BlockPosition blockposition, T t0, int i) { + default NextTickListEntry createTick(BlockPosition blockposition, T t0, int i) { // CraftBukkit - decompile error return new NextTickListEntry<>(t0, blockposition, this.getLevelData().getGameTime() + (long) i, this.nextSubTickCount()); } @@ -114,4 +114,6 @@ default void gameEvent(GameEvent gameevent, BlockPosition blockposition, GameEvent.a gameevent_a) { this.gameEvent(gameevent, Vec3D.atCenterOf(blockposition), gameevent_a); } + + net.minecraft.server.level.WorldServer getMinecraftWorld(); // CraftBukkit }