net.minecraft.network.protocol.game

public record ClientboundSetCursorItemPacket

implements Packet<ClientGamePacketListener>

afy
net.minecraft.network.protocol.game.ClientboundSetCursorItemPacket
net.minecraft.class_9834
net.minecraft.network.packet.s2c.play.SetCursorItemS2CPacket
net.minecraft.network.protocol.game.ClientboundSetCursorItemPacket

Field summary

Modifier and TypeField
private final ItemStack
b
contents
comp_2890
contents
public static final StreamCodec<RegistryFriendlyByteBuf, ClientboundSetCursorItemPacket>
a
STREAM_CODEC
field_52326
CODEC

Constructor summary

ModifierConstructor
public (ItemStack arg0)

Method summary

Modifier and TypeMethod
public PacketType<ClientboundSetCursorItemPacket>
a()
type()
method_55846()
getPacketId()
public void
a(acr arg0)
handle(ClientGamePacketListener arg0)
method_61216(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
public ItemStack
b()
contents()
comp_2890()
contents()