Class ClientboundContainerSetContentPacketWindow
java.lang.Object
org.cyclops.cyclopscore.network.PacketBase
org.cyclops.cyclopscore.network.PacketCodec
org.cyclops.colossalchests.network.packet.ClientboundContainerSetContentPacketWindow
public class ClientboundContainerSetContentPacketWindow
extends org.cyclops.cyclopscore.network.PacketCodec
Packet for sending fragmented window items as an alternative to
ClientboundContainerSetContentPacket.-
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
ConstructorsConstructorDescriptionClientboundContainerSetContentPacketWindow(int windowId, int stateId, net.minecraft.nbt.CompoundTag itemStacks) -
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()protected voidputStacksInSlotsWithOffset(net.minecraft.world.inventory.AbstractContainerMenu container) Methods inherited from class org.cyclops.cyclopscore.network.PacketCodec
addCodedAction, decode, encode, getAction, getActionSuper, read, write
-
Constructor Details
-
ClientboundContainerSetContentPacketWindow
public ClientboundContainerSetContentPacketWindow() -
ClientboundContainerSetContentPacketWindow
public ClientboundContainerSetContentPacketWindow(int windowId, int stateId, net.minecraft.nbt.CompoundTag itemStacks)
-
-
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
-
putStacksInSlotsWithOffset
protected void putStacksInSlotsWithOffset(net.minecraft.world.inventory.AbstractContainerMenu container) -
actionServer
public void actionServer(net.minecraft.world.level.Level world, net.minecraft.server.level.ServerPlayer player) - Specified by:
actionServerin classorg.cyclops.cyclopscore.network.PacketBase
-