public class Chair extends Object implements org.bukkit.event.Listener
Modifier and Type | Class and Description |
---|---|
class |
Chair.ChairChecker |
Modifier and Type | Field and Description |
---|---|
ConcurrentHashMap<String,org.bukkit.block.Block> |
chairs |
Constructor and Description |
---|
Chair() |
Modifier and Type | Method and Description |
---|---|
void |
addChair(org.bukkit.entity.Player player,
org.bukkit.block.Block block) |
org.bukkit.block.Block |
getChair(org.bukkit.entity.Player player) |
boolean |
hasChair(org.bukkit.block.Block player) |
boolean |
hasChair(org.bukkit.entity.Player player) |
void |
onBlockBreak(org.bukkit.event.block.BlockBreakEvent event) |
void |
onRightClick(org.bukkit.event.player.PlayerInteractEvent event) |
void |
removeChair(org.bukkit.entity.Player player) |
public ConcurrentHashMap<String,org.bukkit.block.Block> chairs
public void addChair(org.bukkit.entity.Player player, org.bukkit.block.Block block)
public void removeChair(org.bukkit.entity.Player player)
public org.bukkit.block.Block getChair(org.bukkit.entity.Player player)
public boolean hasChair(org.bukkit.entity.Player player)
public boolean hasChair(org.bukkit.block.Block player)
public void onBlockBreak(org.bukkit.event.block.BlockBreakEvent event)
public void onRightClick(org.bukkit.event.player.PlayerInteractEvent event)
Copyright © 2013. All Rights Reserved.