A B C D E G H I K L M N P R S T U V W 
All Classes All Packages

A

ALLOWED_DISTANCE_TO_CHAIR - Static variable in class de.sprax2013.betterchairs.Settings
 
applyChairProtections(ArmorStand) - Static method in class de.sprax2013.betterchairs.ChairUtils
ArmorStand.hasGravity() = false ArmorStand.isVisible() = false LivingEntity.getRemoveWhenFarAway() = true Invulnerable = true DisabledSlots = 0b11111 (all)
applyRegeneration(HumanEntity, int) - Static method in class de.sprax2013.betterchairs.ChairUtils
 
armorStand - Variable in class de.sprax2013.betterchairs.Chair
 
AUTO_ROTATE_PLAYER - Static variable in class de.sprax2013.betterchairs.Settings
 

B

block - Variable in class de.sprax2013.betterchairs.Chair
 

C

Chair - Class in de.sprax2013.betterchairs
Holds a spawned chair
Instances of this class get disposed as soon the the player leaves the chair
CHAIR_ALLOW_AIR_BELOW - Static variable in class de.sprax2013.betterchairs.Settings
 
CHAIR_NEED_AIR_ABOVE - Static variable in class de.sprax2013.betterchairs.Settings
 
ChairManager - Class in de.sprax2013.betterchairs
This class should be instantiated as soon as possible inside JavaPlugin.onEnable() to ensure that other classes relying on it work as intended
ChairManager(JavaPlugin, ChairNMS) - Constructor for class de.sprax2013.betterchairs.ChairManager
 
chairNMS - Variable in class de.sprax2013.betterchairs.ChairManager
 
ChairNMS - Class in de.sprax2013.betterchairs
Provides abstraction to be used in maven modules with the specified spigot version

Why not just use the Fallback-ChairNMS in #onEnable()?
ChairNMS() - Constructor for class de.sprax2013.betterchairs.ChairNMS
 
chairs - Variable in class de.sprax2013.betterchairs.ChairManager
 
ChairType - Enum in de.sprax2013.betterchairs
 
ChairUtils - Class in de.sprax2013.betterchairs
This class provides utility methods intended to be used by BetterChairs's nms-classes
ConfigHelper - Class in de.sprax2013.betterchairs
 
create(Player, Block) - Method in class de.sprax2013.betterchairs.ChairManager
Check if a chair can be spawned and call an Event.
If the event doesn't get cancelled, the player should then be able to sit.
Ignores ChairManager.hasChairsDisabled(Player)
CURR_VERSION - Static variable in class de.sprax2013.betterchairs.Settings
 
CUSTOM - de.sprax2013.betterchairs.ChairType
 

D

de.sprax2013.betterchairs - package de.sprax2013.betterchairs
 
de.sprax2013.betterchairs.events - package de.sprax2013.betterchairs.events
 
destroy(Chair, boolean) - Method in class de.sprax2013.betterchairs.ChairManager
Calls ChairManager.destroy(Chair, boolean, boolean) with sameTickTeleport = false
destroy(Chair, boolean, boolean) - Method in class de.sprax2013.betterchairs.ChairManager
 
destroyAll(boolean) - Method in class de.sprax2013.betterchairs.ChairManager
 
destroyAll(boolean, boolean) - Method in class de.sprax2013.betterchairs.ChairManager
 
destroyOnNoPassenger() - Method in class de.sprax2013.betterchairs.Chair
Sometimes the EntityDismountEvent is not fired for ArmorStands (e.g.
disabled - Variable in class de.sprax2013.betterchairs.ChairManager
 
doUpgrade(String, File, YamlConfiguration) - Method in interface de.sprax2013.betterchairs.Settings.ConfigUpgradeTask
This method is called after a backup file has been created Returning false, indicates that the upgrade failed and that the current config should be replaced with the default one

E

ERR_ANOTHER_PLUGIN_PREVENTING_SPAWN - Static variable in class de.sprax2013.betterchairs.Messages
 
ERR_ASYNC_API_CALL - Static variable in class de.sprax2013.betterchairs.Messages
 
ERR_NOT_CUSTOM_ARMOR_STAND - Static variable in class de.sprax2013.betterchairs.Messages
 

G

getArmorStand() - Method in class de.sprax2013.betterchairs.Chair
 
getBlock() - Method in class de.sprax2013.betterchairs.Chair
 
getBlockRotation(Block) - Method in class de.sprax2013.betterchairs.ChairNMS
 
getBlockRotationLegacy(Block) - Static method in class de.sprax2013.betterchairs.ChairUtils
This method checks Directional.getFacing() (legacy API in the current Bukkit api) and inverts it to show the Block's rotation.
getChair() - Method in class de.sprax2013.betterchairs.events.PlayerEnterChairEvent
 
getChair() - Method in class de.sprax2013.betterchairs.events.PlayerLeaveChairEvent
 
getChair(Block) - Method in class de.sprax2013.betterchairs.ChairManager
 
getChair(ArmorStand) - Method in class de.sprax2013.betterchairs.ChairManager
 
getChair(Player) - Method in class de.sprax2013.betterchairs.ChairManager
 
getConfig() - Static method in class de.sprax2013.betterchairs.Messages
 
getConfig() - Static method in class de.sprax2013.betterchairs.Settings
 
getHandlerList() - Static method in class de.sprax2013.betterchairs.events.PlayerEnterChairEvent
 
getHandlerList() - Static method in class de.sprax2013.betterchairs.events.PlayerLeaveChairEvent
 
getHandlers() - Method in class de.sprax2013.betterchairs.events.PlayerEnterChairEvent
 
getHandlers() - Method in class de.sprax2013.betterchairs.events.PlayerLeaveChairEvent
 
getInstance() - Static method in class de.sprax2013.betterchairs.ChairManager
May be null if BetterChairs is not enabled
getListener() - Method in class de.sprax2013.betterchairs.ChairNMS
 
getLogger() - Static method in class de.sprax2013.betterchairs.ChairManager
Returns BetterChair's logger or the global one, when ChairManager.getPlugin() is null.
getOriginPlayerLocation() - Method in class de.sprax2013.betterchairs.Chair
 
getPlayer() - Method in class de.sprax2013.betterchairs.Chair
 
getPlayer() - Method in class de.sprax2013.betterchairs.events.PlayerEnterChairEvent
 
getPlayer() - Method in class de.sprax2013.betterchairs.events.PlayerLeaveChairEvent
 
getPlayerLeavingLocation() - Method in class de.sprax2013.betterchairs.Chair
 
getPlugin() - Static method in class de.sprax2013.betterchairs.ChairManager
May be null if BetterChairs is not enabled
getPrefix() - Static method in class de.sprax2013.betterchairs.Messages
 
getRegenerationAmplifier(Player) - Static method in class de.sprax2013.betterchairs.ChairNMS
 
getString(ConfigEntry) - Static method in class de.sprax2013.betterchairs.Messages
 
getType() - Method in class de.sprax2013.betterchairs.Chair
This method checks if it is a stair or slab block.

H

handlers - Static variable in class de.sprax2013.betterchairs.events.PlayerEnterChairEvent
 
handlers - Static variable in class de.sprax2013.betterchairs.events.PlayerLeaveChairEvent
 
hasChairsDisabled(Player) - Method in class de.sprax2013.betterchairs.ChairManager
 
hasEmptyHands(Player) - Method in class de.sprax2013.betterchairs.ChairNMS
 
HEADER - Static variable in class de.sprax2013.betterchairs.Settings
 

I

IGNORES_INTERACT_PREVENTION - Static variable in class de.sprax2013.betterchairs.Settings
 
instance - Static variable in class de.sprax2013.betterchairs.ChairManager
 
isCancelled() - Method in class de.sprax2013.betterchairs.events.PlayerEnterChairEvent
 
isChair(ArmorStand) - Method in class de.sprax2013.betterchairs.ChairManager
This does not yet guarantee that ChairManager.getChair(ArmorStand) is not null
This may return true for ArmorStand not yet spawned and thus not yet a Chair that is ready
isChair(ArmorStand) - Method in class de.sprax2013.betterchairs.ChairNMS
Checks if an ArmorStand is or will be used as Chair with NMS.
This method should be used to identify a Chair before it has been spawned into the world.
This can for example be used to un-cancel an EntitySpawnEvent
isOccupied(Block) - Method in class de.sprax2013.betterchairs.ChairManager
 
isSlab(Block) - Method in class de.sprax2013.betterchairs.ChairNMS
 
isSlabTop(Block) - Method in class de.sprax2013.betterchairs.ChairNMS
 
isStair() - Method in class de.sprax2013.betterchairs.Chair
Deprecated.
Since v1.1.0 Chairs may be any block and not just stairs and slabs
isStair(Block) - Method in class de.sprax2013.betterchairs.ChairNMS
 
isStairUpsideDown(Block) - Method in class de.sprax2013.betterchairs.ChairNMS
 

K

killChairArmorStand(ArmorStand) - Method in class de.sprax2013.betterchairs.ChairNMS
 

L

LEAVING_CHAIR_KEEP_HEAD_ROTATION - Static variable in class de.sprax2013.betterchairs.Settings
 
LEAVING_CHAIR_TELEPORT_TO_OLD_LOCATION - Static variable in class de.sprax2013.betterchairs.Settings
 

M

MATERIAL_FILTER_ALLOW_ALL_TYPES - Static variable in class de.sprax2013.betterchairs.Settings
 
MATERIAL_FILTER_AS_BLACKLIST - Static variable in class de.sprax2013.betterchairs.Settings
 
MATERIAL_FILTER_ENABLED - Static variable in class de.sprax2013.betterchairs.Settings
 
MATERIAL_FILTER_NAMES - Static variable in class de.sprax2013.betterchairs.Settings
 
Messages - Class in de.sprax2013.betterchairs
 
MSG_ALREADY_OCCUPIED - Static variable in class de.sprax2013.betterchairs.Settings
 
MSG_NEEDS_SIGNS - Static variable in class de.sprax2013.betterchairs.Settings
 
MSG_NOW_SITTING - Static variable in class de.sprax2013.betterchairs.Settings
 

N

NEEDS_EMPTY_HANDS - Static variable in class de.sprax2013.betterchairs.Settings
 
NEEDS_SIGNS - Static variable in class de.sprax2013.betterchairs.Settings
 
NO_PERMISSION - Static variable in class de.sprax2013.betterchairs.Messages
 

P

player - Variable in class de.sprax2013.betterchairs.Chair
 
PlayerEnterChairEvent - Class in de.sprax2013.betterchairs.events
 
PlayerEnterChairEvent(Player, Chair) - Constructor for class de.sprax2013.betterchairs.events.PlayerEnterChairEvent
 
PlayerLeaveChairEvent - Class in de.sprax2013.betterchairs.events
 
PlayerLeaveChairEvent(Player, Chair) - Constructor for class de.sprax2013.betterchairs.events.PlayerLeaveChairEvent
 
plugin - Static variable in class de.sprax2013.betterchairs.ChairManager
 

R

REGENERATION_AMPLIFIER - Static variable in class de.sprax2013.betterchairs.Settings
 
REGENERATION_EFFECT_DURATION - Static variable in class de.sprax2013.betterchairs.ChairNMS
 
REGENERATION_ENABLED - Static variable in class de.sprax2013.betterchairs.Settings
 
reload() - Static method in class de.sprax2013.betterchairs.Messages
 
reload() - Static method in class de.sprax2013.betterchairs.Settings
 
reset() - Static method in class de.sprax2013.betterchairs.Messages
 
reset() - Static method in class de.sprax2013.betterchairs.Settings
 

S

setCancelled(boolean) - Method in class de.sprax2013.betterchairs.events.PlayerEnterChairEvent
 
setChairsDisabled(Player, boolean) - Method in class de.sprax2013.betterchairs.ChairManager
 
Settings - Class in de.sprax2013.betterchairs
 
Settings.ConfigUpgradeTask - Interface in de.sprax2013.betterchairs
 
SLAB - de.sprax2013.betterchairs.ChairType
 
spawnChairArmorStand(Location, int) - Method in class de.sprax2013.betterchairs.ChairNMS
Spawns an ArmorStand that is/has: Invisible Invincible NoGravity DisabledSlots The ArmorStand may fulfill the above with the help of ChairNMS.getListener().
STAIR - de.sprax2013.betterchairs.ChairType
 

T

TOGGLE_DISABLED - Static variable in class de.sprax2013.betterchairs.Messages
 
TOGGLE_ENABLED - Static variable in class de.sprax2013.betterchairs.Messages
 

U

UPDATER_ENABLED - Static variable in class de.sprax2013.betterchairs.Settings
 
UPDATER_NOTIFY_ON_JOIN - Static variable in class de.sprax2013.betterchairs.Settings
 
USE_ALREADY_OCCUPIED - Static variable in class de.sprax2013.betterchairs.Messages
 
USE_NEEDS_SIGNS - Static variable in class de.sprax2013.betterchairs.Messages
 
USE_NOW_SITTING - Static variable in class de.sprax2013.betterchairs.Messages
 
USE_SLABS - Static variable in class de.sprax2013.betterchairs.Settings
 
USE_STAIRS - Static variable in class de.sprax2013.betterchairs.Settings
 

V

valueOf(String) - Static method in enum de.sprax2013.betterchairs.ChairType
Returns the enum constant of this type with the specified name.
values() - Static method in enum de.sprax2013.betterchairs.ChairType
Returns an array containing the constants of this enum type, in the order they are declared.

W

WORLD_FILTER_AS_BLACKLIST - Static variable in class de.sprax2013.betterchairs.Settings
 
WORLD_FILTER_ENABLED - Static variable in class de.sprax2013.betterchairs.Settings
 
WORLD_FILTER_NAMES - Static variable in class de.sprax2013.betterchairs.Settings
 
A B C D E G H I K L M N P R S T U V W 
All Classes All Packages