Skip to content

Nexo

Compatibility with Nexo

Nexo Block Condition: nxBlock
Checks if a specific Nexo block exists at the given location.

# nxBlock <blockId> <x;y;z;world>
conditions:
hasRubyOre: nxBlock ruby_ore 40;72;3;world
  • For blocks: nxBlockAt
  • For furniture: nxFurnitureAt

Changes the block or furniture at the specified location to a Nexo block or furniture.

ParameterSyntaxDefaultExplanation
idruby_oreRequiredThe Nexo block or furniture ID
locationx;y;z;worldRequiredThe target coordinates and world name
rotationRotationRequiredThe rotation of the Furniture only Furniture
blockFaceBlockFaceRequiredThe blockFace of the Furniture only Furniture
# nxBlockAt <blockId> <x;y;z;world>
# nxFurnitureAt <furnitureId> <x;y;z;world> <rotation> <blockFace>
events:
placeRubyOre: nxBlockAt ruby_ore 40;72;3;world
placeFurniture: nxFurnitureAt arm_chair 40;72;3;world none self
  • For Blocks: nxBlockBreak, nxBlockPlace, nxBlockInteract
  • For Furniture: nxFurnitureBreak, nxFurniturePlace, nxFurnitureInteract

Players must break, place, or interact with a number of specified Nexo blocks or furniture.

ParameterSyntaxDefaultExplanation
idruby_oreRequiredThe Nexo block or furniture ID
amountamount:x1Number to break/place/interact
notifynotify:numberDisabledNotify player with a message
# Block objectives
# nxBlockPlace <blockId> [amount:x] [notify:number]
# nxBlockBreak <blockId> [amount:x] [notify:number]
# nxBlockInteract <blockId> [amount:x] [notify:number]
objectives:
placeBlock: nxBlockPlace ruby_ore amount:3
breakBlock: nxBlockBreak ruby_ore amount:5 notify:1
interactBlock: nxBlockInteract ruby_ore
# Furniture objectives
# nxFurniturePlace <furnitureId> [amount:x] [notify:number]
# nxFurnitureBreak <furnitureId> [amount:x] [notify:number]
# nxFurnitureInteract <furnitureId> [amount:x] [notify:number]
placeFurniture: nxFurniturePlace arm_chair amount:3
breakFurniture: nxFurnitureBreak arm_chair amount:5 notify:1
interactFurniture: nxFurnitureInteract arm_chair

Define Nexo items using the nexo prefix followed by the item ID.

# nexo <itemId>
items:
nxItem: nexo ruby
conditions:
hasNxItem: item nxItem
events:
giveNxItem: give nxItem