Class ServerboundSetCreativeModeSlotPacket
java.lang.Object
net.minecraft.network.protocol.game.ServerboundSetCreativeModeSlotPacket
- All Implemented Interfaces:
Packet<ServerGamePacketListener>
public class ServerboundSetCreativeModeSlotPacket
extends Object
implements Packet<ServerGamePacketListener>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetItem()
int
void
handle
(ServerGamePacketListener p_134560_) void
write
(FriendlyByteBuf p_134563_) 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, nextProtocol
-
Field Details
-
slotNum
private final int slotNum -
itemStack
-
-
Constructor Details
-
ServerboundSetCreativeModeSlotPacket
-
ServerboundSetCreativeModeSlotPacket
-
-
Method Details
-
handle
- Specified by:
handle
in interfacePacket<ServerGamePacketListener>
-
write
- Specified by:
write
in interfacePacket<ServerGamePacketListener>
-
getSlotNum
public int getSlotNum() -
getItem
-