Interface AdvancementTreeEvent.GenerateLayout
-
- All Superinterfaces:
AdvancementTreeEvent
,Event
- Enclosing interface:
- AdvancementTreeEvent
public static interface AdvancementTreeEvent.GenerateLayout extends AdvancementTreeEvent
Is called when the layout of aAdvancementTree
gets updated, this is done after the vanilla game generates the layout. You can safely move elements in theTreeLayout
within this event.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.spongepowered.api.event.advancement.AdvancementTreeEvent
AdvancementTreeEvent.GenerateLayout
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TreeLayout
layout()
Gets theTreeLayout
that got generated.-
Methods inherited from interface org.spongepowered.api.event.advancement.AdvancementTreeEvent
tree
-
-
-
-
Method Detail
-
layout
TreeLayout layout()
Gets theTreeLayout
that got generated.- Returns:
- The tree layout
-
-