类 ServerboundContainerButtonClickPacket
java.lang.Object
net.minecraft.network.protocol.game.ServerboundContainerButtonClickPacket
- 所有已实现的接口:
Packet<ServerGamePacketListener>
public class ServerboundContainerButtonClickPacket
extends Object
implements Packet<ServerGamePacketListener>
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明int
int
void
handle
(ServerGamePacketListener pHandler) void
write
(FriendlyByteBuf pBuffer) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.network.protocol.Packet
isSkippable
-
字段详细资料
-
containerId
private final int containerId -
buttonId
private final int buttonId
-
-
构造器详细资料
-
ServerboundContainerButtonClickPacket
public ServerboundContainerButtonClickPacket(int pContainerId, int pButtonId) -
ServerboundContainerButtonClickPacket
-
-
方法详细资料
-
handle
- 指定者:
handle
在接口中Packet<ServerGamePacketListener>
-
write
- 指定者:
write
在接口中Packet<ServerGamePacketListener>
-
getContainerId
public int getContainerId() -
getButtonId
public int getButtonId()
-