Class SMerchantOffersPacket
java.lang.Object
net.minecraft.network.play.server.SMerchantOffersPacket
- All Implemented Interfaces:
IPacket<IClientPlayNetHandler>
-
Field Summary
Modifier and TypeFieldDescriptionprivate boolean
private int
private MerchantOffers
private boolean
private int
private int
-
Constructor Summary
ConstructorDescriptionSMerchantOffersPacket
(int p_i51539_1_, MerchantOffers p_i51539_2_, int p_i51539_3_, int p_i51539_4_, boolean p_i51539_5_, boolean p_i51539_6_) -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
int
int
void
handle
(IClientPlayNetHandler p_148833_1_) void
read
(PacketBuffer p_148837_1_) boolean
void
write
(PacketBuffer p_148840_1_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.IPacket
isSkippable
-
Field Details
-
containerId
private int containerId -
offers
-
villagerLevel
private int villagerLevel -
villagerXp
private int villagerXp -
showProgress
private boolean showProgress -
canRestock
private boolean canRestock
-
-
Constructor Details
-
SMerchantOffersPacket
public SMerchantOffersPacket() -
SMerchantOffersPacket
public SMerchantOffersPacket(int p_i51539_1_, MerchantOffers p_i51539_2_, int p_i51539_3_, int p_i51539_4_, boolean p_i51539_5_, boolean p_i51539_6_)
-
-
Method Details
-
read
- Specified by:
read
in interfaceIPacket<IClientPlayNetHandler>
- Throws:
IOException
-
write
- Specified by:
write
in interfaceIPacket<IClientPlayNetHandler>
- Throws:
IOException
-
handle
- Specified by:
handle
in interfaceIPacket<IClientPlayNetHandler>
-
getContainerId
public int getContainerId() -
getOffers
-
getVillagerLevel
public int getVillagerLevel() -
getVillagerXp
public int getVillagerXp() -
showProgress
public boolean showProgress() -
canRestock
public boolean canRestock()
-