1 FenceWallBlockRenderer Class
FedUpWith-Tech edited this page 2020-08-01 14:26:55 -04:00

The FenceWallBlockRenderer class is used to render blocks using models and behavior matching that of either vanilla fences or vanilla walls. These blocks connected to blocks of the same ID, as well as any solid (opaque) blocks, but can be set to other specific blocks, as well, using the 'link<N>' attributes.

###Attributes

  • type - The type of model to be used. Valid values include 'fence' for fences, and 'wall' for walls. If not provided, 'fence' is assumed.
  • link<N> - This allows the block to be set to link (attach) to additional block IDs (other that themselves and solid blocks). Any number of these can be specified, so long as the values for <N> start with 0 and are consecutive (link0=number, link1=number, etc).

###Patches Requiring Textures

  • patch0 - Texture to be used for all sides of the models (all faces except top and bottom)
  • patch1 - Texture to be used for all top surfaces of the models
  • patch2 - Texture to be used for all bottom surfaces of the models