| Package | Description |
|---|---|
| com.sk89q.worldguard.bukkit | |
| com.sk89q.worldguard.protection | |
| com.sk89q.worldguard.protection.flags | |
| com.sk89q.worldguard.session.handler |
| Modifier and Type | Method and Description |
|---|---|
StateFlag.State |
RegionQuery.queryState(org.bukkit.Location location,
org.bukkit.entity.Player player,
StateFlag... flags)
Get the (effective) value for a list of state flags.
|
StateFlag.State |
RegionQuery.queryState(org.bukkit.Location location,
RegionAssociable associable,
StateFlag... flags)
Get the (effective) value for a list of state flags.
|
| Modifier and Type | Method and Description |
|---|---|
StateFlag.State |
AbstractRegionSet.queryState(RegionAssociable subject,
StateFlag... flags) |
StateFlag.State |
ApplicableRegionSet.queryState(RegionAssociable subject,
StateFlag... flags)
Get the (effective) value for a list of state flags.
|
StateFlag.State |
FlagValueCalculator.queryState(RegionAssociable subject,
StateFlag... flags)
Get the effective value for a list of state flags.
|
StateFlag.State |
RegionResultSet.queryState(RegionAssociable subject,
StateFlag... flags) |
StateFlag.State |
FlagValueCalculator.queryState(RegionAssociable subject,
StateFlag flag)
Get the effective value for a list of state flags.
|
| Modifier and Type | Method and Description |
|---|---|
static StateFlag.State |
StateFlag.allowOrNone(boolean flag)
Turn a boolean into either
NONE (null) or ALLOW if
the boolean is false or true, respectively. |
StateFlag.State |
StateFlag.chooseValue(Collection<StateFlag.State> values) |
static StateFlag.State |
StateFlag.combine(Collection<StateFlag.State> states)
Combine states, letting
DENY override ALLOW and
ALLOW override NONE (or null). |
static StateFlag.State |
StateFlag.combine(StateFlag.State... states)
Combine states, letting
DENY override ALLOW and
ALLOW override NONE (or null). |
static StateFlag.State |
StateFlag.denyToNone(StateFlag.State state)
Turn
DENY into NONE (null). |
StateFlag.State |
StateFlag.getDefault() |
StateFlag.State |
StateFlag.parseInput(WorldGuardPlugin plugin,
org.bukkit.command.CommandSender sender,
String input) |
StateFlag.State |
StateFlag.unmarshal(Object o) |
static StateFlag.State |
StateFlag.State.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StateFlag.State[] |
StateFlag.State.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static StateFlag.State |
StateFlag.combine(StateFlag.State... states)
Combine states, letting
DENY override ALLOW and
ALLOW override NONE (or null). |
static StateFlag.State |
StateFlag.denyToNone(StateFlag.State state)
Turn
DENY into NONE (null). |
Object |
StateFlag.marshal(StateFlag.State o) |
static boolean |
StateFlag.test(StateFlag.State... states)
Test whether at least one of the given states is
ALLOW
but none are set to DENY. |
| Modifier and Type | Method and Description |
|---|---|
StateFlag.State |
StateFlag.chooseValue(Collection<StateFlag.State> values) |
static StateFlag.State |
StateFlag.combine(Collection<StateFlag.State> states)
Combine states, letting
DENY override ALLOW and
ALLOW override NONE (or null). |
| Modifier and Type | Method and Description |
|---|---|
StateFlag.State |
InvincibilityFlag.getInvincibility(org.bukkit.entity.Player player) |
StateFlag.State |
Handler.getInvincibility(org.bukkit.entity.Player player)
Return whether the player should be invincible.
|
StateFlag.State |
GodMode.getInvincibility(org.bukkit.entity.Player player) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
ExitFlag.onAbsentValue(org.bukkit.entity.Player player,
org.bukkit.Location from,
org.bukkit.Location to,
ApplicableRegionSet toSet,
StateFlag.State lastValue,
MoveType moveType) |
protected boolean |
InvincibilityFlag.onAbsentValue(org.bukkit.entity.Player player,
org.bukkit.Location from,
org.bukkit.Location to,
ApplicableRegionSet toSet,
StateFlag.State lastValue,
MoveType moveType) |
protected void |
ExitFlag.onInitialValue(org.bukkit.entity.Player player,
ApplicableRegionSet set,
StateFlag.State value) |
protected void |
InvincibilityFlag.onInitialValue(org.bukkit.entity.Player player,
ApplicableRegionSet set,
StateFlag.State value) |
protected boolean |
ExitFlag.onSetValue(org.bukkit.entity.Player player,
org.bukkit.Location from,
org.bukkit.Location to,
ApplicableRegionSet toSet,
StateFlag.State currentValue,
StateFlag.State lastValue,
MoveType moveType) |
protected boolean |
InvincibilityFlag.onSetValue(org.bukkit.entity.Player player,
org.bukkit.Location from,
org.bukkit.Location to,
ApplicableRegionSet toSet,
StateFlag.State currentValue,
StateFlag.State lastValue,
MoveType moveType) |
Copyright © 2015. All Rights Reserved.