Skip to content

CraftEngine

Compatibility with CraftEngine

  • For Blocks: ceBlock
  • For Furniture: ceFurniture

Checks whether a specific CraftEngine block or furniture exists at the given location.

# ceBlock <blockId> <x;y;z;world>
# ceFurniture <furnitureId> <x;y;z;world>
conditions:
hasChineseLantern: ceBlock default:chinese_lantern 40;72;3;world
hasWoodenChair: ceFurniture default:wooden_chair 40;72;3;world
  • For blocks: ceBlockAt
  • For furniture: ceFurnitureAt

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

ParameterSyntaxDefaultExplanation
idnamespace:item_idRequiredThe CraftEngine block or furniture ID
locationx;y;z;worldRequiredThe target coordinates and world name
playSoundplaySound:booleanfalseWhether to play a sound when the object is placed
# ceBlockAt <blockId> <x;y;z;world> [playSound:boolean]
# ceFurnitureAt <furnitureId> <x;y;z;world> [playSound:boolean]
events:
placeRubyOre: ceBlockAt namespace:ruby_ore 40;72;3;world
placePalm: ceBlockAt default:palm_sapling 40;72;3;world playSound:true
placeChair: ceFurnitureAt default:wooden_chair 42;72;5;world
  • For Blocks: ceBlockBreak, ceBlockPlace, ceBlockInteract
  • For Furniture: ceFurnitureBreak, ceFurniturePlace, ceFurnitureInteract

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

ParameterSyntaxDefaultExplanation
iddefault:wooden_chairRequiredThe CraftEngine block or furniture ID
amountamount:x1Number to break/place/interact
notifynotify:numberDisabledNotify player with a message
# Block objectives
# ceBlockPlace <blockId> [amount:x] [notify:number]
# ceBlockBreak <blockId> [amount:x] [notify:number]
# ceBlockInteract <blockId> [amount:x] [notify:number]
objectives:
placeBlock: ceBlockPlace default:netherite_anvil amount:3
breakBlock: ceBlockBreak default:netherite_anvil amount:5 notify:1
interactBlock: ceBlockInteract default:netherite_anvil
# Furniture objectives
# ceFurniturePlace <furnitureId> [amount:x] [notify:number]
# ceFurnitureBreak <furnitureId> [amount:x] [notify:number]
# ceFurnitureInteract <furnitureId> [amount:x] [notify:number]
placeFurniture: ceFurniturePlace default:wooden_chair amount:3
breakFurniture: ceFurnitureBreak default:wooden_chair amount:5 notify:1
interactFurniture: ceFurnitureInteract default:wooden_chair

Define CraftEngine items using the ce prefix followed by the item ID.

# ce <itemId>
items:
ceItem: ce default:palm_sapling
conditions:
hasCeItem: item ceItem
events:
giveCeItem: give ceItem