Skip to main content

โ˜„๏ธ 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]

ParameterSyntaxDefault ValueExplanation
ididnoneThe unique identifier (ID) of the block or furniture to be spawned.
locationLocationnoneThe coordinates where the object will be placed
rotationrotation:RotationNONEThe rotation angle (e.g., CLOCKWISE).
blockFaceblockFace:BlockFaceSELFThe specific face or direction (e.g., NORTH).
Example
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>

ParameterSyntaxDefault ValueExplanation
ididnoneThe unique identifier (ID) of the block or furniture to be spawned.
locationLocationnoneThe coordinates where the object will be placed
Example
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]
ParameterSyntaxDefault ValueExplanation
ididnoneThe unique identifier (ID) of the block or furniture to be spawned.
amountamount:Int1The number of times the action must be performed.
locationlocation:LocationeverywhereThe specific location where the block or furniture must be located.
rangerange:Double0The maximum distance (in blocks) from the location within which the action is counted.
Example
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".

Example
items:
forestTrident: nexo forest_trident
tableLamp: nexo table_lamp quest-item
conditions:
hasForestTrident: hand forestTrident
actions:
giveTableLamp: give tableLamp:3