Package | Description |
---|---|
com.projectkorra.projectkorra.ability.util | |
com.projectkorra.projectkorra.earthbending | |
com.projectkorra.projectkorra.firebending | |
com.projectkorra.projectkorra.util |
Modifier and Type | Method and Description |
---|---|
ClickType |
ComboManager.AbilityInformation.getClickType()
Gets the
ClickType of the ComboManager.AbilityInformation . |
Modifier and Type | Method and Description |
---|---|
static void |
ComboManager.addComboAbility(org.bukkit.entity.Player player,
ClickType type) |
void |
ComboManager.AbilityInformation.setClickType(ClickType clickType) |
Constructor and Description |
---|
AbilityInformation(java.lang.String name,
ClickType type) |
AbilityInformation(java.lang.String name,
ClickType type,
long time) |
Constructor and Description |
---|
EarthSmash(org.bukkit.entity.Player player,
ClickType type) |
Modifier and Type | Method and Description |
---|---|
ClickType |
FireCombo.getClickType() |
Modifier and Type | Method and Description |
---|---|
static java.util.ArrayList<FireCombo> |
FireCombo.getFireCombo(org.bukkit.entity.Player player,
ClickType type)
Returns all of the FireCombos created by a specific player but filters
the abilities based on shift or click.
|
void |
FireCombo.setClickType(ClickType clickType) |
Modifier and Type | Method and Description |
---|---|
ClickType |
BlockSourceInformation.getClickType()
Gets the
ClickType used to select the source. |
static ClickType |
ClickType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ClickType[] |
ClickType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static BlockSourceInformation |
BlockSource.getBlockSourceInformation(org.bukkit.entity.Player player,
BlockSource.BlockSourceType sourceType,
ClickType clickType)
Access a block's source information, depending on a
BlockSource.BlockSourceType and ClickType . |
static org.bukkit.block.Block |
BlockSource.getEarthOrLavaSourceBlock(org.bukkit.entity.Player player,
double range,
ClickType clickType)
Attempts to access a Lava bendable block or an Earth block that was
recently shifted or clicked on by the player.
|
static org.bukkit.block.Block |
BlockSource.getEarthSourceBlock(org.bukkit.entity.Player player,
double range,
ClickType clickType)
Attempts to access a Earth bendable block that was recently shifted or
clicked on by the player.
|
static org.bukkit.block.Block |
BlockSource.getEarthSourceBlock(org.bukkit.entity.Player player,
double range,
ClickType clickType,
boolean allowNearbySubstitute)
Attempts to access a Earth bendable block that was recently shifted or
clicked on by the player.
|
static org.bukkit.block.Block |
BlockSource.getLavaSourceBlock(org.bukkit.entity.Player player,
double range,
ClickType clickType)
Attempts to access a Lava bendable block that was recently shifted or
clicked on by the player.
|
static org.bukkit.block.Block |
BlockSource.getSourceBlock(org.bukkit.entity.Player player,
double range,
BlockSource.BlockSourceType sourceType,
ClickType clickType)
Access a specific type of source block depending on a range and
ClickType . |
static BlockSourceInformation |
BlockSource.getValidBlockSourceInformation(org.bukkit.entity.Player player,
double range,
BlockSource.BlockSourceType sourceType,
ClickType clickType)
Access a block source information depending on a range,
BlockSource.BlockSourceType , and ClickType . |
static org.bukkit.block.Block |
BlockSource.getWaterSourceBlock(org.bukkit.entity.Player player,
double range,
ClickType clickType)
Attempts to access a Water bendable block that was recently shifted or
clicked on by the player.
|
static org.bukkit.block.Block |
BlockSource.getWaterSourceBlock(org.bukkit.entity.Player player,
double range,
ClickType clickType,
boolean allowWater,
boolean allowIce,
boolean allowPlant)
Attempts to access a Water bendable block that was recently shifted or
clicked on by the player.
|
static org.bukkit.block.Block |
BlockSource.getWaterSourceBlock(org.bukkit.entity.Player player,
double range,
ClickType clickType,
boolean allowWater,
boolean allowIce,
boolean allowPlant,
boolean allowSnow,
boolean allowWaterBottles)
Attempts to access a Water bendable block that was recently shifted or
clicked on by the player.
|
void |
BlockSourceInformation.setClickType(ClickType clickType)
Sets the source's
ClickType . |
static void |
BlockSource.update(org.bukkit.entity.Player player,
ClickType clickType)
Updates all of the player's sources.
|
Constructor and Description |
---|
BlockSourceInformation(org.bukkit.entity.Player player,
org.bukkit.block.Block block,
BlockSource.BlockSourceType sourceType,
ClickType clickType)
Creates a new BlockSourceInformation.
|