Class SetTradeOffersS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.SetTradeOffersS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name named net/minecraft/network/packet/s2c/play/SetTradeOffersS2CPacket
intermediary net/minecraft/class_3943
official adm
-
Field Summary
Modifier and TypeFieldDescriptionstatic final PacketCodec
<RegistryByteBuf, SetTradeOffersS2CPacket> private final int
private final boolean
private final int
private final TradeOfferList
private final boolean
private final int
-
Constructor Summary
ModifierConstructorDescriptionSetTradeOffersS2CPacket
(int syncId, TradeOfferList offers, int levelProgress, int experience, boolean leveled, boolean refreshable) private
-
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ClientPlayPacketListener clientPlayPacketListener) int
int
int
boolean
boolean
private void
write
(RegistryByteBuf buf) 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.packet.Packet
isWritingErrorSkippable, transitionsNetworkState
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/network/packet/s2c/play/SetTradeOffersS2CPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
intermediary field_47939
Lnet/minecraft/class_3943;field_47939:Lnet/minecraft/class_9139;
official a
Ladm;a:Lyw;
-
syncId
private final int syncId- Mappings:
Namespace Name Mixin selector named syncId
Lnet/minecraft/network/packet/s2c/play/SetTradeOffersS2CPacket;syncId:I
intermediary field_17434
Lnet/minecraft/class_3943;field_17434:I
official b
Ladm;b:I
-
offers
- Mappings:
Namespace Name Mixin selector named offers
Lnet/minecraft/network/packet/s2c/play/SetTradeOffersS2CPacket;offers:Lnet/minecraft/village/TradeOfferList;
intermediary field_17435
Lnet/minecraft/class_3943;field_17435:Lnet/minecraft/class_1916;
official c
Ladm;c:Ldbt;
-
levelProgress
private final int levelProgress- Mappings:
Namespace Name Mixin selector named levelProgress
Lnet/minecraft/network/packet/s2c/play/SetTradeOffersS2CPacket;levelProgress:I
intermediary field_18801
Lnet/minecraft/class_3943;field_18801:I
official d
Ladm;d:I
-
experience
private final int experience- Mappings:
Namespace Name Mixin selector named experience
Lnet/minecraft/network/packet/s2c/play/SetTradeOffersS2CPacket;experience:I
intermediary field_18802
Lnet/minecraft/class_3943;field_18802:I
official e
Ladm;e:I
-
leveled
private final boolean leveled- Mappings:
Namespace Name Mixin selector named leveled
Lnet/minecraft/network/packet/s2c/play/SetTradeOffersS2CPacket;leveled:Z
intermediary field_18803
Lnet/minecraft/class_3943;field_18803:Z
official f
Ladm;f:Z
-
refreshable
private final boolean refreshable- Mappings:
Namespace Name Mixin selector named refreshable
Lnet/minecraft/network/packet/s2c/play/SetTradeOffersS2CPacket;refreshable:Z
intermediary field_19376
Lnet/minecraft/class_3943;field_19376:Z
official g
Ladm;g:Z
-
-
Constructor Details
-
SetTradeOffersS2CPacket
public SetTradeOffersS2CPacket(int syncId, TradeOfferList offers, int levelProgress, int experience, boolean leveled, boolean refreshable) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/network/packet/s2c/play/SetTradeOffersS2CPacket;<init>(ILnet/minecraft/village/TradeOfferList;IIZZ)V
intermediary <init>
Lnet/minecraft/class_3943;<init>(ILnet/minecraft/class_1916;IIZZ)V
official <init>
Ladm;<init>(ILdbt;IIZZ)V
-
SetTradeOffersS2CPacket
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/network/packet/s2c/play/SetTradeOffersS2CPacket;<init>(Lnet/minecraft/network/RegistryByteBuf;)V
intermediary <init>
Lnet/minecraft/class_3943;<init>(Lnet/minecraft/class_9129;)V
official <init>
Ladm;<init>(Lwj;)V
-
-
Method Details
-
write
- Mappings:
Namespace Name Mixin selector named write
Lnet/minecraft/network/packet/s2c/play/SetTradeOffersS2CPacket;write(Lnet/minecraft/network/RegistryByteBuf;)V
intermediary method_55889
Lnet/minecraft/class_3943;method_55889(Lnet/minecraft/class_9129;)V
official a
Ladm;a(Lwj;)V
-
getPacketId
- Specified by:
getPacketId
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector named getPacketId
Lnet/minecraft/network/packet/Packet;getPacketId()Lnet/minecraft/network/packet/PacketType;
intermediary method_55846
Lnet/minecraft/class_2596;method_55846()Lnet/minecraft/class_9145;
official a
Lzf;a()Lzh;
-
apply
- Specified by:
apply
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector named apply
Lnet/minecraft/network/packet/s2c/play/SetTradeOffersS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
intermediary method_17588
Lnet/minecraft/class_3943;method_17588(Lnet/minecraft/class_2602;)V
official a
Ladm;a(Labt;)V
-
getSyncId
public int getSyncId()- Mappings:
Namespace Name Mixin selector named getSyncId
Lnet/minecraft/network/packet/s2c/play/SetTradeOffersS2CPacket;getSyncId()I
intermediary method_17589
Lnet/minecraft/class_3943;method_17589()I
official b
Ladm;b()I
-
getOffers
- Mappings:
Namespace Name Mixin selector named getOffers
Lnet/minecraft/network/packet/s2c/play/SetTradeOffersS2CPacket;getOffers()Lnet/minecraft/village/TradeOfferList;
intermediary method_17590
Lnet/minecraft/class_3943;method_17590()Lnet/minecraft/class_1916;
official e
Ladm;e()Ldbt;
-
getLevelProgress
public int getLevelProgress()- Mappings:
Namespace Name Mixin selector named getLevelProgress
Lnet/minecraft/network/packet/s2c/play/SetTradeOffersS2CPacket;getLevelProgress()I
intermediary method_19458
Lnet/minecraft/class_3943;method_19458()I
official f
Ladm;f()I
-
getExperience
public int getExperience()- Mappings:
Namespace Name Mixin selector named getExperience
Lnet/minecraft/network/packet/s2c/play/SetTradeOffersS2CPacket;getExperience()I
intermediary method_19459
Lnet/minecraft/class_3943;method_19459()I
official g
Ladm;g()I
-
isLeveled
public boolean isLeveled()- Mappings:
Namespace Name Mixin selector named isLeveled
Lnet/minecraft/network/packet/s2c/play/SetTradeOffersS2CPacket;isLeveled()Z
intermediary method_19460
Lnet/minecraft/class_3943;method_19460()Z
official h
Ladm;h()Z
-
isRefreshable
public boolean isRefreshable()- Mappings:
Namespace Name Mixin selector named isRefreshable
Lnet/minecraft/network/packet/s2c/play/SetTradeOffersS2CPacket;isRefreshable()Z
intermediary method_20722
Lnet/minecraft/class_3943;method_20722()Z
official i
Ladm;i()Z
-