Skip to content
FedUpWith-Tech edited this page Aug 1, 2020 · 1 revision

The BoxRenderer class is a simple renderer for creating a model representing a normal cube (texture-wise), but with reductions in the X, Y and/or Z ranges. Unlike most custom renderers, the textures applied to this model correspond to the same attributes as are used for simple, solid blocks. Note: this is the custom renderer used to implement cuboid models.

###Attributes

  • xmin - this defines the minimum clipping value for the X axis of the block: when defined, the block's X dimension will start at an offset of the provided value on the X axis (versus the default value of 0.0).
  • xmax - this defines the maximum clipping value for the X axis of the block: when defined, the block's X dimension will end at an offset of the provided value on the X axis (versus the default value of 1.0).
  • ymin - this defines the minimum clipping value for the Y axis of the block: when defined, the block's Y dimension will start at an offset of the provided value on the Y axis (versus the default value of 0.0).
  • ymax - this defines the maximum clipping value for the Y axis of the block: when defined, the block's Y dimension will end at an offset of the provided value on the Y axis (versus the default value of 1.0).
  • zmin - this defines the minimum clipping value for the Z axis of the block: when defined, the block's Z dimension will start at an offset of the provided value on the Z axis (versus the default value of 0.0).
  • zmax - this defines the maximum clipping value for the Z axis of the block: when defined, the block's Z dimension will end at an offset of the provided value on the Z axis (versus the default value of 1.0).

###Patches Requiring Textures

  • patch0 - The negative X direction side (west)
  • patch1 - The negative Y direction side (bottom)
  • patch2 - The negative Z direction side (north)
  • patch3 - The positive X direction side (east)
  • patch4 - The positive Y direction side (top)
  • patch5 - The positive Z direction side (south)

Contents

Setup

Advanced Configuration

Mod Support

Developers

Clone this wiki locally