Class Pumpkin

java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.Pumpkin
All Implemented Interfaces:
java.lang.Cloneable, Directional

public class Pumpkin
extends MaterialData
implements Directional
Represents a pumpkin.
  • Constructor Details

    • Pumpkin

      public Pumpkin()
    • Pumpkin

      public Pumpkin​(BlockFace direction)
      Instantiate a pumpkin facing in a particular direction.
      Parameters:
      direction - the direction the pumkin's face is facing
    • Pumpkin

      @Deprecated public Pumpkin​(int type)
      Deprecated.
      Magic value
      Parameters:
      type - the raw type id
    • Pumpkin

      public Pumpkin​(Material type)
    • Pumpkin

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

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