Class AdvancementUpdateS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.AdvancementUpdateS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official xf
intermediary net/minecraft/class_2779
named net/minecraft/network/packet/s2c/play/AdvancementUpdateS2CPacket
-
Field Summary
Modifier and TypeFieldDescriptionprivate final boolean
private final Map<Identifier,
Advancement.Builder> private final Set<Identifier>
private final Map<Identifier,
AdvancementProgress> -
Constructor Summary
ConstructorDescriptionAdvancementUpdateS2CPacket
(boolean clearCurrent, Collection<Advancement> toEarn, Set<Identifier> toRemove, Map<Identifier, AdvancementProgress> toSetProgress) -
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ClientPlayPacketListener clientPlayPacketListener) boolean
void
write
(PacketByteBuf 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
isWritingErrorSkippable
-
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
- 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
- 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
- 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
- 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
- Specified by:
write
in interfacePacket<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
- Specified by:
apply
in interfacePacket<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
- 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
- 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
- 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
-