net.minecraft.network.protocol.game

public class ServerboundSelectTradePacket

implements Packet<ServerGamePacketListener>

aih
net.minecraft.network.protocol.game.ServerboundSelectTradePacket
net.minecraft.class_2863
net.minecraft.network.packet.c2s.play.SelectMerchantTradeC2SPacket
net.minecraft.src.C_5187_
net.minecraft.network.protocol.game.PacketPlayInTrSel

Field summary

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

Constructor summary

ModifierConstructor
public (int tradeId)
private (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
private void
a(wm arg0)
write(FriendlyByteBuf arg0)
method_55995(class_2540 arg0)
write(PacketByteBuf buf)
m_134470_(C_4983_ arg0)
public PacketType<ServerboundSelectTradePacket>
a()
type()
method_55846()
getPacketId()
m_5779_()
public void
a(agw arg0)
handle(ServerGamePacketListener arg0)
method_12430(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
m_5797_(C_5145_ arg0)
public int
b()
getItem()
method_12431()
getTradeId()
m_134469_()