Class ServerboundContainerButtonClickPacket
java.lang.Object
net.minecraft.network.protocol.game.ServerboundContainerButtonClickPacket
- All Implemented Interfaces:
 Packet<ServerGamePacketListener>
public class ServerboundContainerButtonClickPacket
extends Object
implements Packet<ServerGamePacketListener>
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionintintvoidhandle(ServerGamePacketListener p_133934_) voidwrite(FriendlyByteBuf p_133937_) 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 - 
buttonId
private final int buttonId 
 - 
 - 
Constructor Details
- 
ServerboundContainerButtonClickPacket
public ServerboundContainerButtonClickPacket(int p_133927_, int p_133928_)  - 
ServerboundContainerButtonClickPacket
 
 - 
 - 
Method Details
- 
handle
- Specified by:
 handlein interfacePacket<ServerGamePacketListener>
 - 
write
- Specified by:
 writein interfacePacket<ServerGamePacketListener>
 - 
getContainerId
public int getContainerId() - 
getButtonId
public int getButtonId() 
 -