2021-03-15 23:00:00 +01:00
|
|
|
--- a/net/minecraft/world/level/GeneratorAccess.java
|
|
|
|
+++ b/net/minecraft/world/level/GeneratorAccess.java
|
2022-06-07 18:00:00 +02:00
|
|
|
@@ -35,11 +35,11 @@
|
2021-11-21 23:00:00 +01:00
|
|
|
|
|
|
|
LevelTickAccess<Block> getBlockTicks();
|
|
|
|
|
|
|
|
- private default <T> NextTickListEntry<T> createTick(BlockPosition blockposition, T t0, int i, TickListPriority ticklistpriority) {
|
|
|
|
+ default <T> NextTickListEntry<T> createTick(BlockPosition blockposition, T t0, int i, TickListPriority ticklistpriority) { // CraftBukkit - decompile error
|
2021-11-24 22:00:00 +01:00
|
|
|
return new NextTickListEntry<>(t0, blockposition, this.getLevelData().getGameTime() + (long) i, ticklistpriority, this.nextSubTickCount());
|
2021-11-21 23:00:00 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
- private default <T> NextTickListEntry<T> createTick(BlockPosition blockposition, T t0, int i) {
|
|
|
|
+ default <T> NextTickListEntry<T> createTick(BlockPosition blockposition, T t0, int i) { // CraftBukkit - decompile error
|
2021-11-24 22:00:00 +01:00
|
|
|
return new NextTickListEntry<>(t0, blockposition, this.getLevelData().getGameTime() + (long) i, this.nextSubTickCount());
|
2021-11-21 23:00:00 +01:00
|
|
|
}
|
|
|
|
|
2022-12-07 17:00:00 +01:00
|
|
|
@@ -114,4 +114,6 @@
|
2022-06-07 18:00:00 +02:00
|
|
|
default void gameEvent(GameEvent gameevent, BlockPosition blockposition, GameEvent.a gameevent_a) {
|
|
|
|
this.gameEvent(gameevent, Vec3D.atCenterOf(blockposition), gameevent_a);
|
2020-08-11 23:00:00 +02:00
|
|
|
}
|
|
|
|
+
|
2021-03-15 23:00:00 +01:00
|
|
|
+ net.minecraft.server.level.WorldServer getMinecraftWorld(); // CraftBukkit
|
2020-08-11 23:00:00 +02:00
|
|
|
}
|