Class WoodenStep

    • Field Detail

      • DEFAULT_TYPE

        protected static final Material DEFAULT_TYPE
        Deprecated.
      • DEFAULT_INVERTED

        protected static final boolean DEFAULT_INVERTED
        Deprecated.
        See Also:
        Constant Field Values
    • Constructor Detail

      • WoodenStep

        public WoodenStep()
        Deprecated.
        Constructs a wooden step.
      • WoodenStep

        public WoodenStep​(TreeSpecies species)
        Deprecated.
        Constructs a wooden step of the given tree species.
        Parameters:
        species - the species of the wooden step
      • WoodenStep

        public WoodenStep​(TreeSpecies species,
                          boolean inv)
        Deprecated.
        Constructs a wooden step of the given type and tree species, either inverted or not.
        Parameters:
        species - the species of the wooden step
        inv - true the step is at the top of the block
      • WoodenStep

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

      • isInverted

        public boolean isInverted()
        Deprecated.
        Test if step is inverted
        Returns:
        true if inverted (top half), false if normal (bottom half)
      • setInverted

        public void setInverted​(boolean inv)
        Deprecated.
        Set step inverted state
        Parameters:
        inv - - true if step is inverted (top half), false if step is normal (bottom half)