aboutsummaryrefslogtreecommitdiffhomepage
path: root/patch-remap/og/net/minecraft/world/level/GeneratorAccess.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patch-remap/og/net/minecraft/world/level/GeneratorAccess.patch')
-rw-r--r--patch-remap/og/net/minecraft/world/level/GeneratorAccess.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/patch-remap/og/net/minecraft/world/level/GeneratorAccess.patch b/patch-remap/og/net/minecraft/world/level/GeneratorAccess.patch
new file mode 100644
index 0000000000..70019a1569
--- /dev/null
+++ b/patch-remap/og/net/minecraft/world/level/GeneratorAccess.patch
@@ -0,0 +1,23 @@
+--- a/net/minecraft/world/level/GeneratorAccess.java
++++ b/net/minecraft/world/level/GeneratorAccess.java
+@@ -35,11 +35,11 @@
+
+ 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
+ return new NextTickListEntry<>(t0, blockposition, this.getLevelData().getGameTime() + (long) i, ticklistpriority, this.nextSubTickCount());
+ }
+
+- 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
+ 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
+ }