Package codechicken.chunkloader.network
Class ChickenChunksNetwork
java.lang.Object
codechicken.chunkloader.network.ChickenChunksNetwork
Created by covers1624 on 1/11/19.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final codechicken.lib.packet.StreamNetworkChannel.ClientPacketHandlestatic final codechicken.lib.packet.StreamNetworkChannelstatic final codechicken.lib.packet.StreamNetworkChannel.ClientPacketHandlestatic final codechicken.lib.packet.StreamNetworkChannel.ServerPacketHandlestatic final codechicken.lib.packet.StreamNetworkChannel.ClientPacketHandle -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidinit(net.neoforged.bus.api.IEventBus modBus, net.neoforged.fml.ModContainer container) static voidsendAddGuiWarning(net.minecraft.server.level.ServerPlayer player, net.minecraft.network.chat.Component component) static voidsendSetShape(TileChunkLoader tile, ChunkLoaderShape shape, int radius) static void
-
Field Details
-
CHANNEL
public static final codechicken.lib.packet.StreamNetworkChannel CHANNEL -
OPEN_LOADER_GUI
public static final codechicken.lib.packet.StreamNetworkChannel.ClientPacketHandle OPEN_LOADER_GUI -
TILE_UPDATE
public static final codechicken.lib.packet.StreamNetworkChannel.ClientPacketHandle TILE_UPDATE -
ADD_GUI_WARNING
public static final codechicken.lib.packet.StreamNetworkChannel.ClientPacketHandle ADD_GUI_WARNING -
SET_SHAPE
public static final codechicken.lib.packet.StreamNetworkChannel.ServerPacketHandle SET_SHAPE
-
-
Constructor Details
-
ChickenChunksNetwork
public ChickenChunksNetwork()
-
-
Method Details
-
init
public static void init(net.neoforged.bus.api.IEventBus modBus, net.neoforged.fml.ModContainer container) -
sendTileUpdate
-
sendAddGuiWarning
public static void sendAddGuiWarning(net.minecraft.server.level.ServerPlayer player, net.minecraft.network.chat.Component component) -
sendSetShape
-