net.minecraft.network.packet.s2c.play

public class EntityEquipmentUpdateS2CPacket

implements Packet<ClientPlayPacketListener>

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

Field summary

Modifier and TypeField
public static final PacketCodec<RegistryByteBuf, EntityEquipmentUpdateS2CPacket>
STREAM_CODEC
field_47982
CODEC
private static final byte
CONTINUE_MASK
field_33342
field_33342
private final int
entity
field_12565
entityId
private final List<com.mojang.datafixers.util.Pair<EquipmentSlot, ItemStack>>
slots
field_25721
equipmentList

Constructor summary

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

Method summary

Modifier and TypeMethod
private void
write(RegistryFriendlyByteBuf output)
method_55929(class_9129 arg0)
write(RegistryByteBuf buf)
public PacketType<EntityEquipmentUpdateS2CPacket>
type()
method_65080()
getPacketType()
public void
handle(ClientGamePacketListener listener)
method_11823(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
public int
getEntity()
method_11820()
getEntityId()
public List<com.mojang.datafixers.util.Pair<EquipmentSlot, ItemStack>>
getSlots()
method_30145()
getEquipmentList()
public void
handle(PacketListener listener)
method_65081(class_2547 arg0)
apply(PacketListener arg0)