Class AdvancementUpdateS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.AdvancementUpdateS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name named net/minecraft/network/packet/s2c/play/AdvancementUpdateS2CPacket
intermediary net/minecraft/class_2779
official afy
-
Field Summary
Modifier and TypeFieldDescriptionprivate final boolean
static final PacketCodec
<RegistryByteBuf, AdvancementUpdateS2CPacket> private final List
<AdvancementEntry> private final Set
<Identifier> private final Map
<Identifier, AdvancementProgress> -
Constructor Summary
ModifierConstructorDescriptionAdvancementUpdateS2CPacket
(boolean clearCurrent, Collection<AdvancementEntry> toEarn, Set<Identifier> toRemove, Map<Identifier, AdvancementProgress> toSetProgress) private
-
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ClientPlayPacketListener clientPlayPacketListener) boolean
private void
write
(RegistryByteBuf buf) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.packet.Packet
isWritingErrorSkippable, transitionsNetworkState
-
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
Lafy;a:Lyw;
-
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
Lafy;b:Z
-
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
Lafy;c:Ljava/util/List;
-
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
Lafy;d:Ljava/util/Set;
-
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
Lafy;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>
Lafy;<init>(ZLjava/util/Collection;Ljava/util/Set;Ljava/util/Map;)V
-
AdvancementUpdateS2CPacket
- 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>
Lafy;<init>(Lwj;)V
-
-
Method Details
-
write
- 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
Lafy;a(Lwj;)V
-
getPacketId
- Specified by:
getPacketId
in interfacePacket<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
Lzf;a()Lzh;
-
apply
- Specified by:
apply
in interfacePacket<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
Lafy;a(Labt;)V
-
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
Lafy;b()Ljava/util/List;
-
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
Lafy;e()Ljava/util/Set;
-
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
Lafy;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
Lafy;g()Z
-