Interface JoinArenaSignBlock
- All Superinterfaces:
Metadatable
,PersistentStorage.Holder
,SpecialBlock
A sign which makes the player join the arena once he interacts with it
-
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the arena or arena picker to which the player will be addeddefault void
Set the new arena to which the player shall be added once he interacts with the blockvoid
setArenaName
(String name) Set the new arena or arena picker to which shall be added once he interacts with the blockMethods inherited from interface org.bukkit.metadata.Metadatable
getMetadata, hasMetadata, removeMetadata, setMetadata
Methods inherited from interface de.marcely.bedwars.tools.PersistentStorage.Holder
getPersistentStorage
Methods inherited from interface de.marcely.bedwars.api.world.block.SpecialBlock
asBukkit, asBukkitAsync, exists, getType, getWorld, getX, getY, getZ, onInteract, remove, update
-
Method Details
-
getArenaName
String getArenaName()Returns the name of the arena or arena picker to which the player will be added- Returns:
- The name of the arena that this block represents
-
setArenaName
Set the new arena or arena picker to which shall be added once he interacts with the block- Parameters:
name
- The new arena name
-
setArena
Set the new arena to which the player shall be added once he interacts with the block- Parameters:
arena
- The new arena
-