Class TexturedMaterial

    • Constructor Detail

      • TexturedMaterial

        public TexturedMaterial​(Material m)
        Deprecated.
      • TexturedMaterial

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

      • getTextures

        public abstract List<Material> getTextures()
        Deprecated.
        Retrieve a list of possible textures. The first element of the list will be used as a default.
        Returns:
        a list of possible textures for this block
      • getMaterial

        public Material getMaterial()
        Deprecated.
        Gets the current Material this block is made of
        Returns:
        Material of this block
      • setMaterial

        public void setMaterial​(Material material)
        Deprecated.
        Sets the material this block is made of
        Parameters:
        material - New material of this block
      • getTextureIndex

        @Deprecated
        protected int getTextureIndex()
        Deprecated.
        Magic value
        Get material index from data
        Returns:
        index of data in textures list
      • setTextureIndex

        @Deprecated
        protected void setTextureIndex​(int idx)
        Deprecated.
        Magic value
        Set material index
        Parameters:
        idx - - index of data in textures list