Class Step

    • Constructor Detail

      • Step

        public Step()
      • Step

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

      • getTextures

        public List<Material> getTextures()
        Description copied from class: TexturedMaterial
        Retrieve a list of possible textures. The first element of the list will be used as a default.
        Specified by:
        getTextures in class TexturedMaterial
        Returns:
        a list of possible textures for this block
      • isInverted

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

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