public class ObjectDisguise extends Disguise
Constructor and Description |
---|
ObjectDisguise(DisguiseType type)
Creates an instance.
|
Modifier and Type | Method and Description |
---|---|
ObjectDisguise |
clone()
Creates and returns a copy of this object.
|
boolean |
equals(java.lang.Object object)
Indicates whether some other object is "equal to" this one.
|
int |
getTypeId()
Gets the mob type id.
|
static int |
getTypeId(DisguiseType type)
Gets the mob type id for a given DisguiseType.
|
public ObjectDisguise(DisguiseType type)
type
- the disguise typejava.lang.IllegalArgumentException
- if the given DisguiseType is not an objectpublic ObjectDisguise clone()
public boolean equals(java.lang.Object object)
public int getTypeId()
public static int getTypeId(DisguiseType type)
type
- the disguise typejava.lang.IllegalArgumentException
- if the given DisguiseType is not an object