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
Modifier and TypeFieldDescriptionprivate final int
static final StreamCodec
<FriendlyByteBuf, ClientboundSetCarriedItemPacket> -
Constructor Summary
ModifierConstructorDescriptionClientboundSetCarriedItemPacket
(int p_133072_) private
ClientboundSetCarriedItemPacket
(FriendlyByteBuf p_179280_) -
Method Summary
Modifier and TypeMethodDescriptionint
getSlot()
void
handle
(ClientGamePacketListener p_133078_) type()
private 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, isTerminal
-
Field Details
-
STREAM_CODEC
-
slot
private final int slot
-
-
Constructor Details
-
ClientboundSetCarriedItemPacket
public ClientboundSetCarriedItemPacket(int p_133072_) -
ClientboundSetCarriedItemPacket
-
-
Method Details
-
write
-
type
- Specified by:
type
in interfacePacket<ClientGamePacketListener>
-
handle
- Specified by:
handle
in interfacePacket<ClientGamePacketListener>
-
getSlot
public int getSlot()
-