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>> -
Constructor Summary
ConstructorDescriptionClientboundSetEquipmentPacket
(int p_133202_, List<com.mojang.datafixers.util.Pair<EquipmentSlot, ItemStack>> p_133203_) ClientboundSetEquipmentPacket
(FriendlyByteBuf p_179297_) -
Method Summary
Modifier and TypeMethodDescriptionint
List<com.mojang.datafixers.util.Pair<EquipmentSlot,
ItemStack>> getSlots()
void
handle
(ClientGamePacketListener p_133209_) void
write
(FriendlyByteBuf p_133212_) 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
-
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
- Specified by:
write
in interfacePacket<ClientGamePacketListener>
-
handle
- Specified by:
handle
in interfacePacket<ClientGamePacketListener>
-
getEntity
public int getEntity() -
getSlots
-