Merge branch 'minecraft-lod-mod-main'

This commit is contained in:
James Seibel
2023-07-11 18:52:11 -05:00
20 changed files with 145 additions and 239 deletions
@@ -1,6 +1,5 @@
package com.seibel.distanthorizons.forge;
import com.seibel.distanthorizons.common.networking.Networking;
import com.seibel.distanthorizons.common.wrappers.chunk.ChunkWrapper;
import com.seibel.distanthorizons.common.wrappers.world.ServerLevelWrapper;
import com.seibel.distanthorizons.common.wrappers.worldGeneration.BatchGenerationEnvironment;
@@ -145,14 +144,4 @@ public class ForgeServerProxy
}
}
}
// This just exists here for testing purposes, it'll be removed in the future
public void tester(MinecraftServer server) {
for (ServerPlayer player : server.getPlayerList().getPlayers()) {
FriendlyByteBuf payload = Networking.createNew();
payload.writeInt(1);
System.out.println("Sending int 1");
Networking.send(player, payload);
}
}
}