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 agn
  • 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 Lagn;a:Lzn;
    • 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 Lagn;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 Lagn;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 Lagn;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 Lagn;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> Lagn;<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> Lagn;<init>(Lxa;)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 Lagn;a(Lxa;)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 Lzw;a()Lzy;
    • 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 Lagn;a(Laci;)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 Lagn;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 Lagn;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 Lagn;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 Lagn;g()Z