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 voidSet the new arena to which the player shall be added once he interacts with the blockvoidsetArenaName(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, setMetadataMethods inherited from interface de.marcely.bedwars.tools.PersistentStorage.Holder
getPersistentStorageMethods 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
-