net.minecraft.network.protocol.game

public class ClientboundMerchantOffersPacket

implements Packet<ClientGamePacketListener>

wx
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
private final int
a
containerId
field_17434
syncId
f_132448_
private final MerchantOffers
b
offers
field_17435
recipes
f_132449_
private final int
c
villagerLevel
field_18801
levelProgress
f_132450_
private final int
d
villagerXp
field_18802
experience
f_132451_
private final boolean
e
showProgress
field_18803
leveled
f_132452_
private final boolean
f
canRestock
field_19376
refreshable
f_132453_

Constructor summary

ModifierConstructor
public (int syncId, MerchantOffers recipes, int levelProgress, int experience, boolean leveled, boolean refreshable)
public (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
public void
a(ss arg0)
write(FriendlyByteBuf arg0)
method_11052(class_2540 arg0)
write(PacketByteBuf arg0)
m_5779_(C_4983_ arg0)
public void
a(ve arg0)
handle(ClientGamePacketListener arg0)
method_17588(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
m_5797_(C_5031_ arg0)
public int
a()
getContainerId()
method_17589()
getSyncId()
m_132468_()
public MerchantOffers
c()
getOffers()
method_17590()
getOffers()
m_132471_()
public int
d()
getVillagerLevel()
method_19458()
getLevelProgress()
m_132472_()
public int
e()
getVillagerXp()
method_19459()
getExperience()
m_132473_()
public boolean
f()
showProgress()
method_19460()
isLeveled()
m_132474_()
public boolean
g()
canRestock()
method_20722()
isRefreshable()
m_132475_()