net.minecraft.network.protocol.game

public class ClientboundSetEquipmentPacket

implements Packet<ClientGamePacketListener>

age
net.minecraft.network.protocol.game.ClientboundSetEquipmentPacket
net.minecraft.class_2744
net.minecraft.network.packet.s2c.play.EntityEquipmentUpdateS2CPacket
net.minecraft.network.protocol.game.PacketPlayOutEntityEquipment

Field summary

Modifier and TypeField
public static final StreamCodec<RegistryFriendlyByteBuf, ClientboundSetEquipmentPacket>
a
STREAM_CODEC
field_47982
CODEC
private static final byte
b
CONTINUE_MASK
field_33342
field_33342
private final int
c
entity
field_12565
entityId
private final List<com.mojang.datafixers.util.Pair<EquipmentSlot, ItemStack>>
d
slots
field_25721
equipmentList

Constructor summary

ModifierConstructor
public (int entityId, List<com.mojang.datafixers.util.Pair<EquipmentSlot, ItemStack>> equipmentList)
private (RegistryFriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
private void
a(xg arg0)
write(RegistryFriendlyByteBuf arg0)
method_55929(class_9129 arg0)
write(RegistryByteBuf buf)
public PacketType<ClientboundSetEquipmentPacket>
a()
type()
method_55846()
getPacketId()
public void
a(acr arg0)
handle(ClientGamePacketListener arg0)
method_11823(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
public int
b()
getEntity()
method_11820()
getEntityId()
public List<com.mojang.datafixers.util.Pair<EquipmentSlot, ItemStack>>
e()
getSlots()
method_30145()
getEquipmentList()