Class AdvancementRoot
java.lang.Object
net.minestom.server.advancements.Advancement
net.minestom.server.advancements.AdvancementRoot
Represents an
Advancement which is the root of an AdvancementTab.
Every tab requires one since advancements needs to be linked to a parent.
The difference between this and an Advancement is that the root is responsible for the tab background.
-
Field Summary
Fields inherited from class Advancement
tab -
Constructor Summary
ConstructorsConstructorDescriptionAdvancementRoot(Component title, Component description, ItemStack icon, FrameType frameType, float x, float y, @Nullable String background) AdvancementRoot(Component title, Component description, Material icon, FrameType frameType, float x, float y, @Nullable String background) -
Method Summary
Methods inherited from class Advancement
getDescription, getFrameType, getIcon, getIdentifier, getParent, getTab, getTitle, getUpdatePacket, getX, getY, hasToast, isAchieved, isHidden, setAchieved, setBackground, setDescription, setFrameType, setHidden, setIcon, setIdentifier, setParent, setTab, setTitle, setX, setY, showToast, toDisplayData, toMapping, toProgressMapping, update, updateCriteria
-
Constructor Details
-
AdvancementRoot
-
AdvancementRoot
-