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

    • clearCurrent

      private boolean clearCurrent
      Mappings:
      Namespace Name Mixin selector
      official a Lsl;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 Map<Identifier,​Advancement.Task> toEarn
      Mappings:
      Namespace Name Mixin selector
      official b Lsl;b:Ljava/util/Map;
      intermediary field_12717 Lnet/minecraft/class_2779;field_12717:Ljava/util/Map;
      named toEarn Lnet/minecraft/network/packet/s2c/play/AdvancementUpdateS2CPacket;toEarn:Ljava/util/Map;
    • toRemove

      private Set<Identifier> toRemove
      Mappings:
      Namespace Name Mixin selector
      official c Lsl;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 Map<Identifier,​AdvancementProgress> toSetProgress
      Mappings:
      Namespace Name Mixin selector
      official d Lsl;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()
    • AdvancementUpdateS2CPacket

      public AdvancementUpdateS2CPacket​(boolean clearCurrent, Collection<Advancement> toEarn, Set<Identifier> toRemove, Map<Identifier,​AdvancementProgress> toSetProgress)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lsl;<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
  • Method Details

    • apply

      public void apply​(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lsl;a(Lpd;)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
    • read

      public void read​(PacketByteBuf buf) throws IOException
      Specified by:
      read in interface Packet<ClientPlayPacketListener>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lpa;a(Lnw;)V
      intermediary method_11053 Lnet/minecraft/class_2596;method_11053(Lnet/minecraft/class_2540;)V
      named read Lnet/minecraft/network/Packet;read(Lnet/minecraft/network/PacketByteBuf;)V
    • write

      public void write​(PacketByteBuf buf) throws IOException
      Specified by:
      write in interface Packet<ClientPlayPacketListener>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official b Lpa;b(Lnw;)V
      intermediary method_11052 Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
      named write Lnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
    • getAdvancementsToEarn

      @Environment(CLIENT) public Map<Identifier,​Advancement.Task> getAdvancementsToEarn()
      Mappings:
      Namespace Name Mixin selector
      official b Lsl;b()Ljava/util/Map;
      intermediary method_11928 Lnet/minecraft/class_2779;method_11928()Ljava/util/Map;
      named getAdvancementsToEarn Lnet/minecraft/network/packet/s2c/play/AdvancementUpdateS2CPacket;getAdvancementsToEarn()Ljava/util/Map;
    • getAdvancementIdsToRemove

      @Environment(CLIENT) public Set<Identifier> getAdvancementIdsToRemove()
      Mappings:
      Namespace Name Mixin selector
      official c Lsl;c()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

      @Environment(CLIENT) public Map<Identifier,​AdvancementProgress> getAdvancementsToProgress()
      Mappings:
      Namespace Name Mixin selector
      official d Lsl;d()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

      @Environment(CLIENT) public boolean shouldClearCurrent()
      Mappings:
      Namespace Name Mixin selector
      official e Lsl;e()Z
      intermediary method_11924 Lnet/minecraft/class_2779;method_11924()Z
      named shouldClearCurrent Lnet/minecraft/network/packet/s2c/play/AdvancementUpdateS2CPacket;shouldClearCurrent()Z