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
-
Constructor Summary
ConstructorDescriptionServerboundContainerButtonClickPacket(int p_133927_, int p_133928_)
ServerboundContainerButtonClickPacket(FriendlyByteBuf p_179567_)
-
Method Summary
Modifier and TypeMethodDescriptionint
int
void
handle(ServerGamePacketListener p_133934_)
void
write(FriendlyByteBuf p_133937_)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.protocol.Packet
isSkippable
-
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:
handle
in interfacePacket<ServerGamePacketListener>
-
write
- Specified by:
write
in interfacePacket<ServerGamePacketListener>
-
getContainerId
public int getContainerId() -
getButtonId
public int getButtonId()
-