CRUX

Objects · components

Objects

Everything in the hierarchy is an object: an id, a Transform and components. Look, collider and rigidbody are components too, and what appears in Minecraft (real blocks, displays, armor stands, shulkers) is the embodiment the server picks from those components. Blocks and natural mobs already in the world are terrain, not objects. Inspector order: Transform, look, collider, rigidbody, behaviour components.

TypeDescription
Identity componentsHow the object looks and exists: Minecraft block, look (display, model, item), entity, light. Hierarchy icon and scene colour follow the representative component. Details
Block · block groupEmpty object + Minecraft block (width, height, depth): real blocks in the world. With a Rigidbody it becomes a block-display body while running, and the Inspector shows "Minecraft block: moving".
Display · modelDisplay look (block, item, text) or model look. Free position, rotation and scale. Details
NPCEntity component with type and facing; attach dialogue, quest or mob components. The Minecraft defaults tab lists the mob default behavior lines.
Item entity · lightItem look (dropped item entity, count, pickup, gravity) and light block.
Physics formEmpty object + collider (box list) + Rigidbody + one display child per box. Details
Trigger · regionCollider sensor box with enter, stay and exit events. Details
Item formThe item itself: name, description, base item, model and graph (no position). The "When item is right-clicked" event of a graph on the same object receives it.
Empty · groupObjects with only a Transform, and parents that group other objects.
Protected region · marker · hologramSaved to the same files as the Crux plugin protected regions, warps, spawn points and holograms, applied to the server immediately.

Moving a parent moves its children. Children also follow when a node moves or rotates the parent while running.

Built-in components

ComponentDescription
ColliderCollision boxes. Automatic by default (block = its cells, display = its size, model = 0.8×1.8, entity = its type size); turn 'Auto' off to write boxes yourself (trigger, material). Shown as orange frames in the scene view. Details
RigidbodyAttaches to blocks, displays, models and NPCs: mass, drag, bounce, friction, material, gravity, kinematic, axis locks, buoyancy, back to block when still. NPCs use Minecraft physics.
JointLinks to another body or a fixed point with a rope, rod, spring or fixed joint.
CameraPlayer camera: view (player setting, first person, behind, front, over the shoulder, fixed offset), spring arm, field of view, roll, wall collision and blending. Crux client only. Used together with the camera nodes (move, look at, shake, field of view, roll).
Block outlineColour and width of the block outline that player sees. Empty = player setting. Crux client only.
Client featuresTurns off the unchecked Crux client features (freelook, zoom, minimap …) for that player. All on = player settings.
Visible name tagsHow far that player sees other name tags, or hide them all. 0 and off = player setting. Crux client only.
Input blockBlocks the unchecked vanilla controls (move, jump, inventory, chat …) for that player. All on = the player's own controls.
SoundPlays a sound to nearby players once or at an interval.
ParticlesEmits particles at the object as a point, over the whole box or as a ring.
PathMakes an NPC walk through the given points in order.
Moving blockMoves a block object back and forth between two points.
HealthGives the object health and fires the When destroyed event at zero.
TimelineRuns commands at set times (staging, cutscenes).
Trigger · click · redstone · timerRuns logic on area entry, clicks, redstone signals or time.
Visual script · JavaAttaches a node graph or a Java class to the object. Details
AnimatorSwitches model animations with parameters and a state graph.
RPGRPG mob, NPC dialogue, quest giver and mob spawner. Pick the data from the RPG window library.

Every component field can be read and changed from nodes. Public graph variables appear as fields in the Inspector.

Where components attach

Add component opens a window with a search box (filters by name, description and group; Enter = first row) and lists only what fits the object kind. The server checks with the same rule table (nodes.json rules) and drops components that cannot attach when saving; ones already attached stay.

TargetWhat can attach
Server (global layer)Timer, graph, Java, sound, timeline, physics settings (collision table), world rules, run settings
Players · All players · statesThe basics plus particles, camera, HUD, inventory and Movement
Children under the player templateCamera, HUD elements, name tag and others (run per player)
Regular objectsEverything including collider, Rigidbody and joint (physics also on empty objects and groups)

Worlds

  • A world is the unit of a scene. The default three (Overworld, Nether, End) plus the server's other worlds. Objects belong to their world and run there (blocks, entities, players, commands, physics).
  • The 'World' picker in the top bar switches the scene view, edit tools, undo and hierarchy to that world. New objects go to that world. File → 'Clear this world's objects'.
  • World rules on the server object: per world, game mode on entering, fixed time, fixed weather and mob spawning. Per world on Paper; on vanilla and mod servers game rules are server-wide.
  • Nodes: Send to world (empty position = spawn), Worlds, This world, On world enter and leave, and a world pin on world.* nodes.
  • Upcoming: creating new worlds (lobby, survival) and world groups (separate inventories).

Global layer · players

  • At the top of the hierarchy the Global layer (above the scene) holds the Server and Players (every connected player, like @e).
  • Components on the global Players apply to everyone connected. When an individual player object has its own component of the same family, the global one is not applied to that person (per-component override; multi-instance families such as graph or timer are matched by type and id).
  • Player layers go under Players, the global Players and states — a HUD layer (the UI panels to show) and an Inventory layer (see the player's current inventory in the Inspector and change slots one by one with the Set slot and Clear slot nodes). Under the global Players they apply to everyone connected, including newcomers; under one player they apply to that player only (the global ones stop applying to them).
  • Offline players show in red with their last position, online players in green. Show or hide offline players from the right-click menu.
  • Change the order under one parent by dragging an object before or after a row; dropping on the middle of a row moves it inside. The drop target shows as a blue line or outline, and invalid targets show in red.

crux-docs · client 0.3.25 · plugin 1.4.0 · mc 26.3 · updated 2026-10-11 · report a mistake