Facing ‐ Custom Data - DerFrZocker/Custom-Ore-Generator GitHub Wiki
Facing Custom Data
The FACING
custom data allows you to set the direction a block is facing. This is applicable to blocks that have a distinct front, back, and sides, such as furnaces, chests, or pistons.
- Name:
FACING
- Type: String
- Applicable Materials: Any block that implements
Directional
(e.g.,FURNACE
,CHEST
,PISTON
,DISPENSER
,DROPPER
).
Usage
To set the FACING
custom data, you provide a string representing the desired BlockFace
. Valid values typically include NORTH
, SOUTH
, EAST
, WEST
, UP
, and DOWN
, depending on the block.
Example
To make a generated furnace face north:
/oregen set customdata my_furnace FACING NORTH
To make a generated piston face upwards:
/oregen set customdata my_piston FACING UP