net.minecraft.network.protocol.game

public class ClientboundMerchantOffersPacket

implements Packet<ClientGamePacketListener>

adn
net.minecraft.network.protocol.game.ClientboundMerchantOffersPacket
net.minecraft.class_3943
net.minecraft.network.packet.s2c.play.SetTradeOffersS2CPacket
net.minecraft.src.C_5076_
net.minecraft.network.protocol.game.PacketPlayOutOpenWindowMerchant

Field summary

Modifier and TypeField
public static final StreamCodec<RegistryFriendlyByteBuf, ClientboundMerchantOffersPacket>
a
STREAM_CODEC
field_47939
CODEC
f_315243_
private final int
b
containerId
field_17434
syncId
f_132448_
private final MerchantOffers
c
offers
field_17435
offers
f_132449_
private final int
d
villagerLevel
field_18801
levelProgress
f_132450_
private final int
e
villagerXp
field_18802
experience
f_132451_
private final boolean
f
showProgress
field_18803
leveled
f_132452_
private final boolean
g
canRestock
field_19376
refreshable
f_132453_

Constructor summary

ModifierConstructor
public (int syncId, MerchantOffers offers, int levelProgress, int experience, boolean leveled, boolean refreshable)
private (RegistryFriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
private void
a(wk arg0)
write(RegistryFriendlyByteBuf arg0)
method_55889(class_9129 arg0)
write(RegistryByteBuf buf)
m_132469_(C_313350_ arg0)
public PacketType<ClientboundMerchantOffersPacket>
a()
type()
method_55846()
getPacketId()
m_5779_()
public void
a(abu arg0)
handle(ClientGamePacketListener arg0)
method_17588(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
m_5797_(C_5031_ arg0)
public int
b()
getContainerId()
method_17589()
getSyncId()
m_132468_()
public MerchantOffers
e()
getOffers()
method_17590()
getOffers()
m_132471_()
public int
f()
getVillagerLevel()
method_19458()
getLevelProgress()
m_132472_()
public int
g()
getVillagerXp()
method_19459()
getExperience()
m_132473_()
public boolean
h()
showProgress()
method_19460()
isLeveled()
m_132474_()
public boolean
i()
canRestock()
method_20722()
isRefreshable()
m_132475_()