Class AdvancementUpdateS2CPacket

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

public class AdvancementUpdateS2CPacket extends Object implements Packet<ClientPlayPacketListener>
Mappings:
Namespace Name
named net/minecraft/network/packet/s2c/play/AdvancementUpdateS2CPacket
intermediary net/minecraft/class_2779
official afs
  • Field Details

    • CODEC

      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/network/packet/s2c/play/AdvancementUpdateS2CPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_48007 Lnet/minecraft/class_2779;field_48007:Lnet/minecraft/class_9139;
      official a Lafs;a:Lys;
    • clearCurrent

      private final boolean clearCurrent
      Mappings:
      Namespace Name Mixin selector
      named clearCurrent Lnet/minecraft/network/packet/s2c/play/AdvancementUpdateS2CPacket;clearCurrent:Z
      intermediary field_12718 Lnet/minecraft/class_2779;field_12718:Z
      official b Lafs;b:Z
    • toEarn

      private final List<AdvancementEntry> toEarn
      Mappings:
      Namespace Name Mixin selector
      named toEarn Lnet/minecraft/network/packet/s2c/play/AdvancementUpdateS2CPacket;toEarn:Ljava/util/List;
      intermediary field_12717 Lnet/minecraft/class_2779;field_12717:Ljava/util/List;
      official c Lafs;c:Ljava/util/List;
    • toRemove

      private final Set<Identifier> toRemove
      Mappings:
      Namespace Name Mixin selector
      named toRemove Lnet/minecraft/network/packet/s2c/play/AdvancementUpdateS2CPacket;toRemove:Ljava/util/Set;
      intermediary field_12715 Lnet/minecraft/class_2779;field_12715:Ljava/util/Set;
      official d Lafs;d:Ljava/util/Set;
    • toSetProgress

      private final Map<Identifier,AdvancementProgress> toSetProgress
      Mappings:
      Namespace Name Mixin selector
      named toSetProgress Lnet/minecraft/network/packet/s2c/play/AdvancementUpdateS2CPacket;toSetProgress:Ljava/util/Map;
      intermediary field_12716 Lnet/minecraft/class_2779;field_12716:Ljava/util/Map;
      official e Lafs;e:Ljava/util/Map;
  • Constructor Details

    • AdvancementUpdateS2CPacket

      public AdvancementUpdateS2CPacket(boolean clearCurrent, Collection<AdvancementEntry> toEarn, Set<Identifier> toRemove, Map<Identifier,AdvancementProgress> toSetProgress)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/play/AdvancementUpdateS2CPacket;<init>(ZLjava/util/Collection;Ljava/util/Set;Ljava/util/Map;)V
      intermediary <init> Lnet/minecraft/class_2779;<init>(ZLjava/util/Collection;Ljava/util/Set;Ljava/util/Map;)V
      official <init> Lafs;<init>(ZLjava/util/Collection;Ljava/util/Set;Ljava/util/Map;)V
    • AdvancementUpdateS2CPacket

      private AdvancementUpdateS2CPacket(RegistryByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/play/AdvancementUpdateS2CPacket;<init>(Lnet/minecraft/network/RegistryByteBuf;)V
      intermediary <init> Lnet/minecraft/class_2779;<init>(Lnet/minecraft/class_9129;)V
      official <init> Lafs;<init>(Lwf;)V
  • Method Details

    • write

      private void write(RegistryByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named write Lnet/minecraft/network/packet/s2c/play/AdvancementUpdateS2CPacket;write(Lnet/minecraft/network/RegistryByteBuf;)V
      intermediary method_55952 Lnet/minecraft/class_2779;method_55952(Lnet/minecraft/class_9129;)V
      official a Lafs;a(Lwf;)V
    • getPacketId

      public PacketType<AdvancementUpdateS2CPacket> 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 Lzb;a()Lzd;
    • 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/AdvancementUpdateS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
      intermediary method_11925 Lnet/minecraft/class_2779;method_11925(Lnet/minecraft/class_2602;)V
      official a Lafs;a(Labn;)V
    • getAdvancementsToEarn

      public List<AdvancementEntry> getAdvancementsToEarn()
      Mappings:
      Namespace Name Mixin selector
      named getAdvancementsToEarn Lnet/minecraft/network/packet/s2c/play/AdvancementUpdateS2CPacket;getAdvancementsToEarn()Ljava/util/List;
      intermediary method_11928 Lnet/minecraft/class_2779;method_11928()Ljava/util/List;
      official b Lafs;b()Ljava/util/List;
    • getAdvancementIdsToRemove

      public Set<Identifier> getAdvancementIdsToRemove()
      Mappings:
      Namespace Name Mixin selector
      named getAdvancementIdsToRemove Lnet/minecraft/network/packet/s2c/play/AdvancementUpdateS2CPacket;getAdvancementIdsToRemove()Ljava/util/Set;
      intermediary method_11926 Lnet/minecraft/class_2779;method_11926()Ljava/util/Set;
      official e Lafs;e()Ljava/util/Set;
    • getAdvancementsToProgress

      public Map<Identifier,AdvancementProgress> getAdvancementsToProgress()
      Mappings:
      Namespace Name Mixin selector
      named getAdvancementsToProgress Lnet/minecraft/network/packet/s2c/play/AdvancementUpdateS2CPacket;getAdvancementsToProgress()Ljava/util/Map;
      intermediary method_11927 Lnet/minecraft/class_2779;method_11927()Ljava/util/Map;
      official f Lafs;f()Ljava/util/Map;
    • shouldClearCurrent

      public boolean shouldClearCurrent()
      Mappings:
      Namespace Name Mixin selector
      named shouldClearCurrent Lnet/minecraft/network/packet/s2c/play/AdvancementUpdateS2CPacket;shouldClearCurrent()Z
      intermediary method_11924 Lnet/minecraft/class_2779;method_11924()Z
      official g Lafs;g()Z