Package | Description |
---|---|
de.robingrether.idisguise.api | |
de.robingrether.idisguise.disguise |
Modifier and Type | Method and Description |
---|---|
Disguise |
UndisguiseEvent.getDisguise()
Returns the disguise.
|
Disguise |
PlayerInteractDisguisedPlayerEvent.getDisguise()
Gets the disguise of the rightclicked player.
|
Disguise |
OfflinePlayerUndisguiseEvent.getDisguise()
Returns the disguise.
|
Disguise |
OfflinePlayerDisguiseEvent.getDisguise()
Returns the disguise.
|
Disguise |
DisguiseEvent.getDisguise()
Returns the disguise.
|
Disguise |
DisguiseAPI.getDisguise(org.bukkit.OfflinePlayer player)
Get a copy of a player's current disguise.
|
Disguise |
DisguiseAPI.getDisguise(org.bukkit.entity.Player player)
Deprecated.
replaced by
getDisguise(OfflinePlayer) |
Modifier and Type | Method and Description |
---|---|
boolean |
DisguiseAPI.disguise(org.bukkit.OfflinePlayer player,
Disguise disguise)
Disguise a player (may be offline).
|
boolean |
DisguiseAPI.disguise(org.bukkit.OfflinePlayer player,
Disguise disguise,
boolean fireEvent)
Disguise a player (may be offline).
|
void |
DisguiseAPI.disguiseToAll(org.bukkit.entity.Player player,
Disguise disguise)
Deprecated.
replaced by
disguise(OfflinePlayer, Disguise) |
void |
OfflinePlayerDisguiseEvent.setDisguise(Disguise disguise)
Changes the disguise.
|
void |
DisguiseEvent.setDisguise(Disguise disguise)
Changes the disguise.
|
Constructor and Description |
---|
DisguiseEvent(org.bukkit.entity.Player player,
Disguise disguise) |
OfflinePlayerDisguiseEvent(org.bukkit.OfflinePlayer offlinePlayer,
Disguise disguise) |
OfflinePlayerUndisguiseEvent(org.bukkit.OfflinePlayer offlinePlayer,
Disguise disguise,
boolean undisguiseAll) |
UndisguiseEvent(org.bukkit.entity.Player player,
Disguise disguise,
boolean undisguiseAll) |
Modifier and Type | Class and Description |
---|---|
class |
AgeableDisguise
Represents a disguise that can be both an adult or a baby.
|
class |
ArmorStandDisguise
Represents a disguise as an armor stand.
|
class |
CreeperDisguise
Represents a disguise as a creeper.
|
class |
EndermanDisguise
Represents a disguise as an enderman.
|
class |
FallingBlockDisguise
Represents a disguise as a falling block.
|
class |
GuardianDisguise
Represents a disguise as a guardian.
|
class |
HorseDisguise
Represents a disguise as a horse.
|
class |
ItemDisguise
Represents a disguise as an item stack.
|
class |
MinecartDisguise
Represents a disguise as a minecart.
|
class |
MobDisguise
Represents a disguise as a mob.
|
class |
ObjectDisguise
Represents a disguise as an object.
|
class |
OcelotDisguise
Represents a disguise as an ocelot.
|
class |
PigDisguise
Represents a disguise as a pig.
|
class |
PlayerDisguise
Represents a disguise as a player.
|
class |
RabbitDisguise
Represents a disguise as a rabbit.
|
class |
SheepDisguise
Represents a disguise as a sheep.
|
class |
SizedDisguise
Represents a disguise as a sized mob (e.g. slime, magma slime).
|
class |
SkeletonDisguise
Represents a disguise as a skeleton.
|
class |
VillagerDisguise
Represents a disguise as a villager.
|
class |
WolfDisguise
Represents a disguise as a wolf.
|
class |
ZombieDisguise
Represents a disguise as a zombie.
|
Modifier and Type | Method and Description |
---|---|
abstract Disguise |
Disguise.clone()
Creates and returns a copy of this object.
|
Disguise |
DisguiseType.newInstance()
Creates and returns a new instance of the correspondent disguise class.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Class<? extends Disguise> |
DisguiseType.getDisguiseClass()
Returns the class that handles the subtypes for this disguise type.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
Subtypes.applySubtype(Disguise disguise,
java.lang.String argument)
Applies a subtype to a given disguise based on the given argument.
|
static java.util.List<java.lang.String> |
Subtypes.listSubtypeArguments(Disguise disguise)
Returns a list containing all registered subtype arguments for the given disguise.
|
Modifier and Type | Method and Description |
---|---|
static void |
Subtypes.registerSubtype(java.lang.Class<? extends Disguise> disguiseClass,
java.lang.String methodName,
boolean parameter,
java.lang.String argument)
Registers a new subtype.
|
static void |
Subtypes.registerSubtype(java.lang.Class<? extends Disguise> disguiseClass,
java.lang.String methodName,
int parameter,
java.lang.String argument)
Registers a new subtype.
|
static void |
Subtypes.registerSubtype(java.lang.Class<? extends Disguise> disguiseClass,
java.lang.String methodName,
java.lang.Object parameter,
java.lang.String argument)
Registers a new subtype.
|