Package org.bukkit.material
Class MonsterEggs
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.TexturedMaterial
org.bukkit.material.MonsterEggs
- All Implemented Interfaces:
java.lang.Cloneable
public class MonsterEggs extends TexturedMaterial
Represents the different types of monster eggs
-
Constructor Summary
Constructors Constructor Description MonsterEggs()MonsterEggs(int type)Deprecated.Magic valueMonsterEggs(int type, byte data)Deprecated.Magic valueMonsterEggs(Material type)MonsterEggs(Material type, byte data)Deprecated.Magic value -
Method Summary
Modifier and Type Method Description MonsterEggsclone()java.util.List<Material>getTextures()Retrieve a list of possible textures.Methods inherited from class org.bukkit.material.TexturedMaterial
getMaterial, getTextureIndex, setMaterial, setTextureIndex, toStringMethods inherited from class org.bukkit.material.MaterialData
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStack
-
Constructor Details
-
MonsterEggs
public MonsterEggs() -
MonsterEggs
@Deprecated public MonsterEggs(int type)Deprecated.Magic value- Parameters:
type- the raw type id
-
MonsterEggs
-
MonsterEggs
@Deprecated public MonsterEggs(int type, byte data)Deprecated.Magic value- Parameters:
type- the raw type iddata- the raw data value
-
MonsterEggs
Deprecated.Magic value- Parameters:
type- the typedata- the raw data value
-
-
Method Details
-
getTextures
Description copied from class:TexturedMaterialRetrieve a list of possible textures. The first element of the list will be used as a default.- Specified by:
getTexturesin classTexturedMaterial- Returns:
- a list of possible textures for this block
-
clone
- Overrides:
clonein classTexturedMaterial
-