mirror of https://github.com/webbukkit/dynmap.git
Updated Defining a Simple Block (markdown)
parent
52992c452e
commit
417a056d04
|
@ -28,7 +28,7 @@ There are also convenience attributes for common combinations of faces, allowing
|
|||
|
||||
Due to legacy issues, standard simple blocks also need to have the attribute 'stdrot=true' set. This causes the rotation of the top and bottom textures to be correct - otherwise, those textures will be applied 90 degrees rotated from the in-game equivalent.
|
||||
|
||||
If the same texture mapping applies to all metadata values, the 'data=*' attribute should be specified (although this is also the default, when no other 'data=' settings are present). If only specific metadata values should use the given texture mapping, one or more 'data=<number>' settings should also be provided.
|
||||
If the same texture mapping applies to all metadata values, the 'data=*' attribute should be specified (although this is also the default, when no other 'data=' settings are present). If only specific metadata values should use the given texture mapping, one or more 'data=\<number\>' settings should also be provided.
|
||||
|
||||
If more than one block ID uses the same set of texture mappings, additional 'id=' attributes can be specified on the same "block:" line.
|
||||
|
||||
|
@ -45,6 +45,6 @@ Several other special attributes may be specified, if needed:
|
|||
+ org.dynmap.hdmap.colormult.TFMagicLeafColorMultiplier - special tinting function used for magic tree leaves in Twilight Forest mod
|
||||
+ org.dynmap.hdmap.colormult.TFSpecialLeafColorMultiplier - special tinting function used for special leaves in Twilight Forest mod
|
||||
|
||||
* *layer\<M\>* or *layer\<M\>-\<N\>* - this allows textures to be 'stacked' - if any part of the texture on a given side is transparent, the texture from the next layer is applied to those transparent portions. The value of the 'layer<M>' or 'layer<M>-<N>' attribute is the index of the corresponding 'patch<index>' definition to use for the next layer behind the texture for the side matching 'patch<M>' or all patches between 'patch<M>' and 'patch<N>', respectively. For standard simple cubes, the standard sides use patch0 through patch5, so any additional layer textures need to use patch6 or higher.
|
||||
* *layer\<M\>* or *layer\<M\>-\<N\>* - this allows textures to be 'stacked' - if any part of the texture on a given side is transparent, the texture from the next layer is applied to those transparent portions. The value of the 'layer\<M\>' or 'layer\<M\>-\<N\>' attribute is the index of the corresponding 'patch\<index\>' definition to use for the next layer behind the texture for the side matching 'patch\<M\>' or all patches between 'patch\<M\>' and 'patch\<N\>', respectively. For standard simple cubes, the standard sides use patch0 through patch5, so any additional layer textures need to use patch6 or higher.
|
||||
|
||||
* *patch\<M\>* or *patch\<M\>-\<N\>* - these allow definition of additional texture references beyond the first 6 (patch0 through patch5, or the other aliases indicated earlier). For simple cubes, these are only needed for defining layered textures. The value is a texture reference, which is applied to the Mth patch, or to all patches between the Mth and Nth, respectively.
|
||||
|
|
Loading…
Reference in New Issue