net.minecraft.network.protocol.game

public class ServerboundSelectTradePacket

implements Packet<ServerGamePacketListener>

aiz
net.minecraft.network.protocol.game.ServerboundSelectTradePacket
net.minecraft.class_2863
net.minecraft.network.packet.c2s.play.SelectMerchantTradeC2SPacket
net.minecraft.network.protocol.game.PacketPlayInTrSel

Field summary

Modifier and TypeField
public static final StreamCodec<FriendlyByteBuf, ServerboundSelectTradePacket>
a
STREAM_CODEC
field_48214
CODEC
private final int
b
item
field_13036
tradeId

Constructor summary

ModifierConstructor
public (int tradeId)
private (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
private void
a(ws arg0)
write(FriendlyByteBuf arg0)
method_55995(class_2540 arg0)
write(PacketByteBuf buf)
public PacketType<ServerboundSelectTradePacket>
a()
type()
method_55846()
getPacketId()
public void
a(ahm arg0)
handle(ServerGamePacketListener arg0)
method_12430(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
public int
b()
getItem()
method_12431()
getTradeId()