Class TerminalStorageIngredientPartOpenPacket
java.lang.Object
org.cyclops.cyclopscore.network.PacketBase
org.cyclops.cyclopscore.network.PacketCodec
org.cyclops.integratedterminals.network.packet.TerminalStorageIngredientPartOpenPacket
public class TerminalStorageIngredientPartOpenPacket
extends org.cyclops.cyclopscore.network.PacketCodec
Packet for telling the server that the storage terminal gui should be opened on a specific tab.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.cyclops.cyclopscore.network.PacketCodec
org.cyclops.cyclopscore.network.PacketCodec.ICodecAction, org.cyclops.cyclopscore.network.PacketCodec.ICodecRunnable -
Field Summary
Fields inherited from class org.cyclops.cyclopscore.network.PacketCodec
fieldCache, READ_STRING_MAX_LENGTH -
Constructor Summary
ConstructorsConstructorDescriptionTerminalStorageIngredientPartOpenPacket(net.minecraft.core.BlockPos pos, net.minecraft.core.Direction side, String tabName, int channel) -
Method Summary
Modifier and TypeMethodDescriptionvoidactionClient(net.minecraft.world.level.Level world, net.minecraft.world.entity.player.Player player) voidactionServer(net.minecraft.world.level.Level world, net.minecraft.server.level.ServerPlayer player) booleanisAsync()static voidopenServer(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.core.Direction side, net.minecraft.server.level.ServerPlayer player, String tabName, int channel) static voidsend(net.minecraft.core.BlockPos pos, net.minecraft.core.Direction side, String tabName, int channel) Methods inherited from class org.cyclops.cyclopscore.network.PacketCodec
addCodedAction, decode, encode, getAction, getActionSuper, read, write
-
Constructor Details
-
TerminalStorageIngredientPartOpenPacket
public TerminalStorageIngredientPartOpenPacket() -
TerminalStorageIngredientPartOpenPacket
public TerminalStorageIngredientPartOpenPacket(net.minecraft.core.BlockPos pos, net.minecraft.core.Direction side, String tabName, int channel)
-
-
Method Details
-
isAsync
public boolean isAsync()- Specified by:
isAsyncin classorg.cyclops.cyclopscore.network.PacketBase
-
actionClient
public void actionClient(net.minecraft.world.level.Level world, net.minecraft.world.entity.player.Player player) - Specified by:
actionClientin classorg.cyclops.cyclopscore.network.PacketBase
-
actionServer
public void actionServer(net.minecraft.world.level.Level world, net.minecraft.server.level.ServerPlayer player) - Specified by:
actionServerin classorg.cyclops.cyclopscore.network.PacketBase
-
openServer
public static void openServer(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.core.Direction side, net.minecraft.server.level.ServerPlayer player, String tabName, int channel) -
send
public static void send(net.minecraft.core.BlockPos pos, net.minecraft.core.Direction side, String tabName, int channel)
-