net.minecraft.network.protocol.game

public class ClientboundMerchantOffersPacket

implements Packet<ClientGamePacketListener>

adf
net.minecraft.network.protocol.game.ClientboundMerchantOffersPacket
net.minecraft.class_3943
net.minecraft.unmapped.C_grshpcjy
net.minecraft.network.packet.s2c.play.SetTradeOffersS2CPacket
net.minecraft.network.packet.s2c.play.TradeOffersUpdateS2CPacket
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
f_bahqqlkf
CODEC
CODEC
f_315243_
private final int
b
containerId
field_17434
f_wcunqlfi
syncId
syncId
f_132448_
private final MerchantOffers
c
offers
field_17435
f_mbrdfexa
offers
recipes
f_132449_
private final int
d
villagerLevel
field_18801
f_tptpntfp
levelProgress
levelProgress
f_132450_
private final int
e
villagerXp
field_18802
f_ecyhynzj
experience
experience
f_132451_
private final boolean
f
showProgress
field_18803
f_axrnwtyu
leveled
leveled
f_132452_
private final boolean
g
canRestock
field_19376
f_hugzyynq
refreshable
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(wa arg0)
write(RegistryFriendlyByteBuf arg0)
method_55889(class_9129 arg0)
m_sqtrqaoy(C_bngyzsts arg0)
write(RegistryByteBuf buf)
write(RegistryByteBuf buf)
m_132469_(C_313350_ arg0)
public PacketType<ClientboundMerchantOffersPacket>
a()
type()
method_65080()
m_bbocywrf()
getPacketType()
getType()
m_5779_()
public void
a(abl arg0)
handle(ClientGamePacketListener arg0)
method_17588(class_2602 arg0)
m_sxhrgjoq(C_rbfddnlp arg0)
apply(ClientPlayPacketListener arg0)
apply(ClientPlayPacketListener arg0)
m_5797_(C_5031_ arg0)
public int
b()
getContainerId()
method_17589()
m_oeeogpdf()
getSyncId()
getSyncId()
m_132468_()
public MerchantOffers
e()
getOffers()
method_17590()
m_tzdcbduj()
getOffers()
getOffers()
m_132471_()
public int
f()
getVillagerLevel()
method_19458()
m_mhltsbcj()
getLevelProgress()
getLevelProgress()
m_132472_()
public int
g()
getVillagerXp()
method_19459()
m_gjuyadej()
getExperience()
getExperience()
m_132473_()
public boolean
h()
showProgress()
method_19460()
m_udoaemee()
isLeveled()
isLeveled()
m_132474_()
public boolean
i()
canRestock()
method_20722()
m_ztnymyqf()
isRefreshable()
isRefreshable()
m_132475_()