Class VisibilityAdvancementsPacket
java.lang.Object
eu.endercentral.crazy_advancements.packet.AdvancementsPacket
eu.endercentral.crazy_advancements.packet.VisibilityAdvancementsPacket
Represents an Advancement Packet which respects Advancement Visibility
- Author:
- Axel
-
Constructor Summary
ConstructorDescriptionVisibilityAdvancementsPacket
(Player player, boolean reset, List<Advancement> advancements, List<NameKey> removedAdvancements) Constructor for creating Advancement Packets that respect Advancement Visiblity -
Method Summary
Methods inherited from class eu.endercentral.crazy_advancements.packet.AdvancementsPacket
build, getAdvancements, getPlayer, getRemovedAdvancements, isReset, send
-
Constructor Details
-
VisibilityAdvancementsPacket
public VisibilityAdvancementsPacket(Player player, boolean reset, List<Advancement> advancements, List<NameKey> removedAdvancements) Constructor for creating Advancement Packets that respect Advancement Visiblity- Parameters:
player
- The target Playerreset
- Whether the Client will clear the Advancement Screen before adding the Advancementsadvancements
- A list of advancements that should be added to the Advancement ScreenremovedAdvancements
- A list of NameKeys which should be removed from the Advancement Screen
-