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 Map<ResourceLocation,Advancement.Builder>
private Map<ResourceLocation,AdvancementProgress>
private Set<ResourceLocation>
private boolean
-
Constructor Summary
ConstructorDescriptionClientboundUpdateAdvancementsPacket(boolean p_133560_, Collection<Advancement> p_133561_, Set<ResourceLocation> p_133562_, Map<ResourceLocation,AdvancementProgress> p_133563_)
ClientboundUpdateAdvancementsPacket(FriendlyByteBuf p_179439_)
-
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
-
Field Details
-
reset
private final boolean reset -
added
-
removed
-
progress
-
-
Constructor Details
-
ClientboundUpdateAdvancementsPacket
public ClientboundUpdateAdvancementsPacket(boolean p_133560_, Collection<Advancement> 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()
-