Class ServerboundPickItemPacket
java.lang.Object
net.minecraft.network.protocol.game.ServerboundPickItemPacket
- All Implemented Interfaces:
Packet<ServerGamePacketListener>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intstatic final StreamCodec<FriendlyByteBuf, ServerboundPickItemPacket> -
Constructor Summary
ConstructorsModifierConstructorDescriptionServerboundPickItemPacket(int p_134225_) privateServerboundPickItemPacket(FriendlyByteBuf p_179704_) -
Method Summary
Modifier and TypeMethodDescriptionintgetSlot()voidhandle(ServerGamePacketListener p_134231_) type()private voidwrite(FriendlyByteBuf p_134234_) 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, isTerminal
-
Field Details
-
STREAM_CODEC
-
slot
private final int slot
-
-
Constructor Details
-
ServerboundPickItemPacket
public ServerboundPickItemPacket(int p_134225_) -
ServerboundPickItemPacket
-
-
Method Details
-
write
-
type
- Specified by:
typein interfacePacket<ServerGamePacketListener>
-
handle
- Specified by:
handlein interfacePacket<ServerGamePacketListener>
-
getSlot
public int getSlot()
-