net.minecraft.network.protocol.game

public class ClientboundUpdateAdvancementsPacket

implements Packet<ClientGamePacketListener>

afx
net.minecraft.network.protocol.game.ClientboundUpdateAdvancementsPacket
net.minecraft.class_2779
net.minecraft.network.packet.s2c.play.AdvancementUpdateS2CPacket
net.minecraft.network.protocol.game.PacketPlayOutAdvancements

Field summary

Modifier and TypeField
public static final StreamCodec<RegistryFriendlyByteBuf, ClientboundUpdateAdvancementsPacket>
a
STREAM_CODEC
field_48007
CODEC
private final boolean
b
reset
field_12718
clearCurrent
private final List<AdvancementHolder>
c
added
field_12717
toEarn
private final Set<ResourceLocation>
d
removed
field_12715
toRemove
private final Map<ResourceLocation, AdvancementProgress>
e
progress
field_12716
toSetProgress

Constructor summary

ModifierConstructor
public (boolean clearCurrent, Collection<AdvancementHolder> toEarn, Set<ResourceLocation> toRemove, Map<ResourceLocation, AdvancementProgress> toSetProgress)
private (RegistryFriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
private void
a(wa arg0)
write(RegistryFriendlyByteBuf arg0)
method_55952(class_9129 arg0)
write(RegistryByteBuf buf)
public PacketType<ClientboundUpdateAdvancementsPacket>
a()
type()
method_65080()
getPacketType()
public void
a(abl arg0)
handle(ClientGamePacketListener arg0)
method_11925(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
public List<AdvancementHolder>
b()
getAdded()
method_11928()
getAdvancementsToEarn()
public Set<ResourceLocation>
e()
getRemoved()
method_11926()
getAdvancementIdsToRemove()
public Map<ResourceLocation, AdvancementProgress>
f()
getProgress()
method_11927()
getAdvancementsToProgress()
public boolean
g()
shouldReset()
method_11924()
shouldClearCurrent()