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