Class ClientboundSetCarriedItemPacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundSetCarriedItemPacket
- All Implemented Interfaces:
Packet<ClientGamePacketListener>
public class ClientboundSetCarriedItemPacket
extends Object
implements Packet<ClientGamePacketListener>
-
Field Summary
-
Constructor Summary
ConstructorDescriptionClientboundSetCarriedItemPacket
(int p_133072_) ClientboundSetCarriedItemPacket
(FriendlyByteBuf p_179280_) -
Method Summary
Modifier and TypeMethodDescriptionint
getSlot()
void
handle
(ClientGamePacketListener p_133078_) void
write
(FriendlyByteBuf p_133081_) 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
-
slot
private final int slot
-
-
Constructor Details
-
ClientboundSetCarriedItemPacket
public ClientboundSetCarriedItemPacket(int p_133072_) -
ClientboundSetCarriedItemPacket
-
-
Method Details
-
write
- Specified by:
write
in interfacePacket<ClientGamePacketListener>
-
handle
- Specified by:
handle
in interfacePacket<ClientGamePacketListener>
-
getSlot
public int getSlot()
-