3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-11-14 20:10:05 +01:00

Bump Starlight light version

Dieser Commit ist enthalten in:
Nassim Jahnke 2021-12-08 08:42:44 +01:00
Ursprung 772e880f29
Commit 33ea869a65
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 6BE3B555EBC5982B

Datei anzeigen

@ -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";