Class SetTradeOffersS2CPacket

java.lang.Object
net.minecraft.network.packet.s2c.play.SetTradeOffersS2CPacket
All Implemented Interfaces:
Packet<ClientPlayPacketListener>

public class SetTradeOffersS2CPacket extends Object implements Packet<ClientPlayPacketListener>
Mappings:
Namespace Name
named net/minecraft/network/packet/s2c/play/SetTradeOffersS2CPacket
intermediary net/minecraft/class_3943
official ael
  • 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 Lael;a:Lzt;
    • 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 Lael;b:I
    • offers

      private final TradeOfferList 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 Lael;c:Ldgf;
    • 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 Lael;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 Lael;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 Lael;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 Lael;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> Lael;<init>(ILdgf;IIZZ)V
    • SetTradeOffersS2CPacket

      private SetTradeOffersS2CPacket(RegistryByteBuf buf)
      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> Lael;<init>(Lxg;)V
  • Method Details

    • write

      private void write(RegistryByteBuf buf)
      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 Lael;a(Lxg;)V
    • getPacketId

      public PacketType<SetTradeOffersS2CPacket> getPacketId()
      Specified by:
      getPacketId in interface Packet<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 Laac;a()Laae;
    • apply

      public void apply(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<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 Lael;a(Lacr;)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 Lael;b()I
    • getOffers

      public TradeOfferList 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 Lael;e()Ldgf;
    • 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 Lael;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 Lael;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 Lael;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 Lael;i()Z