Class LongGrass

  • All Implemented Interfaces:
    Cloneable

    @Deprecated
    public class LongGrass
    extends MaterialData
    Deprecated.
    all usage of MaterialData is deprecated and subject to removal. Use BlockData.
    Represents the different types of long grasses.
    • Constructor Detail

      • LongGrass

        public LongGrass()
        Deprecated.
      • LongGrass

        public LongGrass​(GrassSpecies species)
        Deprecated.
      • LongGrass

        public LongGrass​(Material type)
        Deprecated.
      • LongGrass

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

      • getSpecies

        public GrassSpecies getSpecies()
        Deprecated.
        Gets the current species of this grass
        Returns:
        GrassSpecies of this grass
      • setSpecies

        public void setSpecies​(GrassSpecies species)
        Deprecated.
        Sets the species of this grass
        Parameters:
        species - New species of this grass