Class ClientboundUpdateAdvancementsPacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundUpdateAdvancementsPacket
- All Implemented Interfaces:
Packet<ClientGamePacketListener>
public class ClientboundUpdateAdvancementsPacket
extends Object
implements Packet<ClientGamePacketListener>
-
Field Summary
Modifier and TypeFieldDescriptionprivate final List<AdvancementHolder>
private final Map<ResourceLocation,
AdvancementProgress> private final Set<ResourceLocation>
private final boolean
-
Constructor Summary
ConstructorDescriptionClientboundUpdateAdvancementsPacket
(boolean p_133560_, Collection<AdvancementHolder> p_133561_, Set<ResourceLocation> p_133562_, Map<ResourceLocation, AdvancementProgress> p_133563_) -
Method Summary
Modifier and TypeMethodDescriptiongetAdded()
void
handle
(ClientGamePacketListener p_133569_) boolean
void
write
(FriendlyByteBuf p_133572_) 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.protocol.Packet
isSkippable, nextProtocol
-
Field Details
-
reset
private final boolean reset -
added
-
removed
-
progress
-
-
Constructor Details
-
ClientboundUpdateAdvancementsPacket
public ClientboundUpdateAdvancementsPacket(boolean p_133560_, Collection<AdvancementHolder> p_133561_, Set<ResourceLocation> p_133562_, Map<ResourceLocation, AdvancementProgress> p_133563_) -
ClientboundUpdateAdvancementsPacket
-
-
Method Details
-
write
- Specified by:
write
in interfacePacket<ClientGamePacketListener>
-
handle
- Specified by:
handle
in interfacePacket<ClientGamePacketListener>
-
getAdded
-
getRemoved
-
getProgress
-
shouldReset
public boolean shouldReset()
-