net.minecraft.network.protocol.game

public class ClientboundUpdateAdvancementsPacket

implements Packet<ClientGamePacketListener>

afz
net.minecraft.network.protocol.game.ClientboundUpdateAdvancementsPacket
net.minecraft.class_2779
net.minecraft.network.packet.s2c.play.AdvancementUpdateS2CPacket
net.minecraft.src.C_5136_
net.minecraft.network.protocol.game.PacketPlayOutAdvancements

Field summary

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

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(wk arg0)
write(RegistryFriendlyByteBuf arg0)
method_55952(class_9129 arg0)
write(RegistryByteBuf buf)
m_133571_(C_313350_ arg0)
public PacketType<ClientboundUpdateAdvancementsPacket>
a()
type()
method_55846()
getPacketId()
m_5779_()
public void
a(abu arg0)
handle(ClientGamePacketListener arg0)
method_11925(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
m_5797_(C_5031_ arg0)
public List<AdvancementHolder>
b()
getAdded()
method_11928()
getAdvancementsToEarn()
m_133570_()
public Set<ResourceLocation>
e()
getRemoved()
method_11926()
getAdvancementIdsToRemove()
m_133573_()
public Map<ResourceLocation, AdvancementProgress>
f()
getProgress()
method_11927()
getAdvancementsToProgress()
m_133574_()
public boolean
g()
shouldReset()
method_11924()
shouldClearCurrent()
m_133575_()