Directional Mechanic
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 4 types of directional blocks: LOG, BARREL, FURNACE & DROPPER
LOG is made up of 3 Custom Block variations, to mimic behaviour of a vanilla log BARREL is made up of 6 Custom Block variations. It s used for when you need a block to be rotatable in all 6 directions (north, west, south, east, up & down)
FURNACE is made up of 4 Custom Block variations. It is for when you want a block that rotates to face the player with a front in the 4 horizontal directions (north, south, east, west) DROPPER is made up of 6 Custom Block variations. It is for the same purpose as Furnace but with support for up & down facings as well.
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 three other types aswell; BARREL, 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.
Last updated