net.minecraft.network.protocol.game

public record ServerboundSelectBundleItemPacket

implements Packet<ServerGamePacketListener>

ahu
net.minecraft.network.protocol.game.ServerboundSelectBundleItemPacket
net.minecraft.class_9837
net.minecraft.network.packet.c2s.play.BundleItemSelectedC2SPacket
net.minecraft.network.protocol.game.ServerboundSelectBundleItemPacket

Field summary

Modifier and TypeField
private final int
b
slotId
comp_2894
slotId
private final int
c
selectedItemIndex
comp_2895
selectedItemIndex
public static final StreamCodec<FriendlyByteBuf, ServerboundSelectBundleItemPacket>
a
STREAM_CODEC
field_52339
CODEC

Constructor summary

ModifierConstructor
private (FriendlyByteBuf buf)
public (int arg0, int arg1)

Method summary

Modifier and TypeMethod
private void
a(vl arg0)
write(FriendlyByteBuf arg0)
method_61228(class_2540 arg0)
write(PacketByteBuf buf)
public PacketType<ServerboundSelectBundleItemPacket>
a()
type()
method_65080()
getPacketType()
public void
a(agg arg0)
handle(ServerGamePacketListener arg0)
method_61227(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
public int
b()
slotId()
comp_2894()
slotId()
public int
e()
selectedItemIndex()
comp_2895()
selectedItemIndex()