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
official aav
intermediary net/minecraft/class_2779
named net/minecraft/network/packet/s2c/play/AdvancementUpdateS2CPacket
  • Field Details

    • clearCurrent

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

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

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

      private final Map<Identifier,AdvancementProgress> toSetProgress
      Mappings:
      Namespace Name Mixin selector
      official d Laav;d:Ljava/util/Map;
      intermediary field_12716 Lnet/minecraft/class_2779;field_12716:Ljava/util/Map;
      named toSetProgress Lnet/minecraft/network/packet/s2c/play/AdvancementUpdateS2CPacket;toSetProgress: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
      official <init> Laav;<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
      named <init> Lnet/minecraft/network/packet/s2c/play/AdvancementUpdateS2CPacket;<init>(ZLjava/util/Collection;Ljava/util/Set;Ljava/util/Map;)V
    • AdvancementUpdateS2CPacket

      public AdvancementUpdateS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laav;<init>(Lso;)V
      intermediary <init> Lnet/minecraft/class_2779;<init>(Lnet/minecraft/class_2540;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/AdvancementUpdateS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
  • Method Details

    • write

      public void write(PacketByteBuf buf)
      Specified by:
      write in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lvd;a(Lso;)V
      intermediary method_11052 Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
      named write Lnet/minecraft/network/packet/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
    • apply

      public void apply(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Laav;a(Lww;)V
      intermediary method_11925 Lnet/minecraft/class_2779;method_11925(Lnet/minecraft/class_2602;)V
      named apply Lnet/minecraft/network/packet/s2c/play/AdvancementUpdateS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
    • getAdvancementsToEarn

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

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

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

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