Interface ArenasGUIController
- All Superinterfaces:
- HologramController
Extending API if 
HologramControllerType.ARENASGUI_OPENER is used.
 
   Cast HologramEntity.getController() to this class to access the methods.
 
- 
Method SummaryModifier and TypeMethodDescription@Nullable LazyReference<ArenaConditionGroup> Get the condition that may optionally be used to limit the arenas shown in the GUI.Get the id of the arenasgui layout that will be opened when clicked on.getName()Get the name of the hologram that will be displayed above his head.voidsetArenasCondition(@Nullable ArenaConditionGroup condition) Set your own condition that may optionally be used to limit the arenas shown in the GUI.voidsetLayoutId(String layoutId) Set the id of the arenasgui layout that will be opened when clicked on.voidSet the name of the hologram that will be displayed above his head.Methods inherited from interface de.marcely.bedwars.api.world.hologram.HologramControllerapplyProperties, deserialize, getHologram, getType, handleInteract, isActive, serialize
- 
Method Details- 
getLayoutIdString getLayoutId()Get the id of the arenasgui layout that will be opened when clicked on.- Returns:
- The layout id opened when clicked
 
- 
setLayoutIdSet the id of the arenasgui layout that will be opened when clicked on.- Parameters:
- layoutId- The layout id opened when clicked
 
- 
getNameString getName()Get the name of the hologram that will be displayed above his head.- Returns:
- The name of the hologram
 
- 
setNameSet the name of the hologram that will be displayed above his head.Make sure to call HologramController.applyProperties()after changing the name to update the hologram.- Parameters:
- name- The name of the hologram
 
- 
getArenasConditionGet the condition that may optionally be used to limit the arenas shown in the GUI.It returns a LazyReference as the condition may only be loaded when needed, to give addons time to register their custom variables. - Returns:
- The condition used to limit the arenas shown in the GUI. May be nullif there is none
 
- 
setArenasConditionSet your own condition that may optionally be used to limit the arenas shown in the GUI.- Parameters:
- condition- The condition used to limit the arenas shown in the GUI. May be- nullif there is none
 
 
-