package org.dynmap.modsupport;

/**
 * Record representing a texture mapping for one or more blocks, based on copying an existing one
 */
public interface CopyBlockTextureRecord {
    public static final int METAMASK_ALL = -1;
    
    /**
     * Add block ID to mapping (in case multiple block IDs use same texture mapping)
     * @param blockID - block ID
     */
    public void addBlockID(int blockID);
    /**
     * Get block IDs
     * @return configured IDs
     */
    public int[] getBlockIDs();
    /**
     * Set metadata value : default is for all values (data=*).  Setting other values will match only the values that are set
     * @param data - value to match (-1 = all, 0-15 is meta value to match)
     */
    public void setMetaValue(int data);
    /**
     * Get matching metadata value mask
     * @return matching metadata mask: bit N is set if given metadata value matches
     */
    public int getMetaValueMask();
    /**
     * Get source block ID
     * @return source block ID 
     */
    public int getSourceBlockID();
    /**
     * Get source metadata
     * @return souce meta ID
     */
    public int getSourceMeta();
}

@@ -1146,10 +1146,303 @@
 Meta();%0A
+    /**%0A     * Set transparency mode for block%0A     * @param mode - transparency mode%0A     */%0A    public void setTransparencyMode(TransparencyMode mode);%0A    /**%0A     * Get transparency mode for block%0A     * @return transparency mode%0A     */%0A    public TransparencyMode getTransparencyMode();%0A
 %7D%0A

Add transparency mode override to copied records