โ๏ธ Nexo
This page covers the compatibility with Nexo.
Actionsโ
Set Blockโ
Places a specific Nexo block at a designated location.
Syntax: nexoBlockAt <id> <location>
Set Furnitureโ
Places specific Nexo furniture at a designated location.
Syntax: nexoFurnitureAt <id> <location> [rotation] [blockFace]
| Parameter | Syntax | Default Value | Explanation |
|---|---|---|---|
| id | id | none | The unique identifier (ID) of the block or furniture to be spawned. |
| location | Location | none | The coordinates where the object will be placed |
| rotation | rotation:Rotation | NONE | The rotation angle (e.g., CLOCKWISE). |
| blockFace | blockFace:BlockFace | SELF | The specific face or direction (e.g., NORTH). |
actions:
setNxBlock: nexoBlockAt ruby_block 0;-60;0;world
setNxFurniture: nexoFurnitureAt arm_chair 0;-60;0;world rotation:FLIPPED_45 blockFace:SOUTH
Conditionsโ
Check Blockโ
Checks if a specific Nexo block exists at a designated location.
Syntax: nexoBlock <id> <location>
Check Furnitureโ
Checks if a specific nexo furniture exists at a designated location.
Syntax: NexoFurniture <id> <location>
| Parameter | Syntax | Default Value | Explanation |
|---|---|---|---|
| id | id | none | The unique identifier (ID) of the block or furniture to be spawned. |
| location | Location | none | The coordinates where the object will be placed |
conditions:
isNxBlock: nexoBlock ruby_block 0;-60;0;world
isNxFurniture: nexoFurniture coffee_table 0;-60;0;world
Objectivesโ
Blockโ
Triggers when a player interacts with Nexo block (Place, Break, or Interact).
Syntax:
nexoBlockPlace <id> [amount] [isCancelled] [location] [range]nexoBlockBreak <id> [amount] [isCancelled] [location] [range]nexoBlockInteract <id> [amount] [isCancelled] [location] [range]
Furnitureโ
Triggers when a player interacts with Nexo furniture (Place, Break, or Interact).
Syntax:
nexoFurniturePlace <id> [amount] [isCancelled] [location] [range]nexoFurnitureBreak <id> [amount] [isCancelled] [location] [range]nexoFurnitureInteract <id> [amount] [isCancelled] [location] [range]
| Parameter | Syntax | Default Value | Explanation |
|---|---|---|---|
| id | id | none | The unique identifier (ID) of the block or furniture to be spawned. |
| amount | amount:Int | 1 | The number of times the action must be performed. |
| location | location:Location | everywhere | The specific location where the block or furniture must be located. |
| range | range:Double | 0 | The maximum distance (in blocks) from the location within which the action is counted. |
objectives:
placeRubyBlock: nexoBlockPlace ruby_block amount:5
breakEndTable: nexoFurnitureBreak end_table amount:2
useLamp: nexoFurnitureInteract table_lamp isCancelled:true
Itemsโ
Nexo usage is integrated to the Items system and thus used for events and conditions.
In addition, you can also add quest-item argument to tag them as "QuestItem".
items:
forestTrident: nexo forest_trident
tableLamp: nexo table_lamp quest-item
conditions:
hasForestTrident: hand forestTrident
actions:
giveTableLamp: give tableLamp:3