Directional Mechanic

What is this?

This mechanic allows you to place blocks and have them change their texture depending on the direction in which they are placed, like for example logs. There are 3 types of directional blocks: LOG, FURNACE and DROPPER. LOG takes up 3 custom block variations, FURNACE takes 4 and DROPPER takes 6.

Every sub-block can have a model property, which Nexo will use to determine what to display. If there is no model property on the sub-block, Nexo will use the model from the parent-block.

Models are also automatically rotated depending on the direction in which the block is placed. This means you can use the same model, and it will be rotated accordingly. If the sub-block has a model defined, it will not be rotated, allowing you to use different models for different directions.

Configuration

The most basic of configuration setups for a directional blocks is reusing the same model and having it be rotated accordingly. Below is such an example

Nexo will here automatically generate 3 fake dummy-items for each direction and assign a custom_variation for each. The config will then look something like this after

This applies to the other two types aswell, FURNACE & DROPPER. You can also set a model explicitly for each rotation like shown in DROPPER example. If this is done, Nexo will not apply the standard rotations to it.

This was added in Nexo 1.15+. For older versions of Nexo you will need to use the old-legacy system as shown below

Nexo <1.14 Example:

Parent-Block example:

LOG-type example:

FURNACE-type example:

DROPPER-type example:

Last updated