Class SpawnEgg

java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.SpawnEgg
All Implemented Interfaces:
java.lang.Cloneable

public class SpawnEgg
extends MaterialData
Represents a spawn egg that can be used to spawn mobs
  • Constructor Details

    • SpawnEgg

      public SpawnEgg()
    • SpawnEgg

      @Deprecated public SpawnEgg​(int type, byte data)
      Deprecated.
      Magic value
      Parameters:
      type - the raw type id
      data - the raw data value
    • SpawnEgg

      @Deprecated public SpawnEgg​(byte data)
      Deprecated.
      Magic value
      Parameters:
      data - the raw data value
    • SpawnEgg

      public SpawnEgg​(EntityType type)
  • Method Details