Rocket landing pad block. Added comments. Adjusted rocket values

This commit is contained in:
XevianLight
2026-01-26 21:31:03 -07:00
parent 5e512cae1c
commit f3bd3f891a
59 changed files with 392 additions and 85 deletions

View File

@@ -0,0 +1,16 @@
package net.xevianlight.aphelion.network;
import net.neoforged.neoforge.network.handling.IPayloadContext;
import net.xevianlight.aphelion.Aphelion;
import net.xevianlight.aphelion.client.PartitionClientState;
import net.xevianlight.aphelion.network.packet.PartitionPayload;
// Handle packets TO the client FROM the server
public class PartitionPayloadHandler {
public static void handleDataOnMain(PartitionPayload data, IPayloadContext context) {
// Set our local partition state to the packet we just received.
PartitionClientState.set(data);
Aphelion.LOGGER.info("Partition packet received! id={}", data.id());
}
}