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 xf
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 Lxf;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 Map<Identifier,Advancement.Builder> toEarn
      Mappings:
      Namespace Name Mixin selector
      official b Lxf;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 final Set<Identifier> toRemove
      Mappings:
      Namespace Name Mixin selector
      official c Lxf;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 Lxf;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<Advancement> toEarn, Set<Identifier> toRemove, Map<Identifier,AdvancementProgress> toSetProgress)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lxf;<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> Lxf;<init>(Lqx;)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 Ltc;a(Lqx;)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
    • apply

      public void apply(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lxf;a(Ltf;)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 Map<Identifier,Advancement.Builder> getAdvancementsToEarn()
      Mappings:
      Namespace Name Mixin selector
      official b Lxf;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

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

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

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