Package | Description |
---|---|
de.robingrether.idisguise.api | |
de.robingrether.idisguise.disguise | |
de.robingrether.idisguise.management |
Modifier and Type | Method and Description |
---|---|
Sounds |
DisguiseAPI.getSoundsForEntity(DisguiseType type)
Gets the
Sounds for a specific entity type. |
boolean |
DisguiseAPI.setSoundsForEntity(DisguiseType type,
Sounds sounds)
Sets the
Sounds for a specific entity type. |
Modifier and Type | Method and Description |
---|---|
DisguiseType |
Disguise.getType()
Returns the disguise type
|
static DisguiseType |
DisguiseType.Matcher.match(java.lang.String string)
Find a matching DisguiseType from one of its command arguments.
|
static DisguiseType |
DisguiseType.random(DisguiseType.Type type)
Creates a random disguise type.
|
static DisguiseType |
DisguiseType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DisguiseType[] |
DisguiseType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static int |
ObjectDisguise.getTypeId(DisguiseType type)
Gets the mob type id for a given DisguiseType.
|
Constructor and Description |
---|
AgeableDisguise(DisguiseType type)
Create an instance.
|
AgeableDisguise(DisguiseType type,
boolean adult)
Create an instance.
|
MobDisguise(DisguiseType type)
Creates an instance.
|
MobDisguise(DisguiseType type,
boolean adult)
Deprecated.
Functionality moved to AgeableDisguise.
|
ObjectDisguise(DisguiseType type)
Creates an instance.
|
SizedDisguise(DisguiseType type)
Creates an instance.
|
SizedDisguise(DisguiseType type,
int size)
Creates an instance.
|
Modifier and Type | Method and Description |
---|---|
static Sounds |
Sounds.getSoundsForEntity(DisguiseType type) |
static boolean |
Sounds.setSoundsForEntity(DisguiseType type,
Sounds sounds) |