Class ClientboundSetEquipmentPacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundSetEquipmentPacket
- All Implemented Interfaces:
Packet<ClientGamePacketListener>
public class ClientboundSetEquipmentPacket
extends Object
implements Packet<ClientGamePacketListener>
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final byte
private final int
private final List
<com.mojang.datafixers.util.Pair<EquipmentSlot, ItemStack>> static final StreamCodec
<RegistryFriendlyByteBuf, ClientboundSetEquipmentPacket> -
Constructor Summary
ModifierConstructorDescriptionClientboundSetEquipmentPacket
(int p_133202_, List<com.mojang.datafixers.util.Pair<EquipmentSlot, ItemStack>> p_133203_) private
-
Method Summary
Modifier and TypeMethodDescriptionint
List
<com.mojang.datafixers.util.Pair<EquipmentSlot, ItemStack>> getSlots()
void
handle
(ClientGamePacketListener p_133209_) type()
private void
write
(RegistryFriendlyByteBuf p_320609_) 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
-
CONTINUE_MASK
private static final byte CONTINUE_MASK- See Also:
-
entity
private final int entity -
slots
-
-
Constructor Details
-
ClientboundSetEquipmentPacket
public ClientboundSetEquipmentPacket(int p_133202_, List<com.mojang.datafixers.util.Pair<EquipmentSlot, ItemStack>> p_133203_) -
ClientboundSetEquipmentPacket
-
-
Method Details
-
write
-
type
- Specified by:
type
in interfacePacket<ClientGamePacketListener>
-
handle
- Specified by:
handle
in interfacePacket<ClientGamePacketListener>
-
getEntity
public int getEntity() -
getSlots
-