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