Class MonsterEggs

All Implemented Interfaces:
Cloneable

@Deprecated(forRemoval=true, since="1.13") public class MonsterEggs extends TexturedMaterial
Deprecated, for removal: This API element is subject to removal in a future version.
all usage of MaterialData is deprecated and subject to removal. Use BlockData.
Represents the different types of monster eggs
  • Constructor Details

    • MonsterEggs

      public MonsterEggs()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • MonsterEggs

      public MonsterEggs(Material type)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • MonsterEggs

      @Deprecated public MonsterEggs(Material type, byte data)
      Deprecated.
      Magic value
      Parameters:
      type - the type
      data - the raw data value
  • Method Details

    • getTextures

      public List<Material> getTextures()
      Deprecated, for removal: This API element is subject to removal in a future version.
      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()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      clone in class TexturedMaterial