Class ClientboundContainerSetContentPacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundContainerSetContentPacket
- All Implemented Interfaces:
 Packet<ClientGamePacketListener>
public class ClientboundContainerSetContentPacket
extends Object
implements Packet<ClientGamePacketListener>
- 
Field Summary
Fields - 
Constructor Summary
ConstructorsConstructorDescriptionClientboundContainerSetContentPacket(int p_182704_, int p_182705_, NonNullList<ItemStack> p_182706_, ItemStack p_182707_)  - 
Method Summary
Modifier and TypeMethodDescriptionintgetItems()intvoidhandle(ClientGamePacketListener p_131953_) voidwrite(FriendlyByteBuf p_131956_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.protocol.Packet
isSkippable, nextProtocol 
- 
Field Details
- 
containerId
private final int containerId - 
stateId
private final int stateId - 
items
 - 
carriedItem
 
 - 
 - 
Constructor Details
- 
ClientboundContainerSetContentPacket
public ClientboundContainerSetContentPacket(int p_182704_, int p_182705_, NonNullList<ItemStack> p_182706_, ItemStack p_182707_)  - 
ClientboundContainerSetContentPacket
 
 - 
 - 
Method Details
- 
write
- Specified by:
 writein interfacePacket<ClientGamePacketListener>
 - 
handle
- Specified by:
 handlein interfacePacket<ClientGamePacketListener>
 - 
getContainerId
public int getContainerId() - 
getItems
 - 
getCarriedItem
 - 
getStateId
public int getStateId() 
 -