Bump Starlight light version

This commit is contained in:
Nassim Jahnke 2021-12-08 08:42:44 +01:00
parent 772e880f29
commit 33ea869a65
No known key found for this signature in database
GPG Key ID: 6BE3B555EBC5982B

View File

@ -5008,7 +5008,7 @@ index 0dfa51c8826b9e984586a3e4e050a50a4fbb1bd3..e947a47dd8c6906bc36eca757c4b9f9f
this.fluidTicks = fluidTickScheduler;
}
diff --git a/src/main/java/net/minecraft/world/level/chunk/storage/ChunkSerializer.java b/src/main/java/net/minecraft/world/level/chunk/storage/ChunkSerializer.java
index cf042295fe250d74c67a04f8f0d2b233860d4d1d..e54376b463b017d5e371f8d3204a37993b0e78e7 100644
index cf042295fe250d74c67a04f8f0d2b233860d4d1d..2ade441dc4456d1670a81a3f58d4aa54d2888c19 100644
--- a/src/main/java/net/minecraft/world/level/chunk/storage/ChunkSerializer.java
+++ b/src/main/java/net/minecraft/world/level/chunk/storage/ChunkSerializer.java
@@ -79,6 +79,14 @@ public class ChunkSerializer {
@ -5016,7 +5016,7 @@ index cf042295fe250d74c67a04f8f0d2b233860d4d1d..e54376b463b017d5e371f8d3204a3799
private static final String FLUID_TICKS_TAG = "fluid_ticks";
+ // Paper start - replace light engine impl
+ private static final int STARLIGHT_LIGHT_VERSION = 6;
+ private static final int STARLIGHT_LIGHT_VERSION = 7;
+
+ private static final String BLOCKLIGHT_STATE_TAG = "starlight.blocklight_state";
+ private static final String SKYLIGHT_STATE_TAG = "starlight.skylight_state";