org.bukkit.material
Class MonsterEggs

java.lang.Object
  extended by org.bukkit.material.MaterialData
      extended by org.bukkit.material.TexturedMaterial
          extended by org.bukkit.material.MonsterEggs
All Implemented Interfaces:
Cloneable

public class MonsterEggs
extends TexturedMaterial

Represents the different types of monster eggs


Constructor Summary
MonsterEggs()
           
MonsterEggs(int type)
           
MonsterEggs(int type, byte data)
           
MonsterEggs(Material type)
           
MonsterEggs(Material type, byte data)
           
 
Method Summary
 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, getItemTypeId, hashCode, setData, toItemStack, toItemStack
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MonsterEggs

public MonsterEggs()

MonsterEggs

public MonsterEggs(int type)

MonsterEggs

public MonsterEggs(Material type)

MonsterEggs

public MonsterEggs(int type,
                   byte data)

MonsterEggs

public MonsterEggs(Material type,
                   byte data)
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 class TexturedMaterial
Returns:
a list of possible textures for this block

clone

public MonsterEggs clone()
Overrides:
clone in class TexturedMaterial


Copyright © 2013. All Rights Reserved.