public class FactionsFly extends FactionsExpansion
Modifier and Type | Method and Description |
---|---|
boolean |
addFalling(java.util.UUID uuid) |
void |
cancelFlightFor(FPlayer fplayer) |
static boolean |
canFlyHere(FPlayer fplayer,
FLocation location) |
static boolean |
canFlyHere(FPlayer fplayer,
FLocation location,
boolean debugVerbose) |
static FactionsFly |
get() |
java.util.Collection<FCommand> |
getCommands()
Get commands for this expansion, can be an empty collection.
|
java.util.Collection<org.bukkit.event.Listener> |
getListeners()
Get listeners for this expansion, can be an empty collection.
|
java.lang.String |
getName() |
boolean |
isFalling(java.util.UUID uuid) |
void |
onPostEnable() |
boolean |
removeFalling(java.util.UUID uuid) |
boolean |
shouldEnable()
Should this expansion be enabled?
|
disable, enable, isEnabled, onCommandsDisabled, onCommandsEnabled, onListenersDisabled, onListenersEnabled, onPostDisable, onPreDisable, onPreEnable
public static boolean canFlyHere(FPlayer fplayer, FLocation location, boolean debugVerbose)
public static FactionsFly get()
public java.lang.String getName()
getName
in class FactionsExpansion
public void onPostEnable()
onPostEnable
in class FactionsExpansion
public java.util.Collection<FCommand> getCommands()
FactionsExpansion
getCommands
in class FactionsExpansion
public java.util.Collection<org.bukkit.event.Listener> getListeners()
FactionsExpansion
getListeners
in class FactionsExpansion
public boolean shouldEnable()
FactionsExpansion
shouldEnable
in class FactionsExpansion
public void cancelFlightFor(FPlayer fplayer)
public boolean isFalling(java.util.UUID uuid)
public boolean addFalling(java.util.UUID uuid)
public boolean removeFalling(java.util.UUID uuid)