Class Crops

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

public class Crops
extends MaterialData
Represents the different types of crops.
  • Constructor Details

    • Crops

      public Crops()
    • Crops

      public Crops​(CropState state)
    • Crops

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

      public Crops​(Material type)
    • Crops

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

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