Class VisibilityAdvancementsPacket

java.lang.Object
eu.endercentral.crazy_advancements.packet.AdvancementsPacket
eu.endercentral.crazy_advancements.packet.VisibilityAdvancementsPacket

public class VisibilityAdvancementsPacket extends AdvancementsPacket
Represents an Advancement Packet which respects Advancement Visibility
Author:
Axel
  • 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 Player
      reset - Whether the Client will clear the Advancement Screen before adding the Advancements
      advancements - A list of advancements that should be added to the Advancement Screen
      removedAdvancements - A list of NameKeys which should be removed from the Advancement Screen