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 Summary
Fields Modifier and Type Field Description private boolean
clearCurrent
private Map<Identifier,Advancement.Task>
toEarn
private Set<Identifier>
toRemove
private Map<Identifier,AdvancementProgress>
toSetProgress
-
Constructor Summary
Constructors Constructor Description AdvancementUpdateS2CPacket()
AdvancementUpdateS2CPacket(boolean clearCurrent, Collection<Advancement> toEarn, Set<Identifier> toRemove, Map<Identifier,AdvancementProgress> toSetProgress)
-
Method Summary
Modifier and Type Method Description void
apply(ClientPlayPacketListener clientPlayPacketListener)
Set<Identifier>
getAdvancementIdsToRemove()
Map<Identifier,Advancement.Task>
getAdvancementsToEarn()
Map<Identifier,AdvancementProgress>
getAdvancementsToProgress()
void
read(PacketByteBuf buf)
boolean
shouldClearCurrent()
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 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
- 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
- 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
- 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
- Specified by:
apply
in interfacePacket<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
- Specified by:
read
in interfacePacket<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
- Specified by:
write
in interfacePacket<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
- 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
- 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
- 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
- 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
-