Class SpawnEgg

All Implemented Interfaces:
Cloneable

@Deprecated(since="1.11") public class SpawnEgg extends MaterialData
Deprecated.
Represents a spawn egg that can be used to spawn mobs
  • Constructor Details

    • SpawnEgg

      public SpawnEgg()
      Deprecated.
    • SpawnEgg

      @Deprecated(since="1.6.2") public SpawnEgg(Material type, byte data)
      Deprecated.
      Magic value
      Parameters:
      type - the type
      data - the raw data value
    • SpawnEgg

      @Deprecated(since="1.6.2") public SpawnEgg(byte data)
      Deprecated.
      Magic value
      Parameters:
      data - the raw data value
    • SpawnEgg

      public SpawnEgg(EntityType type)
      Deprecated.
  • Method Details