Update for NeoForge 1.21.2

This commit is contained in:
shedaniel
2024-10-23 02:13:36 +08:00
parent b6299b2867
commit 2a31c75f7d
29 changed files with 330 additions and 246 deletions

View File

@@ -229,10 +229,10 @@ public class DebugEvents {
LightningEvent.STRIKE.register((bolt, level, pos, toStrike) -> {
TestMod.SINK.accept(bolt.getScoreboardName() + " struck at " + toShortString(pos) + logSide(level));
});
ChunkEvent.LOAD_DATA.register((chunk, level) -> {
ChunkEvent.LOAD_DATA.register((chunk, level, data) -> {
// TestMod.SINK.accept("Chunk loaded at x=" + chunk.getPos().x + ", z=" + chunk.getPos().z + " in dimension '" + level.dimension().location() + "'");
});
ChunkEvent.SAVE_DATA.register((chunk, level) -> {
ChunkEvent.SAVE_DATA.register((chunk, level, data) -> {
// TestMod.SINK.accept("Chunk saved at x=" + chunk.getPos().x + ", z=" + chunk.getPos().z + " in dimension '" + level.dimension().location() + "'");
});
}