net.minecraft.network.protocol.game

public class ClientboundMerchantOffersPacket

implements Packet<ClientGamePacketListener>

pz
net.minecraft.network.protocol.game.ClientboundMerchantOffersPacket
net.minecraft.class_3943
net.minecraft.network.packet.s2c.play.SetTradeOffersS2CPacket
net.minecraft.network.play.server.SMerchantOffersPacket
net.minecraft.server.v1_16_R2.PacketPlayOutOpenWindowMerchant

Field summary

Modifier and TypeField
private int
a
containerId
field_17434
syncId
field_218736_a
private MerchantOffers
b
offers
field_17435
recipes
field_218737_b
private int
c
villagerLevel
field_18801
levelProgress
field_218738_c
private int
d
villagerXp
field_18802
experience
field_218739_d
private boolean
e
showProgress
field_18803
leveled
field_218740_e
private boolean
f
canRestock
field_19376
refreshable
field_223478_f

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(nf arg0)
read(FriendlyByteBuf arg0)
method_11053(class_2540 arg0)
read(PacketByteBuf arg0)
func_148837_a(PacketBuffer arg0)
public void
b(nf arg0)
write(FriendlyByteBuf arg0)
method_11052(class_2540 arg0)
write(PacketByteBuf arg0)
func_148840_b(PacketBuffer arg0)
public void
a(om arg0)
handle(ClientGamePacketListener arg0)
method_17588(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
func_148833_a(IClientPlayNetHandler arg0)
public int
b()
getContainerId()
method_17589()
getSyncId()
func_218732_b()
public MerchantOffers
c()
getOffers()
method_17590()
getOffers()
func_218733_c()
public int
d()
getVillagerLevel()
method_19458()
getLevelProgress()
func_218731_d()
public int
e()
getVillagerXp()
method_19459()
getExperience()
func_218734_e()
public boolean
f()
showProgress()
method_19460()
isLeveled()
func_218735_f()
public boolean
g()
canRestock()
method_20722()
isRefreshable()
func_223477_g()