World logic type list
Overview
Section titled “Overview”This page is generated from the world logic registry of NP Editor 0.11.1. Do not edit it by hand. There are 75 triggers, 16 conditions and 109 actions — 200 built-in types in total. Descriptions are the editor’s on-screen text (names and help) as is. Types added by plugins are not listed.
Triggers, conditions, actions and math functions marked “NPBridge X or later” need that NPBridge version or later on the game server (for example, flow control = 2.0.8). The editor does not push such logic to an older server by live link or scene deploy, and tells you why. Exporting to a file only warns. Types also marked “planned on the server” are not handled by the current server (NPBridge 2.4.0) yet.
| Role | Count | Groups |
|---|---|---|
| Triggers | 75 | Zone, Actor, Flowing, Variables · functions, Collision, Block, Combat, Skills, Commands · Chat, Player, Item, Entity, Survival, Motion, Inventory |
| Conditions | 16 | World, Flowing, Zone, Variables · functions, Combat, Skills, Commands · Chat, Player, Entity, Block, Item |
| Actions | 109 | World, Actor, View, Flowing, Zone, Variables · functions, Collision, Block, Combat, Skills, Commands · Chat, Calculate, Vector, Text, List, Player, Entity, Boss, World · time, Sound · particles, Item |
Triggers
Section titled “Triggers”enter — On zone enter
Section titled “enter — On zone enter”“Player’s feet go from outside → inside the trigger zone”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
actor | Actor | yes | “Zone” — actors: trigger |
Event plugin: core.zone
leave — On zone leave
Section titled “leave — On zone leave”“Inside → outside”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
actor | Actor | yes | “Zone” — actors: trigger |
Event plugin: core.zone
inside — While in zone
Section titled “inside — While in zone”“Every “every” seconds after entering (not at the moment of entry)”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
actor | Actor | yes | “Zone” — actors: trigger | |
every | Number | 1 | “Interval (s)” |
Event plugin: core.zone
interact — Right-click actor
Section titled “interact — Right-click actor”“Right-click a display·text actor or an interaction component (trigger box) (editor Play: look at it and press F or right-click)”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
actor | Actor | yes | “Actor” — actors: display · text · trigger |
Event plugin: core.actor
anim_finished — When a sequence ends
Section titled “anim_finished — When a sequence ends”“When a sequence played with anim_play reaches its end (not when stopped with anim_stop). Leave the sequence empty for any sequence — inherits the triggering person of the rule that played it”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
anim | Anim | “Sequence — A sequence from the Sequencer (camera cuts · titles · sounds · actor movement). A model’s bone animation is not chosen here — set it in the display actor’s Details › Animation” |
Event plugin: core.actor
physics_impact — When a physics object hits
Section titled “physics_impact — When a physics object hits”“A physics object hits a block · another object · a player (once per other per tick) — {body} · {other} · {impulse} · {force} · {speed} · {pos}”
Does not fire by itself in play preview — use the Fire button.
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
body | Actor | “Physics object (empty = any)” — actors: physics | ||
min_impulse | Number | 0 | “Minimum impulse (physics settings unit) — Impulse = mass × change in velocity — in the world physics settings’ mass unit (Real = N·s: a stone block falling 1 block gives about 11,000 · Game = stone block·m/s: about 4.4). Changing the unit recomputes this value for the same strength” | |
min_speed | Number | 2 | “Minimum speed (blocks/s) — The speed it was approaching at the moment of impact” |
Event plugin: core.actor
Flowing
Section titled “Flowing”timer — Timer (global)
Section titled “timer — Timer (global)”“Every “every” seconds after the scene starts — no triggering player”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
every | Number | 10 | “Interval (s)” |
Event plugin: core.flow
start — On start (scene start)
Section titled “start — On start (scene start)”“Once when the scene loads — server start · scene reload (editor: ▶ Play start). Inside actor logic = when that actor spawns (BeginPlay)”
Event plugin: core.flow
signal — On signal
Section titled “signal — On signal”“Sent by another rule’s signal action (inherits the sending rule’s player)”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
name | Signal | yes | “Signal name” |
Event plugin: core.flow
tick — Every tick (server tick)
Section titled “tick — Every tick (server tick)”“Every server tick (20 TPS). For light work (variables · comparisons · action bar) — for heavy work (filling blocks · spawning mobs) use a larger every”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
every | Number | 1 | “Every N ticks — 1 = every tick (20 times a second) · 20 = every second · 200 = every 10 seconds” | |
per | Enum | once | “Run for — once = once (no triggering player) · each = for each online player (triggering player = that player)” — Options: once · each |
Event plugin: core.flow
join — When a player joins
Section titled “join — When a player joins”“A player joins the server (scene) — triggering player = the one who joined (editor: Play start = join)”
Event plugin: core.flow
Variables · functions
Section titled “Variables · functions”function — Function
Section titled “function — Function”“Never fires on its own — called by the call · sequence · branch · repeat · for_each_player actions (inherits the caller’s player). If its conditions are false the function is skipped”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
name | Function | yes | “Function name” | |
params | Text | “Parameter names — Comma separated (e.g. amount, target) — the values given in the call become local variables {amount}” |
Event plugin: core.vars
Collision
Section titled “Collision”collide — On collide
Section titled “collide — On collide”“When the player’s body (0.6×1.8) touches the actor box (gap ≤ 0.05) — per player; again after leaving and touching again”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
actor | Actor | yes | “Box (blocker·trigger·display)” — actors: blocker · trigger · display | |
cooldown_ticks | Number | 10 | “Cooldown (ticks) — 20 ticks = 1 s. Fires again only after contact ends and it is touched again” |
Event plugin: np.collision
projectile_hit — On projectile hit
Section titled “projectile_hit — On projectile hit”“When a projectile shot by a player hits a block·entity inside the actor box (triggering player = shooter). Editor Play: “Fire” button”
Does not fire by itself in play preview — use the Fire button.
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
actor | Actor | yes | “Box (blocker·trigger·display)” — actors: blocker · trigger · display | |
projectile | Enum | any | “Projectile” — Options: any · arrow · trident · snowball · egg · fireball · potion |
Event plugin: np.collision
block_break — On block break
Section titled “block_break — On block break”“A player breaks a matching block in the zone (or chosen blocks · anywhere) — {block} · {block_pos}. Editor play: left-click while possessed (or “Fire”)”
Does not fire by itself in play preview — use the Fire button.
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
area | Enum | zone | “Where — zone = inside the zone (trigger actor) · blocks = only the picked block cells (set from selection) · anywhere = anywhere (whole world)” — Options: zone · blocks · anywhere | |
actor | Actor | yes | “Zone” — actors: trigger — only when area=zone | |
cells | Cells | yes | “Selected block — Select blocks in the viewport, then “From selection”” — only when area=blocks | |
block | Block | “Block (empty = any) — minecraft:oak_log or #minecraft:logs” |
Event plugin: np.blocks
block_place — On block place
Section titled “block_place — On block place”“A player places a matching block in the zone (or chosen blocks · anywhere) — {block} · {block_pos}. Editor play: block in main hand + right-click (or “Fire”)”
Does not fire by itself in play preview — use the Fire button.
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
area | Enum | zone | “Where — zone = inside the zone (trigger actor) · blocks = only the picked block cells (set from selection) · anywhere = anywhere (whole world)” — Options: zone · blocks · anywhere | |
actor | Actor | yes | “Zone” — actors: trigger — only when area=zone | |
cells | Cells | yes | “Selected block — Select blocks in the viewport, then “From selection”” — only when area=blocks | |
block | Block | “Block (empty = any) — minecraft:oak_log or #minecraft:logs” |
Event plugin: np.blocks
block_interact — On block right-click
Section titled “block_interact — On block right-click”“A player right-clicks a matching block in the zone (or chosen blocks · anywhere) (button · lever · chest …) — {block} · {block_pos}. Editor play: right-click (or “Fire”)”
Does not fire by itself in play preview — use the Fire button.
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
area | Enum | zone | “Where — zone = inside the zone (trigger actor) · blocks = only the picked block cells (set from selection) · anywhere = anywhere (whole world)” — Options: zone · blocks · anywhere | |
actor | Actor | yes | “Zone” — actors: trigger — only when area=zone | |
cells | Cells | yes | “Selected block — Select blocks in the viewport, then “From selection”” — only when area=blocks | |
block | Block | “Block (empty = any) — minecraft:oak_log or #minecraft:logs” |
Event plugin: np.blocks
redstone — Redstone signal
Section titled “redstone — Redstone signal”“Redstone power of a block in the zone changes between 0 ↔ above 0 — no triggering player. Editor Play: “Fire” button”
Does not fire by itself in play preview — use the Fire button.
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
actor | Actor | yes | “Zone” — actors: trigger | |
edge | Enum | rising | “When — rising = turns on · falling = turns off · both = changes” — Options: rising · falling · both |
Event plugin: np.blocks
sign_change — On sign edit
Section titled “sign_change — On sign edit”“Sign text finished — {line1} ~ {line4} · {text}. Cancel = the text isn’t changed”
NPBridge 2.4.0 or later
Does not fire by itself in play preview — use the Fire button.
Event plugin: np.player
Combat
Section titled “Combat”death — On player death
Section titled “death — On player death”“A player dies (inside the zone, if given) — triggering player = the one who died. Editor Play: “Fire” button”
Does not fire by itself in play preview — use the Fire button.
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
actor | Actor | “Zone (empty = anywhere)” — actors: trigger |
Event plugin: np.combat
damage — On damage
Section titled “damage — On damage”“A player takes at least min damage from that cause (inside the zone, if given). Editor Play: “Fire” button”
Does not fire by itself in play preview — use the Fire button.
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
actor | Actor | “Zone (empty = anywhere)” — actors: trigger | ||
cause | Enum | any | “Cause” — Options: any · fall · fire · lava · drown · entity · projectile · void | |
min | Number | 0 | “Min damage (HP)” |
Event plugin: np.combat
attack — When attacking
Section titled “attack — When attacking”“A player (or their projectile) hits a living entity — {target} · {damage} · {weapon} · {critical} … triggering player = attacker (cancellable)”
Does not fire by itself in play preview — use the Fire button.
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
entity | Text | “Type — minecraft:zombie · #minecraft:undead · empty = any” | ||
name | Text | “Name — Custom name · spawn name (empty = any)” | ||
min | Number | 0 | “Min damage (HP)” |
Event plugin: np.events
kill — On kill
Section titled “kill — On kill”“A player kills a mob · player (last hit) — {target} · {target_type} · {weapon}. Triggering player = the killer (for the player who died, use “On player death”)”
NPBridge 2.4.0 or later
Does not fire by itself in play preview — use the Fire button.
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
entity | Text | “Type — minecraft:zombie · #minecraft:undead · empty = any” | ||
name | Text | “Name — Custom name · spawn name (empty = any)” |
Event plugin: np.player
projectile_launch — On projectile launch
Section titled “projectile_launch — On projectile launch”“A player shoots a bow · trident · snowball · ender pearl etc. — {projectile} · {projectile_entity}”
NPBridge 2.4.0 or later
Does not fire by itself in play preview — use the Fire button.
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
projectile | Enum | any | “Projectile” — Options: any · arrow · trident · snowball · egg · ender_pearl · potion · fireball · other |
Event plugin: np.player
Skills
Section titled “Skills”item_use — Use item (cast skill)
Section titled “item_use — Use item (cast skill)”“When a player clicks while holding the item (triggering player = user). Editor play: “Fire” button”
Does not fire by itself in play preview — use the Fire button.
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
item | Item | yes | minecraft:blaze_rod | “Item — Holding this item (main hand) — tags like #minecraft:swords work too” |
click | Enum | right | “Click — right = right-click · left = left-click · sneak_right = sneak + right-click · swap = F (swap-hands key)” — Options: right · left · sneak_right · swap | |
name | Text | “Item name (optional) — Empty = any name — otherwise only when the display name matches (tells skill items apart)” | ||
cancel_use | Bool | true | “Cancel normal use — Blocks the normal action such as placing or eating” |
Event plugin: np.skills
mob_death — When a named mob dies
Section titled “mob_death — When a named mob dies”“A mob with that name dies (triggering player = last player who hit it, if any). Editor play: “Fire” button”
Does not fire by itself in play preview — use the Fire button.
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
name | Text | yes | “Mob name — Name from “Spawn mob” (or a name tag) — boss phases · kill rewards” | |
actor | Actor | “Zone (empty = anywhere)” — actors: trigger |
Event plugin: np.skills
Commands · Chat
Section titled “Commands · Chat”custom_command — When a command is entered
Section titled “custom_command — When a command is entered”“A player types /name — the server registers it as a real command (tab completion · permission · argument check). Arguments are used as {name} variables; send results with “Send command result”. Editor Play: chat box (Enter · /)”
NPBridge 2.4.0 or later
Does not fire by itself in play preview — use the Fire button.
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
name | Text | yes | quest | “Command name — Without the slash — letters · digits · _ · - (Korean allowed, up to 32 characters)” |
aliases | Text | “Aliases — Comma-separated — e.g. quest, q” | ||
args | Text | “Arguments — name:type required · [name:type] optional — types: word · text (the rest of the line) · int · number · bool · player · a|b. Range: int(1..64) · autocomplete: =a|b. e.g. mode:easy\|hard [amount:int(1..64)=1|16|64]” | ||
permission | Text | “Permission — Empty = anyone — e.g. myserver.quest (hidden from the command list · autocomplete for players without it)” | ||
description | Text | “Description — Shown in /help · above the usage” |
Event plugin: np.chat
player_chat — When chat is sent (before it goes out)
Section titled “player_chat — When chat is sent (before it goes out)”“Before the chat actually goes out — you can use “Void this chat”, “Change chat text” and event cancel. {message} = the text. Editor Play: chat box (Enter)”
NPBridge 2.4.0 or later
Does not fire by itself in play preview — use the Fire button.
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
match | Enum | any | “Match — any = all chats · contains = contains the text · starts_with = starts with the text · equals = equals the text” — Options: any · contains · starts_with · equals | |
text | Text | “Text — Text to match (empty = all chats)” — only when match=contains|starts_with|equals | ||
ignore_case | Bool | true | “Ignore case” |
Event plugin: np.chat
Player
Section titled “Player”chat — When chatting
Section titled “chat — When chatting”“A player chats — {message}. The server runs the rule on the next tick (async chat)”
Does not fire by itself in play preview — use the Fire button.
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
contains | Text | “Contains text — Only when it contains this text (case-insensitive, empty = any chat)” | ||
hide | Bool | false | “Hide chat — If it matches, other players don’t see that chat” |
Event plugin: np.events
player_command — When a command is typed
Section titled “player_command — When a command is typed”“A player types /command — {command} · {args} · {arg1} …”
Does not fire by itself in play preview — use the Fire button.
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
command | Text | yes | quest | “Command — Without the slash (e.g. quest → /quest)” |
hide | Bool | true | “Block other command handling — If on, no “unknown command” message (this command is for this rule only)” |
Event plugin: np.events
quit — When leaving
Section titled “quit — When leaving”“A player leaves the server (different from leave, which is leaving a zone)”
Does not fire by itself in play preview — use the Fire button.
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
actor | Actor | “Zone (empty = anywhere)” — actors: trigger |
Event plugin: np.events
respawn — When respawning
Section titled “respawn — When respawning”“A player respawns — {pos} · {bed}. The server runs on the tick after respawning”
Does not fire by itself in play preview — use the Fire button.
Event plugin: np.events
sneak — When sneaking
Section titled “sneak — When sneaking”“A player sneaks (Shift) — {sneaking}”
Does not fire by itself in play preview — use the Fire button.
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
state | Enum | start | “When — start = starts sneaking · stop = stands up · both = both” — Options: start · stop · both |
Event plugin: np.events
jump — When jumping
Section titled “jump — When jumping”“A player jumps (inside the zone if one is given)”
Does not fire by itself in play preview — use the Fire button.
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
actor | Actor | “Zone (empty = anywhere)” — actors: trigger |
Event plugin: np.events
level_change — When the level changes
Section titled “level_change — When the level changes”“Experience level changes — {old_level} · {new_level}”
Does not fire by itself in play preview — use the Fire button.
Event plugin: np.events
world_change — When changing worlds
Section titled “world_change — When changing worlds”“Goes to another world — {from_world} · {world}”
Does not fire by itself in play preview — use the Fire button.
Event plugin: np.events
first_join — On first join
Section titled “first_join — On first join”“A player joins this server for the first time (only once — first-time items · guidance). Editor Play: counts as first every time Play starts”
NPBridge 2.4.0 or later
Event plugin: np.player
resource_pack — Resource pack response
Section titled “resource_pack — Resource pack response”“Accepted or declined the resource pack — {status}”
NPBridge 2.4.0 or later
Does not fire by itself in play preview — use the Fire button.
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
status | Enum | any | “Status — loaded = downloaded and applied · declined = declined · failed = download failed · accepted = download started” — Options: any · accepted · loaded · declined · failed |
Event plugin: np.player
advancement — On advancement
Section titled “advancement — On advancement”“Advancement completed — {advancement} · {title}”
NPBridge 2.4.0 or later
Does not fire by itself in play preview — use the Fire button.
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
advancement | Text | “Advancement — Empty = any — e.g. minecraft:story/mine_stone (recipes/* doesn’t fire)” |
Event plugin: np.player
gamemode_change — On game mode change
Section titled “gamemode_change — On game mode change”“Game mode changed — {old_mode} → {new_mode} · {cause}”
NPBridge 2.4.0 or later
Does not fire by itself in play preview — use the Fire button.
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
mode | Enum | any | “New mode” — Options: any · survival · adventure · creative · spectator |
Event plugin: np.player
bed_enter — On bed enter
Section titled “bed_enter — On bed enter”“Lay down in a bed — {bed_pos} · {result} (ok = sleeps · others = the reason it can’t sleep)”
NPBridge 2.4.0 or later
Does not fire by itself in play preview — use the Fire button.
Event plugin: np.player
bed_leave — On bed leave
Section titled “bed_leave — On bed leave”“Got out of bed — {bed_pos}”
NPBridge 2.4.0 or later
Does not fire by itself in play preview — use the Fire button.
Event plugin: np.player
click — On click (air · block · step)
Section titled “click — On click (air · block · step)”“Clicked with the main hand — {button} · {target} · {item} · {block}. Right-click on air only reaches the server when something is held in the hand (Minecraft rule). Cancel = blocks breaking · placing · using. Editor Play: left · right click”
NPBridge 2.4.0 or later
Does not fire by itself in play preview — use the Fire button.
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
button | Enum | any | “Button — left = left (attack) · right = right (use)” — Options: any · left · right | |
target | Enum | any | “Click target — air = air · block = block · physical = stepping (pressure plate · farmland)” — Options: any · air · block · physical | |
item | Item | “Item (empty = any) — Item id · #tag” |
Event plugin: np.player
item_pickup — When picking up an item
Section titled “item_pickup — When picking up an item”“A player picks up an item — {item} · {count} (cancellable)”
Does not fire by itself in play preview — use the Fire button.
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
item | Item | “Item (empty = any) — Item id · #tag” |
Event plugin: np.events
item_drop — When dropping an item
Section titled “item_drop — When dropping an item”“A player drops an item (Q) — {item} · {count} (cancellable)”
Does not fire by itself in play preview — use the Fire button.
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
item | Item | “Item (empty = any) — Item id · #tag” |
Event plugin: np.events
item_consume — When eating or drinking
Section titled “item_consume — When eating or drinking”“A player eats food · drinks a potion — {item} (cancellable)”
Does not fire by itself in play preview — use the Fire button.
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
item | Item | “Item (empty = any) — Item id · #tag” |
Event plugin: np.events
held_change — On held item change
Section titled “held_change — On held item change”“Hotbar slot changed (number key · wheel) — {old_slot} → {new_slot} · {item}”
NPBridge 2.4.0 or later
Does not fire by itself in play preview — use the Fire button.
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
item | Item | “Item (empty = any) — Item id · #tag” |
Event plugin: np.player
swap_hands — Swap hands (F)
Section titled “swap_hands — Swap hands (F)”“Swapped hands with the F key — {main_item} · {off_item} (after swapping)”
NPBridge 2.4.0 or later
Does not fire by itself in play preview — use the Fire button.
Event plugin: np.player
armor_change — On armor change
Section titled “armor_change — On armor change”“Helmet · chestplate · leggings · boots changed — {slot} · {old_item} → {new_item}”
NPBridge 2.4.0 or later
Does not fire by itself in play preview — use the Fire button.
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
slot | Enum | any | “Placement” — Options: any · head · chest · legs · feet |
Event plugin: np.player
item_break — On tool break
Section titled “item_break — On tool break”“Tool · armor wore out and broke — {item}”
NPBridge 2.4.0 or later
Does not fire by itself in play preview — use the Fire button.
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
item | Item | “Item (empty = any) — Item id · #tag” |
Event plugin: np.player
craft — On craft
Section titled “craft — On craft”“Made an item at a crafting table · in the inventory — {item} · {count}”
NPBridge 2.4.0 or later
Does not fire by itself in play preview — use the Fire button.
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
item | Item | “Item (empty = any) — Item id · #tag” |
Event plugin: np.player
enchant — On enchant
Section titled “enchant — On enchant”“Enchanted at an enchanting table — {item} · {enchants} · {cost}”
NPBridge 2.4.0 or later
Does not fire by itself in play preview — use the Fire button.
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
item | Item | “Item (empty = any) — Item id · #tag” |
Event plugin: np.player
fish — On fishing
Section titled “fish — On fishing”“Fishing — {state} · {caught} · {exp}”
NPBridge 2.4.0 or later
Does not fire by itself in play preview — use the Fire button.
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
state | Enum | any | “Status — caught_fish = caught a fish · treasure · caught_entity = pulled in an entity · bite = bite · fishing = cast the bobber · reel_in = reeled in an empty rod · in_ground = snagged on the ground · failed = missed” — Options: any · caught_fish · caught_entity · bite · fishing · reel_in · in_ground · failed |
Event plugin: np.player
bucket — On bucket use
Section titled “bucket — On bucket use”“Scooped up or poured water · lava with a bucket — {action} · {block} · {block_pos}”
NPBridge 2.4.0 or later
Does not fire by itself in play preview — use the Fire button.
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
action | Enum | any | “Actions — fill = scoop up (water · lava · milk) · empty = pour out” — Options: any · fill · empty | |
block | Block | “Block (empty = any) — minecraft:oak_log or #minecraft:logs” |
Event plugin: np.player
trade — On villager trade
Section titled “trade — On villager trade”“Traded with a villager · wandering trader — {item} · {count} · {villager}”
NPBridge 2.4.0 or later
Does not fire by itself in play preview — use the Fire button.
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
item | Item | “Item (empty = any) — Item id · #tag” |
Event plugin: np.player
Entity
Section titled “Entity”interact_entity — When right-clicking an entity
Section titled “interact_entity — When right-clicking an entity”“A player right-clicks a mob · entity — {target} · {target_type} · {target_name} (scene actors use the interact trigger)”
Does not fire by itself in play preview — use the Fire button.
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
entity | Text | “Type — minecraft:zombie · #minecraft:undead · empty = any” | ||
name | Text | “Name — Custom name · spawn name (empty = any)” |
Event plugin: np.events
entity_damage — When an entity takes damage
Section titled “entity_damage — When an entity takes damage”“A non-player living entity (mob) takes damage — {victim} · {damage} · {attacker} … triggering player = attacking player (none if none, cancellable)”
Does not fire by itself in play preview — use the Fire button.
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
entity | Text | “Type — minecraft:zombie · #minecraft:undead · empty = any” | ||
name | Text | “Name — Custom name · spawn name (empty = any)” | ||
cause | Enum | any | “Cause” — Options: any · fall · fire · lava · drown · entity · projectile · void | |
actor | Actor | “Zone (empty = anywhere)” — actors: trigger | ||
min | Number | 0 | “Min damage (HP)” |
Event plugin: np.events
entity_death — When an entity dies
Section titled “entity_death — When an entity dies”“A non-player living entity dies (even unnamed) — {victim} · {killer} … triggering player = killing player”
Does not fire by itself in play preview — use the Fire button.
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
entity | Text | “Type — minecraft:zombie · #minecraft:undead · empty = any” | ||
name | Text | “Name — Custom name · spawn name (empty = any)” | ||
actor | Actor | “Zone (empty = anywhere)” — actors: trigger |
Event plugin: np.events
tame — On tame
Section titled “tame — On tame”“Tamed a wolf · cat · horse etc. — {target} · {target_type}”
NPBridge 2.4.0 or later
Does not fire by itself in play preview — use the Fire button.
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
entity | Text | “Type — minecraft:zombie · #minecraft:undead · empty = any” |
Event plugin: np.player
breed — On breed
Section titled “breed — On breed”“Bred animals (the player who fed them) — {target} · {child}”
NPBridge 2.4.0 or later
Does not fire by itself in play preview — use the Fire button.
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
entity | Text | “Type — minecraft:zombie · #minecraft:undead · empty = any” |
Event plugin: np.player
Survival
Section titled “Survival”food_change — On hunger change
Section titled “food_change — On hunger change”“Hunger (0~20) changed — {old_food} → {new_food}”
NPBridge 2.4.0 or later
Does not fire by itself in play preview — use the Fire button.
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
change | Enum | any | “Changed — up = increased (ate) · down = decreased (got hungry)” — Options: any · up · down |
Event plugin: np.player
regain_health — On health regain
Section titled “regain_health — On health regain”“Health regained — {amount} · {reason} · {health}. Fires often”
NPBridge 2.4.0 or later
Does not fire by itself in play preview — use the Fire button.
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
reason | Enum | any | “Reason — regen = natural regeneration (peaceful) · satiated = from being full · eating = from eating · magic = potion · effect” — Options: any · regen · satiated · eating · magic · other |
Event plugin: np.player
potion_effect — On potion effect change
Section titled “potion_effect — On potion effect change”“A potion effect was applied or removed — {effect} · {change} · {amplifier}”
NPBridge 2.4.0 or later
Does not fire by itself in play preview — use the Fire button.
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
effect | Effect | “Effect (empty = any) — minecraft:speed · minecraft:jump_boost · minecraft:regeneration …” | ||
change | Enum | any | “Changed — added = newly applied · removed = removed (expired · milk) · changed = strength · duration changed” — Options: any · added · removed · changed |
Event plugin: np.player
exp_change — On experience gain
Section titled “exp_change — On experience gain”“Gained experience from experience orbs etc. — {amount}. Cancel = 0”
NPBridge 2.4.0 or later
Does not fire by itself in play preview — use the Fire button.
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
min | Number | 0 | “Minimum experience” |
Event plugin: np.player
Motion
Section titled “Motion”move — On move
Section titled “move — On move”“A player moves — {from} → {to} · {distance}. A very frequent event, so it is thinned by interval and distance (entering/leaving a zone is lighter with “When entering a zone”). Cancel = that step only — to keep players out of a zone, use “Block entry (no-entry zone)””
NPBridge 2.4.0 or later
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
actor | Actor | “Zone (empty = anywhere)” — actors: trigger | ||
block_entry | Bool | false | “Block entry (no-entry zone) — On: a move from outside into the zone is always blocked (when the conditions are true) and the player is sent back to the last outside spot — regardless of interval, distance, cooldown or once (once · cooldown only apply to the notification actions, the permission filter = who gets blocked); players who started inside or were teleported in can leave; this rule only runs when someone tries to enter. Off: a normal move rule (cancel = that step only)” | |
every | Number | 0.5 | “Interval (s) — Doesn’t fire more often than this interval for the same player” | |
min_distance | Number | 1 | “Minimum distance (blocks) — When moved this far since last time” |
Event plugin: np.player
sprint — On sprint start · stop
Section titled “sprint — On sprint start · stop”“Starts or stops sprinting — {sprinting}. Editor play: Ctrl + forward”
NPBridge 2.4.0 or later
Does not fire by itself in play preview — use the Fire button.
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
state | Enum | start | “When — start = when it starts · stop = when it stops · both = both” — Options: start · stop · both |
Event plugin: np.player
flight — On flight toggle
Section titled “flight — On flight toggle”“Flight toggled on/off (Creative · allowed players — double-tap Space) — {flying}”
NPBridge 2.4.0 or later
Does not fire by itself in play preview — use the Fire button.
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
state | Enum | start | “When — start = when it starts · stop = when it stops · both = both” — Options: start · stop · both |
Event plugin: np.player
glide — On elytra glide
Section titled “glide — On elytra glide”“Elytra glide started · stopped — {gliding}”
NPBridge 2.4.0 or later
Does not fire by itself in play preview — use the Fire button.
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
state | Enum | start | “When — start = when it starts · stop = when it stops · both = both” — Options: start · stop · both |
Event plugin: np.player
swim — On swim start · stop
Section titled “swim — On swim start · stop”“Swimming (sprinting underwater) started · stopped — {swimming}”
NPBridge 2.4.0 or later
Does not fire by itself in play preview — use the Fire button.
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
state | Enum | start | “When — start = when it starts · stop = when it stops · both = both” — Options: start · stop · both |
Event plugin: np.player
teleport — On teleport
Section titled “teleport — On teleport”“A player teleported — {from} → {to} · {cause}”
NPBridge 2.4.0 or later
Does not fire by itself in play preview — use the Fire button.
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
cause | Enum | any | “Cause — command = /tp · ender_pearl · chorus_fruit · portal = Nether · End portals · spectate = spectating · plugin = another plugin (the scene’s own teleports don’t fire)” — Options: any · command · ender_pearl · chorus_fruit · portal · spectate · plugin · other |
Event plugin: np.player
mount — On mount
Section titled “mount — On mount”“Mounted a horse · boat · minecart etc. — {vehicle} · {vehicle_type}”
NPBridge 2.4.0 or later
Does not fire by itself in play preview — use the Fire button.
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
entity | Text | “Type — minecraft:zombie · #minecraft:undead · empty = any” |
Event plugin: np.player
dismount — On dismount
Section titled “dismount — On dismount”“Got off a vehicle — {vehicle} · {vehicle_type}”
NPBridge 2.4.0 or later
Does not fire by itself in play preview — use the Fire button.
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
entity | Text | “Type — minecraft:zombie · #minecraft:undead · empty = any” |
Event plugin: np.player
Inventory
Section titled “Inventory”inventory_open — On inventory open
Section titled “inventory_open — On inventory open”“Opened an inventory such as a chest · furnace — {inventory} · {title}”
NPBridge 2.4.0 or later
Does not fire by itself in play preview — use the Fire button.
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
inventory | Enum | any | “Inventory type — chest · ender_chest · barrel · shulker_box · furnace · crafting · anvil · enchanting · merchant · hopper · dispenser · other (the server doesn’t know a player’s own bag)” — Options: any · chest · ender_chest · barrel · shulker_box · furnace · crafting · anvil · enchanting · merchant · hopper · dispenser · other |
Event plugin: np.player
inventory_close — On inventory close
Section titled “inventory_close — On inventory close”“Inventory closed — {inventory} · {title}”
NPBridge 2.4.0 or later
Does not fire by itself in play preview — use the Fire button.
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
inventory | Enum | any | “Inventory type — chest · ender_chest · barrel · shulker_box · furnace · crafting · anvil · enchanting · merchant · hopper · dispenser · other (the server doesn’t know a player’s own bag)” — Options: any · chest · ender_chest · barrel · shulker_box · furnace · crafting · anvil · enchanting · merchant · hopper · dispenser · other |
Event plugin: np.player
inventory_click — On inventory click
Section titled “inventory_click — On inventory click”“Clicked an inventory slot — {slot} · {click} · {item} · {cursor}. Cancel = the item doesn’t move (shops · menus)”
NPBridge 2.4.0 or later
Does not fire by itself in play preview — use the Fire button.
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
inventory | Enum | any | “Inventory type — chest · ender_chest · barrel · shulker_box · furnace · crafting · anvil · enchanting · merchant · hopper · dispenser · other (the server doesn’t know a player’s own bag)” — Options: any · chest · ender_chest · barrel · shulker_box · furnace · crafting · anvil · enchanting · merchant · hopper · dispenser · other | |
item | Item | “Item (empty = any) — Item id · #tag” | ||
click | Enum | any | “Click — left · right = left · right click · shift = Shift+click · number = number key · drop = Q · double = double-click” — Options: any · left · right · shift · number · drop · double |
Event plugin: np.player
Conditions
Section titled “Conditions”time — Time of day
Section titled “time — Time of day”“Day = 06~18 h”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
value | Enum | day | “Time of day” — Options: day · night |
Event plugin: core.world
weather — Weather
Section titled “weather — Weather”| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
value | Enum | clear | “Weather” — Options: clear · rain · thunder |
Event plugin: core.world
permission — Permission
Section titled “permission — Permission”| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
node | Text | yes | “Permission node” |
Event plugin: core.world
Flowing
Section titled “Flowing”flag — Flag
Section titled “flag — Flag”| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
name | Flag | yes | “Flag” | |
value | FlagValue | true | “Values — Missing flag = false” |
Event plugin: core.flow
chance — Chance
Section titled “chance — Chance”| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
value | Number | 0.5 | “Chance (0~1)” |
Event plugin: core.flow
players_inside — Players in zone
Section titled “players_inside — Players in zone”| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
actor | Actor | yes | “Zone” — actors: trigger | |
min | Number | 1 | “Min” | |
max | Number | -1 | “Max (-1 = unlimited)” |
Event plugin: core.zone
Variables · functions
Section titled “Variables · functions”compare — Compare
Section titled “compare — Compare”| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
left | Text | yes | {score} | “Left — Expression — {variable} · numbers · + - * / %” |
op | Enum | == | “Compare — == != < <= > >= (numbers) · contains · starts_with (text)” — Options: == · != · < · <= · > · >= · contains · starts_with | |
right | Text | 10 | “Right — Expression” |
Event plugin: core.vars
expr — If expression is true
Section titled “expr — If expression is true”“Several conditions in one expression — e.g. {hp} < 5 or ({armed} and {mana} >= 10)”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
expr | Text | yes | {score} >= 10 and {alive} | “Expression — Expression — compare == != < <= > >= · and (&&) · or (||) · not (!) · parentheses · {variable} · text in quotes (‘mage’) · math functions sin(…) dist(…) …” |
Event plugin: core.vars
Combat
Section titled “Combat”holding — Holding
Section titled “holding — Holding”“The triggering player is holding that item (editor Play: the “fake player“‘s hand)”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
item | Item | yes | “Item — minecraft:diamond_sword or #minecraft:swords” | |
hand | Enum | main | “Hand — main = main hand · off = off hand · any = either hand” — Options: main · off · any |
Event plugin: np.combat
gamemode — Game mode
Section titled “gamemode — Game mode”“Game mode of the triggering player”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
value | Enum | yes | survival | “Mode” — Options: survival · adventure · creative · spectator |
Event plugin: np.combat
Skills
Section titled “Skills”cooldown — Cooldown
Section titled “cooldown — Cooldown”“True when the cooldown is over — and restarts it right away (the actions then run). False while cooling down”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
key | Text | yes | skill | “Name — Same name shares the cooldown (skill name)” |
seconds | Number | yes | 5 | “s” |
per | Enum | player | “Per — player = per person · global = one for the whole server” — Options: player · global | |
notify | Bool | true | “Show time left — While cooling down, seconds left on the action bar” |
Event plugin: np.skills
Commands · Chat
Section titled “Commands · Chat”text_match — Text compare
Section titled “text_match — Text compare”“If the text starts with · contains · equals · ends with · matches a regular expression”
NPBridge 2.4.0 or later
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
text | Text | {message} | “Text — Text to compare — {variable} is replaced (chat = {message} · command argument = {name})” | |
op | Enum | starts_with | “Compare — starts_with = starts with · contains = contains · equals = equals · ends_with = ends with · regex = regular expression” — Options: starts_with · contains · equals · ends_with · regex | |
value | Text | yes | “Values — Text to match (a regular expression for regex — {variable} is not replaced in regex)” | |
ignore_case | Bool | true | “Ignore case” |
Event plugin: np.chat
Player
Section titled “Player”has_item — If has item
Section titled “has_item — If has item”“If the inventory has at least that many of the item”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
target | Text | {player} | “Player — Player name · UUID — empty · {player} = triggering player. Via pin: {attacker_player} · {victim} …” | |
item | Item | yes | minecraft:emerald | “Item — Item id · #tag” |
count | Number | 1 | “At least count” | |
tag | Text | “Custom tag filter — key · key=value · !key (comma = all) — custom tags from “Give item (name · tags · enchants)”. Empty = not checked” | ||
name | Text | “Name filter — Only items with this display name — empty = not checked” |
Event plugin: core.objects
Entity
Section titled “Entity”has_tag — If has tag
Section titled “has_tag — If has tag”“If the player or mob has the tag”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
target | Text | {player} | “Who — Entity UUID · player name — via pin {attacker} · {victim} · {target} …” | |
tag | Text | yes | boss | “Tags — scoreboard tag” |
Event plugin: np.game
block_is — If block is ~
Section titled “block_is — If block is ~”“If the block at that position matches”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
pos | Vec3 | yes | “Placement” | |
block | Block | yes | minecraft:stone | “Block — Block id · #tag” |
Event plugin: core.objects
item_tag — If item has tag
Section titled “item_tag — If item has tag”“If the custom tags of the item in a hand or armor slot match (keys · quest items)”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
target | Text | {player} | “Who — Entity UUID · player name — via pin {attacker} · {victim} · {target} …” | |
slot | Enum | hand | “Placement” — Options: hand · offhand · head · chest · legs · feet | |
tag | Text | yes | key | “Tags — key · key=value · !key (comma = all)” |
item | Item | “Item (optional) — id · #tag — empty = not checked” |
Event plugin: np.game
Actions
Section titled “Actions”sound — Sound
Section titled “sound — Sound”| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
event | SoundEvent | yes | “Sound events” | |
at | Actor | “Position (actor) — If empty, the triggering player’s position” | ||
volume | Number | 1 | “Size” | |
pitch | Number | 1 | “Pitch” | |
audience | Enum | player | “To whom — player = triggering player · inside = everyone in the zone · world = everyone in the world · radius = within r blocks of at” — Options: player · inside · world · radius | |
r | Number | 16 | “Radius (r)” — only when audience=radius |
Event plugin: core.world
particle — Particle
Section titled “particle — Particle”| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
particle | Particle | yes | minecraft:happy_villager | “Particle” |
at | Actor | “Position (actor) — If empty, the triggering player’s position” | ||
count | Number | 10 | “Count” |
Event plugin: core.world
command — Server command
Section titled “command — Server command”“Console command — runs only if an operator enables it in server settings (off by default). The editor only logs it, without running”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
command | Text | yes | “Command (without /)” |
Event plugin: core.world
anim_play — Play sequence
Section titled “anim_play — Play sequence”| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
anim | Anim | yes | “Sequence — A sequence from the Sequencer (camera cuts · titles · sounds · actor movement). A model’s bone animation is not chosen here — set it in the display actor’s Details › Animation” | |
audience | Enum | player | “Cutscene viewers — Who sees the Sequencer tracks (camera cuts·titles·sounds·fades): player = triggering player (whole world if none) · inside · world · radius. Actor movement is always shown to everyone” — Options: player · inside · world · radius | |
at | Actor | “Reference actor — If empty, the triggering player’s position” — only when audience=radius | ||
r | Number | 16 | “Radius (r)” — only when audience=radius | |
wait | Bool | false | “Wait until it ends — When on, the next action runs after the sequence ends (one cycle for a looping sequence)” |
Event plugin: core.actor
anim_stop — Stop sequence
Section titled “anim_stop — Stop sequence”“Stops in place (event keys and the finished signal stop too)”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
anim | Anim | yes | “Sequence — A sequence from the Sequencer (camera cuts · titles · sounds · actor movement). A model’s bone animation is not chosen here — set it in the display actor’s Details › Animation” |
Event plugin: core.actor
actor_show — Show actor
Section titled “actor_show — Show actor”| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
actor | Actor | yes | “Actor” — actors: display · text · light · sound · blockgroup |
Event plugin: core.actor
actor_hide — Hide actor
Section titled “actor_hide — Hide actor”| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
actor | Actor | yes | “Actor” — actors: display · text · light · sound · blockgroup |
Event plugin: core.actor
teleport — Teleport
Section titled “teleport — Teleport”“Moves the triggering player to that actor’s position·facing”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
to | Actor | yes | “Destination (spawn·camera)” — actors: spawn · camera |
Event plugin: core.actor
checkpoint — Checkpoint
Section titled “checkpoint — Checkpoint”“Added in v1: sets the triggering player’s respawn point to that spawn actor’s position·facing (the server remembers it per player). Editor Play only logs it”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
to | Actor | yes | “Respawn point (spawn)” — actors: spawn |
Event plugin: core.actor
cinematic — Cinematic camera
Section titled “cinematic — Cinematic camera”“Briefly puts viewers in spectator mode on the camera, passing through the camera actors (or path) in order — Shift ends it. Editor ▶ Play·Simulate: previews with the viewport camera (returns to the original view when done)”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
cameras | ActorList | “Cameras (in order) — List of camera actor ids — if empty, all camera actors in the scene (list order). Ignored if path is set” — actors: camera | ||
path | Actor | “Path (path) — used instead of cameras if set — Follows the path actor’s points (eye height = props eye_height 1.6, pitch = props pitch 10, faces the direction of travel) — hold 0” — actors: path | ||
hold | Number | 2 | “Hold per point (s) — If empty, server setting cinematic.hold-seconds (default 2)” | |
travel | Number | 4 | “To next point (s) — If empty, server setting cinematic.travel-seconds (default 4) — smoothstep” | |
audience | Enum | player | “To whom — player = triggering player · inside = everyone in the zone · world = everyone in the world · radius = within r blocks of at” — Options: player · inside · world · radius | |
at | Actor | “Reference actor — If empty, the triggering player’s position” — only when audience=radius | ||
r | Number | 16 | “Radius (r)” — only when audience=radius |
Event plugin: core.actor
actor_get — Get actor property
Section titled “actor_get — Get actor property”“One actor property → value pin (getter)”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
target | Actor | yes | “Actor — Actor — via pin or pick” | |
prop | Enum | id | “Properties — id(id) · name(Name) · kind(Kind) · pos(Position) · yaw(Yaw) · size(Size) · visible(Visible) · text(Text) · tags(Tags) · players_inside(Players inside)” — Options: id · name · kind · pos · yaw · size · visible · text · tags · players_inside | |
var | Flag | yes | “Result variable — Variable name for the result — output pins {name} · {name.field}” | |
scope | Enum | local | “Scope — local = only within this run (readable in called functions, default) · auto = as declared · global = whole scene · player = per triggering player” — Options: local · auto · global · player |
Event plugin: core.objects
actor_set — Set actor property
Section titled “actor_set — Set actor property”“Change a settable actor property (setter) — out-of-range values are clamped”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
target | Actor | yes | “Actor — Actor — via pin or pick” | |
prop | Enum | pos | “Properties — pos(Position) · yaw(Yaw) · visible(Visible) · text(Text)” — Options: pos · yaw · visible · text | |
op | Enum | set | “Calculate — set = value · add/sub/mul/div/min/max = calculate with current value (numbers) · toggle = flip bool” — Options: set · add · sub · mul · div · min · max · toggle | |
value | Text | “Values — New value — via pin or direct (number · text · “x y z” · true/false)” |
Event plugin: core.objects
actor_split — Break actor (all properties)
Section titled “actor_split — Break actor (all properties)”“All actor properties at once — one per output pin”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
target | Actor | yes | “Actor — Actor — via pin or pick” | |
var | Flag | yes | “Result variable — Result variable — output pins {name.property}” | |
scope | Enum | local | “Scope — local = only within this run (readable in called functions, default) · auto = as declared · global = whole scene · player = per triggering player” — Options: local · auto · global · player | |
only | Text | “Only properties — Only the comma-separated properties (empty = all — list only what you use to reduce server load)” |
Event plugin: core.objects
title — Screen title
Section titled “title — Screen title”| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
title | Text | “Title” | ||
subtitle | Text | “Subtitle” | ||
audience | Enum | player | “To whom — player = triggering player · inside = everyone in the zone · world = everyone in the world · radius = within r blocks of at” — Options: player · inside · world · radius | |
at | Actor | “Reference actor — If empty, the triggering player’s position” — only when audience=radius | ||
r | Number | 16 | “Radius (r)” — only when audience=radius |
Event plugin: core.ui
message — Chat message
Section titled “message — Chat message”| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
text | Text | yes | “Text” | |
audience | Enum | player | “To whom — player = triggering player · inside = everyone in the zone · world = everyone in the world · radius = within r blocks of at” — Options: player · inside · world · radius | |
at | Actor | “Reference actor — If empty, the triggering player’s position” — only when audience=radius | ||
r | Number | 16 | “Radius (r)” — only when audience=radius |
Event plugin: core.ui
actionbar — Action bar text
Section titled “actionbar — Action bar text”| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
text | Text | yes | “Text” | |
audience | Enum | player | “To whom — player = triggering player · inside = everyone in the zone · world = everyone in the world · radius = within r blocks of at” — Options: player · inside · world · radius | |
at | Actor | “Reference actor — If empty, the triggering player’s position” — only when audience=radius | ||
r | Number | 16 | “Radius (r)” — only when audience=radius |
Event plugin: core.ui
bossbar — Boss bar
Section titled “bossbar — Boss bar”“Boss bar at the top of the screen — boss health · waves · time left (removed when the scene stops)”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
id | Text | yes | boss | “Name — Boss bar name — one bar per name” |
op | Enum | show | “Actions — show = create and show · update = change text · fill · hide = hide from these players · remove = remove for everyone” — Options: show · update · hide · remove | |
title | Text | Boss | “Text — Boss bar text — replaces {variables} (empty in update = unchanged)” — only when op=show|update | |
progress | Text | 1 | “Fill (0~1) — 0 ~ 1 — e.g. {boss_hp}/{boss_max} (empty in update = unchanged)” — only when op=show|update | |
color | Enum | keep | “Color — keep = unchanged (new bars are red)” — Options: keep · red · pink · blue · green · yellow · purple · white — only when op=show|update | |
style | Enum | keep | “Shape — keep = unchanged (new bars use progress) · progress = one bar · notched_N = N segments” — Options: keep · progress · notched_6 · notched_10 · notched_12 · notched_20 — only when op=show|update | |
who | Enum | player | “To whom — player = triggering player · world = everyone in the scene world · list = a list (pin)” — Options: player · world · list — only when op=show|hide | |
players | Text | {players} | “Player list — List of names or a single name” — only when who=list |
Event plugin: np.game
sidebar — Sidebar
Section titled “sidebar — Sidebar”“Scoreboard on the right side of the screen (sidebar) — quest goals, waves, scores, time left (disappears when the scene stops)”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
id | Text | yes | quest | “Name — Scoreboard name — one per name (a player sees only one)” |
op | Enum | show | “Actions — show = create and show · update = change text · hide = hide from this player · remove = remove for everyone” — Options: show · update · hide · remove | |
title | Text | Quests | “Title — Top line — {variables} are replaced (empty in update = unchanged)” — only when op=show|update | |
lines | Text | Goal: {kills}/10 | “Lines — Separate lines with | (up to 15) — {variables} are replaced (empty in update = unchanged)” — only when op=show|update | |
who | Enum | player | “To whom — player = triggering player · world = everyone in the scene world · list = a list (pin)” — Options: player · world · list — only when op=show|hide | |
players | Text | {players} | “Player list — List of names or a single name” — only when who=list |
Event plugin: np.game
Flowing
Section titled “Flowing”set_flag — Set flag
Section titled “set_flag — Set flag”| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
name | Flag | yes | “Flag” | |
value | FlagValue | true | “Values” |
Event plugin: core.flow
signal — Send signal
Section titled “signal — Send signal”| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
name | Signal | yes | “Signal name” |
Event plugin: core.flow
wait — Wait
Section titled “wait — Wait”“Delays the next actions by this much”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
seconds | Number | 1 | “s” |
Event plugin: core.flow
gate — Gate (pass condition)
Section titled “gate — Gate (pass condition)”“If the expression is true, go to the next action; if false, skip the rest of this rule (function) — a condition placed between actions (condition nodes only go before actions)”
NPBridge 2.0.8 or later — If the server does not know this type, it stops the chain there (it is not skipped).
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
cond | Text | yes | {score} >= 10 | “If passed — Expression — compare == != < <= > >= · and (&&) · or (||) · not (!) · parentheses · {variable} · text in quotes (‘mage’) · math functions sin(…) dist(…) …” |
Event plugin: core.vars
stop — Return (stop here)
Section titled “stop — Return (stop here)”“Skips the rest of this rule (function) — inside a function, continues with the caller’s next action; inside a loop body function, goes to the next iteration”
NPBridge 2.0.8 or later — If the server does not know this type, it stops the chain there (it is not skipped).
Event plugin: core.vars
do_once — Do Once
Section titled “do_once — Do Once”“Goes on to the next action only the first time — after that, skips the rest of this rule (function). For the whole rule, use the filter’s “once””
NPBridge 2.0.8 or later — If the server does not know this type, it stops the chain there (it is not skipped).
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
per | Enum | shared | “Per — shared = first time by anyone · each = once per player” — Options: shared · each | |
reset | Number | 0 | “Reopen after (s) — 0 = closed until the scene restarts · otherwise = once more after this many seconds since the first pass” |
Event plugin: core.vars
flip_flop — Flip Flop
Section titled “flip_flop — Flip Flop”“Calls function A and B alternately each time (first = A) — then the next action. On/off switches · opening and closing doors”
NPBridge 2.0.8 or later — If the server does not know this type, it stops the chain there (it is not skipped).
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
a | Function | “A (1st · 3rd · 5th) — Function called on alternating visits (first = A, empty = nothing)” | ||
b | Function | “B (2nd · 4th · 6th) — Function called after A (empty = nothing)” | ||
per | Enum | shared | “Per — shared = alternate for everyone together · each = separately per player” — Options: shared · each |
Event plugin: core.vars
switch — Switch
Section titled “switch — Switch”“Calls the function of the first case equal to the value (then the next action) — text · numbers both (numbers compare as numbers: 1 = 1.0). Blueprint’s Switch on Int · String”
NPBridge 2.0.8 or later — If the server does not know this type, it stops the chain there (it is not skipped).
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
value | Text | yes | “Values — Expression — {variable} · number · text (picks the case equal to this value)” | |
cases | Number | 2 | “Cases — 1~8 — increasing adds “if equal” value · function fields” | |
case1 | Text | “If equal 1 — Value (expression — text · number · {variable})” | ||
fn1 | Function | “→ Function to call — Function to call if the value matches” | ||
case2 | Text | “If equal 2 — Value (expression — text · number · {variable})” — only when cases=2|3|4|5|6|7|8 | ||
fn2 | Function | “→ Function to call — Function to call if the value matches” — only when cases=2|3|4|5|6|7|8 | ||
case3 | Text | “If equal 3 — Value (expression — text · number · {variable})” — only when cases=3|4|5|6|7|8 | ||
fn3 | Function | “→ Function to call — Function to call if the value matches” — only when cases=3|4|5|6|7|8 | ||
case4 | Text | “If equal 4 — Value (expression — text · number · {variable})” — only when cases=4|5|6|7|8 | ||
fn4 | Function | “→ Function to call — Function to call if the value matches” — only when cases=4|5|6|7|8 | ||
case5 | Text | “If equal 5 — Value (expression — text · number · {variable})” — only when cases=5|6|7|8 | ||
fn5 | Function | “→ Function to call — Function to call if the value matches” — only when cases=5|6|7|8 | ||
case6 | Text | “If equal 6 — Value (expression — text · number · {variable})” — only when cases=6|7|8 | ||
fn6 | Function | “→ Function to call — Function to call if the value matches” — only when cases=6|7|8 | ||
case7 | Text | “If equal 7 — Value (expression — text · number · {variable})” — only when cases=7|8 | ||
fn7 | Function | “→ Function to call — Function to call if the value matches” — only when cases=7|8 | ||
case8 | Text | “If equal 8 — Value (expression — text · number · {variable})” — only when cases=8 | ||
fn8 | Function | “→ Function to call — Function to call if the value matches” — only when cases=8 | ||
default | Function | “Else — Function to call if no value matches (empty = nothing)” |
Event plugin: core.vars
place_blocks — Fill blocks
Section titled “place_blocks — Fill blocks”“Fills the trigger zone box with that block (the server remembers the original blocks — restore with restore_blocks)”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
actor | Actor | yes | “Zone” — actors: trigger | |
block | Block | yes | minecraft:stone | “Block” |
Event plugin: core.zone
restore_blocks — Restore blocks
Section titled “restore_blocks — Restore blocks”| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
actor | Actor | yes | “Zone” — actors: trigger |
Event plugin: core.zone
Variables · functions
Section titled “Variables · functions”set_var — Set variable
Section titled “set_var — Set variable”| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
name | Flag | yes | “Variables” | |
scope | Enum | auto | “Scope — auto = as declared (otherwise local if a local of that name exists, else global) · player = per triggering person · local = only inside this run” — Options: auto · global · player · local | |
op | Enum | set | “Calculate — set = value · add/sub/mul/div/mod/min/max = arithmetic · append = add text · toggle = flip true/false” — Options: set · add · sub · mul · div · mod · min · max · append · toggle | |
value | Text | 1 | “Values — Expression — {variable} · {player} · numbers · + - * / %” |
Event plugin: core.vars
make_vec — Make vector (numbers → position)
Section titled “make_vec — Make vector (numbers → position)”“Combines three numbers (variables or typed, unused = 0) into a position variable — connect that variable to position fields like “Place one block””
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
var | Flag | yes | “Result variable — Position variable — value = “x y z”” | |
scope | Enum | auto | “Scope — Same as Set variable” — Options: auto · global · player · local | |
x | Number | 0 | “X — Number — takes an int / float variable via the variable pin (this value if not connected)” | |
y | Number | 0 | “Y — Number — via the variable pin or typed directly (default 0)” | |
z | Number | 0 | “Z — Number — via the variable pin or typed directly (default 0)” |
Event plugin: core.vars
convert — Type conversion
Section titled “convert — Type conversion”“Converts a value to another type into a variable — block → display name → title · position → y only → comparison. When wiring straight into a field, the “convert” chip you pick on connect does the same”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
from | Text | yes | “Values — {variable} — takes it via the variable pin (block · position · number · bool · actor …)” | |
to | Enum | name | “Convert — name = display name · short = name only · x/y/z = one axis · text = text · round/floor/ceil = integer · yesno = Yes/No … (only those for the value’s type)” — Options: name · short · id · x · y · z · text · floor · round · ceil · float · fixed1 · fixed2 · yesno · num · pos · upper · lower · len · index | |
var | Flag | yes | “Result variable — Variable that holds the converted value (text · number …)” | |
scope | Enum | auto | “Scope — Same as Set variable” — Options: auto · global · player · local |
Event plugin: core.vars
math — Math
Section titled “math — Math”“One math function → variable. Division by 0 · NaN = 0 + warning. The same functions work inside expression fields (e.g. value = sin({t}) * 2)”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
fn | Enum | sin | “Function — sin cos tan (radians) · sqrt pow exp log · abs floor ceil round · min max clamp lerp mod · random … · dist len normalize (vectors)” — Options: sin · cos · tan · asin · acos · atan · atan2 · sqrt · pow · exp · log · log10 · abs · sign · floor · ceil · round · int · min · max · clamp · lerp · mod · random · random_range · random_int · pi · e · deg · rad · dist · len · normalize · vec · x · y · z · dot · cross · inverse_lerp · wrap · snap | |
a | Text | 0 | “A — Expression — {variable} · number · vector (“x y z”) · math functions” — only when fn=sin|cos|tan|asin|acos|atan|atan2|sqrt|pow|exp|log|log10|abs|sign|floor|ceil|round|int|min|max|clamp|lerp|mod|random_range|random_int|deg|rad|dist|len|normalize|vec|x|y|z|dot|cross|inverse_lerp|wrap|snap | |
b | Text | “B — Expression (empty = 0 — for log’s base and min/max, empty is left out)” — only when fn=atan2|pow|log|min|max|clamp|lerp|mod|random_range|random_int|dist|vec|dot|cross|inverse_lerp|wrap|snap | ||
c | Text | “C — Expression (empty = 0)” — only when fn=clamp|lerp|vec|inverse_lerp|wrap | ||
var | Flag | yes | “Result variable — Variable that receives the result (number · vector) — wire it into the next node’s field” | |
scope | Enum | auto | “Scope — Same as Set variable” — Options: auto · global · player · local |
Event plugin: core.vars
call — Call function
Section titled “call — Call function”“Runs the function rule; the next action waits until it ends (waits included)”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
function | Function | yes | “Function” | |
args | Text | “Arguments — name=expression, comma separated (e.g. amount=5, who={player})” |
Event plugin: core.vars
sequence — In order (sequence)
Section titled “sequence — In order (sequence)”“Blueprint Sequence: several functions one after another”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
functions | Function | yes | “Functions — Comma separated — each starts when the previous one ends (waits included)” |
Event plugin: core.vars
if — If (if · else if · else)
Section titled “if — If (if · else if · else)”“Checks conditions from the top and calls the function of the first true branch (then the next action) — conditions are expressions: and · or · not · comparisons · math functions”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
cond | Text | yes | {score} >= 10 | “If — Expression — compare == != < <= > >= · and (&&) · or (||) · not (!) · parentheses · {variable} · text in quotes (‘mage’) · math functions sin(…) dist(…) …” |
then | Function | “If true — Function to call (empty = nothing)” | ||
elifs | Number | 0 | “Else-if count — 0~6 — raising it adds “else if” condition · function fields (only the first true branch, from the top)” | |
cond2 | Text | yes | “Else if 1 — Expression — compare == != < <= > >= · and (&&) · or (||) · not (!) · parentheses · {variable} · text in quotes (‘mage’) · math functions sin(…) dist(…) …” — only when elifs=1|2|3|4|5|6 | |
then2 | Function | “→ Function to call — Function to call when this condition is true” — only when elifs=1|2|3|4|5|6 | ||
cond3 | Text | yes | “Else if 2 — Expression — compare == != < <= > >= · and (&&) · or (||) · not (!) · parentheses · {variable} · text in quotes (‘mage’) · math functions sin(…) dist(…) …” — only when elifs=2|3|4|5|6 | |
then3 | Function | “→ Function to call — Function to call when this condition is true” — only when elifs=2|3|4|5|6 | ||
cond4 | Text | yes | “Else if 3 — Expression — compare == != < <= > >= · and (&&) · or (||) · not (!) · parentheses · {variable} · text in quotes (‘mage’) · math functions sin(…) dist(…) …” — only when elifs=3|4|5|6 | |
then4 | Function | “→ Function to call — Function to call when this condition is true” — only when elifs=3|4|5|6 | ||
cond5 | Text | yes | “Else if 4 — Expression — compare == != < <= > >= · and (&&) · or (||) · not (!) · parentheses · {variable} · text in quotes (‘mage’) · math functions sin(…) dist(…) …” — only when elifs=4|5|6 | |
then5 | Function | “→ Function to call — Function to call when this condition is true” — only when elifs=4|5|6 | ||
cond6 | Text | yes | “Else if 5 — Expression — compare == != < <= > >= · and (&&) · or (||) · not (!) · parentheses · {variable} · text in quotes (‘mage’) · math functions sin(…) dist(…) …” — only when elifs=5|6 | |
then6 | Function | “→ Function to call — Function to call when this condition is true” — only when elifs=5|6 | ||
cond7 | Text | yes | “Else if 6 — Expression — compare == != < <= > >= · and (&&) · or (||) · not (!) · parentheses · {variable} · text in quotes (‘mage’) · math functions sin(…) dist(…) …” — only when elifs=6 | |
then7 | Function | “→ Function to call — Function to call when this condition is true” — only when elifs=6 | ||
else | Function | “Else — Function to call when no condition is true (empty = do nothing)” |
Event plugin: core.vars
branch — Branch (if)
Section titled “branch — Branch (if)”“Compares and calls one function (then the next action)”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
left | Text | yes | {score} | “Left — Expression” |
op | Enum | >= | “Compare” — Options: == · != · < · <= · > · >= · contains · starts_with | |
right | Text | 10 | “Right — Expression” | |
then | Function | “If true — Function to call (empty = nothing)” | ||
else | Function | “If false — Function to call (empty = nothing)” |
Event plugin: core.vars
while — Loop (while — as long as the condition is true)
Section titled “while — Loop (while — as long as the condition is true)”“Repeats the body function while the condition is true (each run, waits included, finishes before the next) — then the next action”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
cond | Text | yes | {n} < 10 | “Condition (while) — Expression — compare == != < <= > >= · and (&&) · or (||) · not (!) · parentheses · {variable} · text in quotes (‘mage’) · math functions sin(…) dist(…) …” |
function | Function | yes | “Body (function) — Function called on each iteration — local variable {index} = 0, 1, 2 … · may use “Break loop” · “Next iteration” · wait inside (runs across ticks)” | |
max | Number | 1000 | “Max iterations — If the condition is still true after this many iterations in one run, stops with a warning · also stops when over the per-tick time budget (server tick-budget-ms, default 10ms) — prevents server lag” |
Event plugin: core.vars
break — Break loop (break)
Section titled “break — Break loop (break)”“Ends the nearest loop (while) right away — continues after that while. Only inside a loop body function (or a function it calls)”
Event plugin: core.vars
continue — Next iteration (continue)
Section titled “continue — Next iteration (continue)”“Skips the rest of this iteration and checks the condition again — only inside a loop body function (or a function it calls)”
Event plugin: core.vars
repeat — Repeat
Section titled “repeat — Repeat”“Runs the function count times in turn (each after the previous ends)”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
count | Number | 3 | “Count” | |
function | Function | yes | “Function — Local variable {index} = 0, 1, 2 …” |
Event plugin: core.vars
for_each_player — For each player
Section titled “for_each_player — For each player”“Runs the function for each recipient in turn”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
audience | Enum | player | “To whom — player = triggering player · inside = everyone in the zone · world = everyone in the world · radius = within r blocks of at” — Options: player · inside · world · radius | |
at | Actor | “Reference actor — If empty, the triggering player’s position” — only when audience=radius | ||
r | Number | 16 | “Radius (r)” — only when audience=radius | |
function | Function | yes | “Function — That player becomes the triggering person — {player}” |
Event plugin: core.vars
Collision
Section titled “Collision”knockback — Knockback
Section titled “knockback — Knockback”“Pushes the triggering player away from the reference actor’s center”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
strength | Number | 1 | “Strength — Horizontal velocity (blocks/tick — Bukkit velocity). 1 ≈ 2~3 blocks” | |
from | Actor | “Reference actor — If empty, center of the trigger actor” | ||
up | Number | 0.4 | “Up — Upward velocity (blocks/tick)” | |
audience | Enum | player | “To whom — player = triggering player · inside = everyone in the zone · world = everyone in the world · radius = within r blocks of at” — Options: player · inside · world · radius | |
at | Actor | “Reference actor — If empty, the triggering player’s position” — only when audience=radius | ||
r | Number | 16 | “Radius (r)” — only when audience=radius |
Event plugin: np.collision
cancel — Cancel event
Section titled “cancel — Cancel event”“Undoes what a cancellable trigger (break · place · damage · chat · click · pickup …) does (only when it’s the first action of the rule — before wait; also blocks it in editor Play). Does nothing otherwise”
Event plugin: np.blocks
set_block — Place one block
Section titled “set_block — Place one block”| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
at | Actor | “Position (actor) — That actor’s center block — if empty, pos” | ||
pos | Vec3 | “Position (coords) — [x,y,z] — coordinates relative to scene.json (building’s min corner), when at is not set” | ||
block | Block | yes | minecraft:stone | “Block” |
Event plugin: np.blocks
fill_box — Box fill
Section titled “fill_box — Box fill”“Fills the box between two positions with the block (up to 32,768 cells)”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
from | Vec3 | yes | “Corner 1 — [x,y,z] — relative to scene.json” | |
to | Vec3 | yes | “Corner 2” | |
block | Block | yes | minecraft:stone | “Block” |
mode | Enum | replace | “Mode — replace = fill all · keep = empty cells only · hollow = shell (clear inside) · outline = shell (keep inside)” — Options: replace · keep · hollow · outline | |
restorable | Bool | true | “Restorable — Undo with “Restore blocks”” |
Event plugin: np.skills
replace_blocks — Replace blocks
Section titled “replace_blocks — Replace blocks”“Replaces the found block with another in the area (up to 32,768 cells)”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
area | Enum | actor | “Where — actor = actor box · box = two positions” — Options: actor · box | |
actor | Actor | “Actor — An actor with a box — trigger (zone) or blocker box. A block actor has no box, so add a Trigger volume component to it and pick that zone (e.g. a3.trigger)” — only when area=actor | ||
from | Vec3 | “Corner 1” — only when area=box | ||
to | Vec3 | “Corner 2” — only when area=box | ||
find | Block | yes | minecraft:stone | “Find block — minecraft:stone or #minecraft:logs” |
with | Block | yes | minecraft:gold_block | “Replace with” |
restorable | Bool | true | “Restorable” |
Event plugin: np.skills
block_get — Get block info
Section titled “block_get — Get block info”“One property of the block at that position”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
pos | Vec3 | yes | “Placement — Block position — via pin {block_pos} · {p.block_pos} …” | |
prop | Enum | id | “Properties — id(Block (with state)) · type(Block type) · name(Display name) · short(Short name) · air(Air) · solid(Solid) · liquid(Fluid) · light(Light (0~15)) · power(Redstone power) · powered(Powered) · biome(Biomes)” — Options: id · type · name · short · air · solid · liquid · light · power · powered · biome | |
var | Flag | yes | “Result variable — Variable name for the result — output pins {name} · {name.field}” | |
scope | Enum | local | “Scope — local = only within this run (readable in called functions, default) · auto = as declared · global = whole scene · player = per triggering player” — Options: local · auto · global · player |
Event plugin: core.objects
block_split — Break block (all properties)
Section titled “block_split — Break block (all properties)”“All properties of the block at that position”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
pos | Vec3 | yes | “Placement” | |
var | Flag | yes | “Result variable — Variable name for the result — output pins {name} · {name.field}” | |
scope | Enum | local | “Scope — local = only within this run (readable in called functions, default) · auto = as declared · global = whole scene · player = per triggering player” — Options: local · auto · global · player | |
only | Text | “Only properties — Only the comma-separated properties (empty = all)” |
Event plugin: core.objects
break_block — Break block
Section titled “break_block — Break block”“Breaks the block at that position (drop on = items like survival)”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
pos | Vec3 | yes | “Placement” | |
drop | Bool | true | “Drop items” |
Event plugin: core.objects
Combat
Section titled “Combat”damage — Deal damage
Section titled “damage — Deal damage”“Damages the triggering player (creative·spectator take none)”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
amount | Number | yes | 2 | “Damage (HP, 1 heart = 2)” |
audience | Enum | player | “To whom — player = triggering player · inside = everyone in the zone · world = everyone in the world · radius = within r blocks of at” — Options: player · inside · world · radius | |
at | Actor | “Reference actor — If empty, the triggering player’s position” — only when audience=radius | ||
r | Number | 16 | “Radius (r)” — only when audience=radius |
Event plugin: np.combat
heal — Heal
Section titled “heal — Heal”| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
amount | Number | 20 | “Heal (HP)” | |
audience | Enum | player | “To whom — player = triggering player · inside = everyone in the zone · world = everyone in the world · radius = within r blocks of at” — Options: player · inside · world · radius | |
at | Actor | “Reference actor — If empty, the triggering player’s position” — only when audience=radius | ||
r | Number | 16 | “Radius (r)” — only when audience=radius |
Event plugin: np.combat
effect — Potion effect
Section titled “effect — Potion effect”| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
effect | Effect | yes | minecraft:speed | “Effect — minecraft:speed · minecraft:jump_boost · minecraft:regeneration …” |
seconds | Number | 10 | “s” | |
amplifier | Number | 0 | “Amplifier (0 = I)” | |
particles | Bool | true | “Show particles” | |
audience | Enum | player | “To whom — player = triggering player · inside = everyone in the zone · world = everyone in the world · radius = within r blocks of at” — Options: player · inside · world · radius | |
at | Actor | “Reference actor — If empty, the triggering player’s position” — only when audience=radius | ||
r | Number | 16 | “Radius (r)” — only when audience=radius |
Event plugin: np.combat
give — Give item
Section titled “give — Give item”| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
item | Item | yes | “Item — minecraft:diamond” | |
count | Number | 1 | “Count” | |
audience | Enum | player | “To whom — player = triggering player · inside = everyone in the zone · world = everyone in the world · radius = within r blocks of at” — Options: player · inside · world · radius | |
at | Actor | “Reference actor — If empty, the triggering player’s position” — only when audience=radius | ||
r | Number | 16 | “Radius (r)” — only when audience=radius |
Event plugin: np.combat
kill — Kill
Section titled “kill — Kill”“Kills the triggering player”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
audience | Enum | player | “To whom — player = triggering player · inside = everyone in the zone · world = everyone in the world · radius = within r blocks of at” — Options: player · inside · world · radius | |
at | Actor | “Reference actor — If empty, the triggering player’s position” — only when audience=radius | ||
r | Number | 16 | “Radius (r)” — only when audience=radius |
Event plugin: np.combat
Skills
Section titled “Skills”area_damage — Area damage
Section titled “area_damage — Area damage”“Damages targets within the radius of the centre (+ knockback)”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
center | Enum | player | “Center — player = triggering player · actor = actor centre · pos = position” — Options: player · actor · pos | |
at | Actor | “Actor” — only when center=actor | ||
pos | Vec3 | “Position” — only when center=pos | ||
radius | Number | yes | 4 | “Radius” |
amount | Number | yes | 6 | “Damage (HP)” |
targets | Enum | mobs | “Target” — Options: mobs · players · all | |
exclude_self | Bool | true | “Exclude user” | |
knockback | Number | 0 | “Knockback — Push outwards (blocks/tick)” | |
particle | Particle | “Particle (optional) — Particle burst at the centre — none if empty” |
Event plugin: np.skills
cooldown_left — Cooldown time left
Section titled “cooldown_left — Cooldown time left”“Seconds left on a “Cooldown” condition (0 = ready) → value pin — for action bars and skill icons”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
key | Text | yes | skill | “Name — Same name as in the “Cooldown” condition” |
per | Enum | player | “Per — player = the triggering player · global = one shared” — Options: player · global | |
var | Flag | yes | “Result variable — Variable name for the result — output pins {name} · {name.field}” | |
scope | Enum | local | “Scope — local = only within this run (readable in called functions, default) · auto = as declared · global = whole scene · player = per triggering player” — Options: local · auto · global · player |
Event plugin: np.game
projectile — Launch projectile
Section titled “projectile — Launch projectile”“Shoots a projectile where the triggering player (or actor) looks — on hit, “When a projectile hits””
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
kind | Enum | fireball | “Projectile” — Options: arrow · snowball · fireball · small_fireball · wind_charge · trident | |
speed | Number | 1.5 | “Speed — blocks/tick” | |
damage | Number | 0 | “Damage (HP) — 0 = projectile’s default damage” | |
tag | Text | “Tags — Name used by “When a projectile hits” and the server to recognise this skill’s projectile” | ||
explode | Bool | false | “Explode (no block damage)” | |
from | Actor | “Shooting actor (empty = user’s eyes)” |
Event plugin: np.skills
cooldown_reset — Change cooldown
Section titled “cooldown_reset — Change cooldown”“Clear a cooldown (0) or restart it now — for cooldown-reset items and phase changes”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
key | Text | yes | skill | “Name — Same name as in the “Cooldown” condition” |
per | Enum | player | “Per — player = the triggering player · global = one shared” — Options: player · global | |
seconds | Number | 0 | “s — 0 = ready again right away (clear) · number = cooldown of that long starting now” |
Event plugin: np.game
dash — Dash
Section titled “dash — Dash”“Launches the triggering player in that direction (dash · backstep · jump)”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
direction | Enum | look | “Direction — look = where you face · back = backwards · up = upwards” — Options: look · back · up | |
strength | Number | 1.2 | “Strength — blocks/tick” | |
up | Number | 0.2 | “Up” | |
no_fall | Bool | true | “No fall damage — For the next landing” |
Event plugin: np.skills
spawn_mob — Spawn mob
Section titled “spawn_mob — Spawn mob”“Spawns mobs (boss · pattern · wave)”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
entity | Text | yes | minecraft:zombie | “Mob — minecraft:zombie · minecraft:skeleton … (entity id known to the server)” |
center | Enum | actor | “Placement” — Options: player · actor · pos | |
at | Actor | “Actor” — only when center=actor | ||
pos | Vec3 | “Position” — only when center=pos | ||
count | Number | 1 | “Count” | |
name | Text | “Name — Name above the head · “When a named mob dies”” | ||
health | Number | 0 | “Health (0 = default)” | |
spread | Number | 0 | “Spread (blocks)” | |
tag | Text | “Tag (optional) — scoreboard tag added to spawned mobs — “If has tag” · “Find entities → list” tag” | ||
var | Flag | “Result variable (optional) — (2026-10-11) Spawned mobs — {name} = first mob UUID · {name.list} = all” | ||
scope | Enum | local | “Scope” — Options: local · auto · global · player |
Event plugin: np.skills
find_target — Find target → variable
Section titled “find_target — Find target → variable”“Finds a target within the radius and stores it in a variable (mob aiming · skill targets · boss patterns)”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
what | Enum | nearest_player | “Find — nearest_player = closest player · nearest_mob = closest mob · random_player = any player within radius” — Options: nearest_player · nearest_mob · random_player | |
center | Enum | player | “Center” — Options: player · actor · pos | |
at | Actor | “Actor” — only when center=actor | ||
pos | Vec3 | “Position” — only when center=pos | ||
radius | Number | 16 | “Radius” | |
var | Flag | yes | target | “Variables — Found target goes in this variable (player name · mob id), position in variable_pos (“x y z”); empty if none” |
exclude_self | Bool | true | “Exclude user” |
Event plugin: np.skills
Commands · Chat
Section titled “Commands · Chat”chat_cancel — Void this chat (cancel)
Section titled “chat_cancel — Void this chat (cancel)”“Doesn’t send this chat to anyone (only at the start of a “When chat is sent” rule’s actions)”
NPBridge 2.4.0 or later
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
notice | Text | “Notice to the sender — Empty = no notice — only the sender sees it (e.g. You can’t say that)” |
Event plugin: np.chat
chat_set — Change chat text
Section titled “chat_set — Change chat text”“Changes the chat text that goes out — {message} in later actions and in the next rules is also the new text (only at the start of a “When chat is sent” rule’s actions)”
NPBridge 2.4.0 or later
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
text | Text | yes | {message} | “New text — {message} = current text — e.g. [VIP] {message}” |
Event plugin: np.chat
command_reply — Send command result
Section titled “command_reply — Send command result”“Result text to the player who typed the command (with the “When a command is entered” trigger)”
NPBridge 2.4.0 or later
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
text | Text | yes | “Text — To the sender — {variable} is replaced” | |
status | Enum | success | “Result — success = green · fail = red (command failure) · info = white” — Options: success · fail · info |
Event plugin: np.chat
Calculate
Section titled “Calculate”calc — Multi calculation
Section titled “calc — Multi calculation”“Several inputs (af) → several formulas (f1f6) → several outputs (r1~r6). Many calculations in one node — formulas can use earlier results”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
ins | Number | 2 | “Inputs — 1 | |
a | Text | 0 | “A — Input — {a} in formulas” | |
b | Text | 0 | “B — Input — {b} in formulas” — only when ins=2|3|4|5|6 | |
c | Text | “C — Input — {c} in formulas” — only when ins=3|4|5|6 | ||
d | Text | “D — Input — {d} in formulas” — only when ins=4|5|6 | ||
e | Text | “E — Input — {e} in formulas” — only when ins=5|6 | ||
f | Text | “F — Input — {f} in formulas” — only when ins=6 | ||
outs | Number | 1 | “Formulas — 1 | |
f1 | Text | {a} + {b} | “Formula 1 — Inputs {a}…{f} · previous results {r1}… · math functions (sin · sqrt · min …)” | |
f2 | Text | “Formula 2 — Inputs {a}…{f} · previous results {r1}… · math functions (sin · sqrt · min …)” — only when outs=2|3|4|5|6 | ||
f3 | Text | “Formula 3 — Inputs {a}…{f} · previous results {r1}… · math functions (sin · sqrt · min …)” — only when outs=3|4|5|6 | ||
f4 | Text | “Formula 4 — Inputs {a}…{f} · previous results {r1}… · math functions (sin · sqrt · min …)” — only when outs=4|5|6 | ||
f5 | Text | “Formula 5 — Inputs {a}…{f} · previous results {r1}… · math functions (sin · sqrt · min …)” — only when outs=5|6 | ||
f6 | Text | “Formula 6 — Inputs {a}…{f} · previous results {r1}… · math functions (sin · sqrt · min …)” — only when outs=6 | ||
var | Flag | yes | “Result variable — Variable name for the result — output pins {name} · {name.field}” | |
scope | Enum | local | “Scope — local = only within this run (readable in called functions, default) · auto = as declared · global = whole scene · player = per triggering player” — Options: local · auto · global · player |
Event plugin: core.data
test — Condition → bool
Section titled “test — Condition → bool”“Evaluates a condition into a true/false value — pin it into another node’s (bool) field”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
expr | Text | yes | {hp} < 5 | “Conditions — Expression — compare == != < <= > >= · and (&&) · or (||) · not (!) · parentheses · {variable} · text in quotes (‘mage’) · math functions sin(…) dist(…) …” |
var | Flag | yes | “Result variable — Variable name for the result — output pins {name} · {name.field}” | |
scope | Enum | local | “Scope — local = only within this run (readable in called functions, default) · auto = as declared · global = whole scene · player = per triggering player” — Options: local · auto · global · player |
Event plugin: core.data
select — Select (A if true, else B)
Section titled “select — Select (A if true, else B)”“A if the condition is true, otherwise B”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
cond | Text | yes | {hp} < 5 | “Conditions — Expression — compare == != < <= > >= · and (&&) · or (||) · not (!) · parentheses · {variable} · text in quotes (‘mage’) · math functions sin(…) dist(…) …” |
a | Text | 1 | “If true — Value — plain text · number · {variable} · calculation (+ - * / · math functions)” | |
b | Text | 0 | “If false — Value — plain text · number · {variable} · calculation (+ - * / · math functions)” | |
var | Flag | yes | “Result variable — Variable name for the result — output pins {name} · {name.field}” | |
scope | Enum | local | “Scope — local = only within this run (readable in called functions, default) · auto = as declared · global = whole scene · player = per triggering player” — Options: local · auto · global · player |
Event plugin: core.data
random — Random
Section titled “random — Random”“Random number · bool · list item”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
fn | Enum | float | “Type — float = 0 to under 1 · range = a to under b · int = integer a~b · chance = true with probability a · pick = one from list a” — Options: float · range · int · chance · pick | |
a | Text | 1 | “A — Value — plain text · number · {variable} · calculation (+ - * / · math functions)” — only when fn=range|int|chance|pick | |
b | Text | 6 | “B — Value — plain text · number · {variable} · calculation (+ - * / · math functions)” — only when fn=range|int | |
var | Flag | yes | “Result variable — Variable name for the result — output pins {name} · {name.field}” | |
scope | Enum | local | “Scope — local = only within this run (readable in called functions, default) · auto = as declared · global = whole scene · player = per triggering player” — Options: local · auto · global · player |
Event plugin: core.data
Vector
Section titled “Vector”vec_split — Break vector (x · y · z)
Section titled “vec_split — Break vector (x · y · z)”“Splits a vector into x · y · z (numbers) · length · block (floor)”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
v | Text | yes | {player_pos} | “Vector — Position · direction (“x y z”) — via pin” |
var | Flag | yes | “Result variable — Variable name for the result — output pins {name} · {name.field}” | |
scope | Enum | local | “Scope — local = only within this run (readable in called functions, default) · auto = as declared · global = whole scene · player = per triggering player” — Options: local · auto · global · player |
Event plugin: core.data
vec_op — Vector math
Section titled “vec_op — Vector math”“Vector · direction · angle math”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
fn | Enum | add | “Calculate — add sub(a ± b) · scale div(a × b) · dot cross dist · len normalize · lerp(a→b, c) · offset(a + direction b × c) · direction(a→b) · angle(degrees) · from_angles(yaw a, pitch b) · yaw_to pitch_to(from a to b) · rotate_y(a by b degrees) · floor center” — Options: add · sub · scale · div · dot · cross · dist · len · normalize · lerp · offset · direction · angle · from_angles · yaw_to · pitch_to · rotate_y · floor · center | |
a | Text | {player_pos} | “A — Value — plain text · number · {variable} · calculation (+ - * / · math functions)” | |
b | Text | 0 1 0 | “B — Value — plain text · number · {variable} · calculation (+ - * / · math functions)” — only when fn=add|sub|scale|div|dot|cross|dist|lerp|offset|direction|angle|from_angles|yaw_to|pitch_to|rotate_y | |
c | Text | 1 | “C — Value — plain text · number · {variable} · calculation (+ - * / · math functions)” — only when fn=lerp|offset | |
var | Flag | yes | “Result variable — Variable name for the result — output pins {name} · {name.field}” | |
scope | Enum | local | “Scope — local = only within this run (readable in called functions, default) · auto = as declared · global = whole scene · player = per triggering player” — Options: local · auto · global · player |
Event plugin: core.data
text — Text operation
Section titled “text — Text operation”“Join · cut · replace · find · change case — characters = UTF-16”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
fn | Enum | concat | “Calculate — concat(a+b+c) · upper lower trim len · sub(a, start b, length c) · replace(b → c in a) · contains starts_with ends_with index_of · repeat(a × b) · pad_left pad_right(width b, char c) · fixed(number a, b decimals) · split(a by b → list)” — Options: concat · upper · lower · trim · len · sub · replace · contains · starts_with · ends_with · index_of · repeat · pad_left · pad_right · fixed · split | |
a | Text | {player} | “A — Value — plain text · number · {variable} · calculation (+ - * / · math functions)” | |
b | Text | “B — Value — plain text · number · {variable} · calculation (+ - * / · math functions)” — only when fn=concat|sub|replace|contains|starts_with|ends_with|index_of|repeat|pad_left|pad_right|fixed|split | ||
c | Text | “C — Value — plain text · number · {variable} · calculation (+ - * / · math functions)” — only when fn=concat|sub|replace|pad_left|pad_right | ||
var | Flag | yes | “Result variable — Variable name for the result — output pins {name} · {name.field}” | |
scope | Enum | local | “Scope — local = only within this run (readable in called functions, default) · auto = as declared · global = whole scene · player = per triggering player” — Options: local · auto · global · player |
Event plugin: core.data
list_op — List operation
Section titled “list_op — List operation”“Make · add · remove · find · sort · sum lists (items = text, up to 1000)”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
fn | Enum | add | “Calculate — make(a comma text) · add insert remove_at remove get set · len contains index_of · clear join split · first last random shuffle sort reverse slice unique · sum min max · range(a~b)” — Options: make · add · insert · remove_at · remove · get · set · len · contains · index_of · clear · join · split · first · last · random · shuffle · sort · reverse · slice · unique · sum · min · max · range | |
list | Text | {items} | “List — List value (JSON array [“a”,“b”] or comma text) — via pin” — only when fn=add|insert|remove_at|remove|get|set|len|contains|index_of|clear|join|first|last|random|shuffle|sort|reverse|slice|unique|sum|min|max | |
a | Text | “A — Value — plain text · number · {variable} · calculation (+ - * / · math functions)” — only when fn=make|add|insert|remove_at|remove|get|set|contains|index_of|join|split|slice|range | ||
b | Text | “B — Value — plain text · number · {variable} · calculation (+ - * / · math functions)” — only when fn=insert|set|split|slice|range | ||
var | Flag | yes | “Result variable — Result — to change the list, use the same variable name (e.g. items)” | |
scope | Enum | local | “Scope — local = only within this run (readable in called functions, default) · auto = as declared · global = whole scene · player = per triggering player” — Options: local · auto · global · player |
Event plugin: core.data
find_players — Find players → list
Section titled “find_players — Find players → list”“List of matching player names — iterate with “For each””
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
where | Enum | world | “Where — world = scene world · server = whole server · radius = within radius of center · zone = inside a zone (trigger)” — Options: world · server · radius · zone | |
center | Enum | player | “Center” — Options: player · actor · pos — only when where=radius | |
at | Actor | “Actor” — only when center=actor | ||
pos | Vec3 | “Position” — only when center=pos | ||
r | Number | 16 | “Radius (r)” — only when where=radius | |
actor | Actor | “Zone” — actors: trigger — only when where=zone | ||
sort | Enum | name | “Order — name = by name · near = nearest first (from center · triggering player)” — Options: name · near | |
limit | Number | 0 | “Max (0 = all)” | |
var | Flag | yes | “Result variable — Variable name for the result — output pins {name} · {name.field}” | |
scope | Enum | local | “Scope — local = only within this run (readable in called functions, default) · auto = as declared · global = whole scene · player = per triggering player” — Options: local · auto · global · player |
Event plugin: core.objects
find_entities — Find entities → list
Section titled “find_entities — Find entities → list”“UUID list of entities within radius (nearest first) — excluding scene actors · armor stands · spectators”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
entity | Text | “Type — minecraft:zombie · #minecraft:undead · empty = any” | ||
name | Text | “Name — Custom name · spawn name (empty = any)” | ||
tag | Text | “Tags — Only those with this scoreboard tag (empty = not checked) — “Add · remove tag”” | ||
center | Enum | player | “Center” — Options: player · actor · pos | |
at | Actor | “Actor” — only when center=actor | ||
pos | Vec3 | “Position” — only when center=pos | ||
r | Number | 16 | “Radius (r)” | |
limit | Number | 50 | “Max” | |
players | Bool | false | “Include players” | |
sort | Enum | near | “Order” — Options: near · none | |
var | Flag | yes | “Result variable — Variable name for the result — output pins {name} · {name.field}” | |
scope | Enum | local | “Scope — local = only within this run (readable in called functions, default) · auto = as declared · global = whole scene · player = per triggering player” — Options: local · auto · global · player |
Event plugin: core.objects
for_each — For each (loop)
Section titled “for_each — For each (loop)”“Runs the body function for each list item in turn (the next one starts after the previous finishes, including wait) — then the next action”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
list | Text | yes | {players} | “List — List — via pin” |
function | Function | yes | “Body (function) — Function called for each item — local variables {item} · {index} · inside: break loop · next iteration · wait” | |
max | Number | 1000 | “Max iterations — Same safety limit as while · per-tick time budget” |
Event plugin: core.objects
Player
Section titled “Player”player_get — Get player property
Section titled “player_get — Get player property”“One player property → value pin (getter)”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
target | Text | {player} | “Player — Player name · UUID — empty · {player} = triggering player. Via pin: {attacker_player} · {victim} …” | |
prop | Enum | name | “Properties — name(Name) · uuid(UUID) · display_name(Display name) · health(Health) · max_health(Max health) · food(Hunger) · saturation(Saturation) · level(Level) · exp(Experience progress (0~1)) · total_exp(Total experience) · pos(Position (feet)) · block_pos(Standing block) · eye_pos(Eye position) · look(Look direction) · yaw(Yaw) · pitch(Pitch) · velocity(Speed) · world(World) · gamemode(Game mode) · flying(Flying) · allow_flight(Allow flight) · sneaking(Sneaking) · sprinting(Sprint) · on_ground(On ground) · in_water(Underwater) · held_item(Main-hand item) · offhand_item(Off-hand item) · held_count(Held count) · armor(Armor) · air(Air (ticks)) · fire_ticks(Burning (ticks)) · walk_speed(Walk speed) · fly_speed(Fly speed) · glowing(Glow) · invisible(Invisible) · op(Operator) · online(Online) · ping(Ping (ms)) · locale(Language) · tags(Tags) · respawn_pos(Respawn position)” — Options: name · uuid · display_name · health · max_health · food · saturation · level · exp · total_exp · pos · block_pos · eye_pos · look · yaw · pitch · velocity · world · gamemode · flying · allow_flight · sneaking · sprinting · on_ground · in_water · held_item · offhand_item · held_count · armor · air · fire_ticks · walk_speed · fly_speed · glowing · invisible · op · online · ping · locale · tags · respawn_pos | |
var | Flag | yes | “Result variable — Variable name for the result — output pins {name} · {name.field}” | |
scope | Enum | local | “Scope — local = only within this run (readable in called functions, default) · auto = as declared · global = whole scene · player = per triggering player” — Options: local · auto · global · player |
Event plugin: core.objects
player_set — Set player property
Section titled “player_set — Set player property”“Change a settable player property (setter) — out-of-range values are clamped”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
target | Text | {player} | “Player — Player name · UUID — empty · {player} = triggering player. Via pin: {attacker_player} · {victim} …” | |
prop | Enum | display_name | “Properties — display_name(Display name) · health(Health) · max_health(Max health) · food(Hunger) · saturation(Saturation) · level(Level) · exp(Experience progress (0~1)) · pos(Position (feet)) · look(Look direction) · yaw(Yaw) · pitch(Pitch) · velocity(Speed) · gamemode(Game mode) · flying(Flying) · allow_flight(Allow flight) · held_item(Main-hand item) · offhand_item(Off-hand item) · air(Air (ticks)) · fire_ticks(Burning (ticks)) · walk_speed(Walk speed) · fly_speed(Fly speed) · glowing(Glow) · invisible(Invisible)” — Options: display_name · health · max_health · food · saturation · level · exp · pos · look · yaw · pitch · velocity · gamemode · flying · allow_flight · held_item · offhand_item · air · fire_ticks · walk_speed · fly_speed · glowing · invisible | |
op | Enum | set | “Calculate — set = value · add/sub/mul/div/min/max = calculate with current value (numbers) · toggle = flip bool” — Options: set · add · sub · mul · div · min · max · toggle | |
value | Text | “Values — New value — via pin or direct (number · text · “x y z” · true/false)” |
Event plugin: core.objects
player_split — Break player (all properties)
Section titled “player_split — Break player (all properties)”“All player properties at once — one per output pin”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
target | Text | {player} | “Player — Player name · UUID — empty · {player} = triggering player. Via pin: {attacker_player} · {victim} …” | |
var | Flag | yes | “Result variable — Result variable — output pins {name.property}” | |
scope | Enum | local | “Scope — local = only within this run (readable in called functions, default) · auto = as declared · global = whole scene · player = per triggering player” — Options: local · auto · global · player | |
only | Text | “Only properties — Only the comma-separated properties (empty = all — list only what you use to reduce server load)” |
Event plugin: core.objects
player_var_get — Read another player’s variable
Section titled “player_var_get — Read another player’s variable”“Value of that player’s player-scope variable”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
target | Text | yes | {player} | “Player — Player name · UUID — empty · {player} = triggering player. Via pin: {attacker_player} · {victim} …” |
name | Flag | yes | “Variables — Player-scope variable name” | |
var | Flag | yes | “Result variable — Variable name for the result — output pins {name} · {name.field}” | |
scope | Enum | local | “Scope — local = only within this run (readable in called functions, default) · auto = as declared · global = whole scene · player = per triggering player” — Options: local · auto · global · player |
Event plugin: core.objects
player_var_set — Set another player’s variable
Section titled “player_var_set — Set another player’s variable”“Change that player’s player-scope variable (score for the attacker …)”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
target | Text | yes | {player} | “Player — Player name · UUID — empty · {player} = triggering player. Via pin: {attacker_player} · {victim} …” |
name | Flag | yes | “Variables — Player-scope variable name” | |
op | Enum | set | “Calculate” — Options: set · add · sub · mul · div · mod · min · max · append · toggle | |
value | Text | 1 | “Values — Value — plain text · number · {variable} · calculation (+ - * / · math functions)” |
Event plugin: core.objects
teleport_to — Teleport to position
Section titled “teleport_to — Teleport to position”“Moves a player · entity to coordinates”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
target | Text | {player} | “Who — Entity UUID · player name — via pin {attacker} · {victim} · {target} …” | |
pos | Vec3 | yes | “Placement” | |
yaw | Number | “yaw — Empty = current direction” | ||
pitch | Number | “pitch — Empty = current direction” | ||
world | Text | “World — Empty = current world” |
Event plugin: core.objects
tell — Message to one player
Section titled “tell — Message to one player”“Chat · action bar · title to one chosen player (notify the attacker …)”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
target | Text | yes | {player} | “Recipient — Player name · UUID — empty · {player} = triggering player. Via pin: {attacker_player} · {victim} …” |
kind | Enum | chat | “Mode” — Options: chat · actionbar · title | |
text | Text | yes | Hello {player} | “Text — Text — {variable} is replaced” |
subtitle | Text | “Subtitle — When title” — only when kind=title |
Event plugin: core.objects
take_item — Take item
Section titled “take_item — Take item”“Removes items from the inventory by count (as many as there are if short) — outputs the count taken”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
target | Text | {player} | “Player — Player name · UUID — empty · {player} = triggering player. Via pin: {attacker_player} · {victim} …” | |
item | Item | yes | minecraft:emerald | “Item — Item id · #tag” |
count | Number | 1 | “Count” | |
tag | Text | “Custom tag filter — key · key=value · !key (comma = all) — custom tags from “Give item (name · tags · enchants)”. Empty = not checked” | ||
name | Text | “Name filter — Only items with this display name — empty = not checked” | ||
var | Flag | “Result variable (optional) — Count actually taken” | ||
scope | Enum | local | “Scope” — Options: local · auto · global · player |
Event plugin: core.objects
clear_effects — Clear effects
Section titled “clear_effects — Clear effects”“Clears potion effects”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
target | Text | {player} | “Who — Entity UUID · player name — via pin {attacker} · {victim} · {target} …” | |
effect | Effect | “Effect — Empty = all” |
Event plugin: core.objects
set_spawn — Set respawn point
Section titled “set_spawn — Set respawn point”“Where that player respawns after dying (checkpoint — no actor needed)”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
target | Text | {player} | “Player — Player name · UUID — empty · {player} = triggering player. Via pin: {attacker_player} · {victim} …” | |
pos | Vec3 | yes | “Placement — Coordinates — via pin {pos} · {p.pos} …” | |
yaw | Number | “yaw — Empty = 0” | ||
world | Text | “World — Empty = scene world” |
Event plugin: np.game
Entity
Section titled “Entity”entity_get — Get entity property
Section titled “entity_get — Get entity property”“One entity property → value pin (getter)”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
target | Text | {player} | “Entity — Entity UUID · player name — via pin {attacker} · {victim} · {target} …” | |
prop | Enum | uuid | “Properties — uuid(UUID) · type(Type) · name(Name) · custom_name(Custom name) · scene_name(Spawn name) · health(Health) · max_health(Max health) · pos(Position) · eye_pos(Eye position) · look(Look direction) · yaw(Yaw) · pitch(Pitch) · velocity(Speed) · world(World) · alive(Alive) · is_player(Is player) · player(Player (name)) · on_ground(On ground) · fire_ticks(Burning (ticks)) · glowing(Glow) · invisible(Invisible) · silent(Silent) · gravity(Gravity) · ai(AI) · target(Target) · held_item(Main-hand item) · tags(Tags) · age(Age (ticks))” — Options: uuid · type · name · custom_name · scene_name · health · max_health · pos · eye_pos · look · yaw · pitch · velocity · world · alive · is_player · player · on_ground · fire_ticks · glowing · invisible · silent · gravity · ai · target · held_item · tags · age | |
var | Flag | yes | “Result variable — Variable name for the result — output pins {name} · {name.field}” | |
scope | Enum | local | “Scope — local = only within this run (readable in called functions, default) · auto = as declared · global = whole scene · player = per triggering player” — Options: local · auto · global · player |
Event plugin: core.objects
entity_set — Set entity property
Section titled “entity_set — Set entity property”“Change a settable entity property (setter) — out-of-range values are clamped”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
target | Text | {player} | “Entity — Entity UUID · player name — via pin {attacker} · {victim} · {target} …” | |
prop | Enum | custom_name | “Properties — custom_name(Custom name) · health(Health) · max_health(Max health) · pos(Position) · look(Look direction) · yaw(Yaw) · pitch(Pitch) · velocity(Speed) · fire_ticks(Burning (ticks)) · glowing(Glow) · invisible(Invisible) · silent(Silent) · gravity(Gravity) · ai(AI) · target(Target) · held_item(Main-hand item)” — Options: custom_name · health · max_health · pos · look · yaw · pitch · velocity · fire_ticks · glowing · invisible · silent · gravity · ai · target · held_item | |
op | Enum | set | “Calculate — set = value · add/sub/mul/div/min/max = calculate with current value (numbers) · toggle = flip bool” — Options: set · add · sub · mul · div · min · max · toggle | |
value | Text | “Values — New value — via pin or direct (number · text · “x y z” · true/false)” |
Event plugin: core.objects
entity_split — Break entity (all properties)
Section titled “entity_split — Break entity (all properties)”“All entity properties at once — one per output pin”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
target | Text | {player} | “Entity — Entity UUID · player name — via pin {attacker} · {victim} · {target} …” | |
var | Flag | yes | “Result variable — Result variable — output pins {name.property}” | |
scope | Enum | local | “Scope — local = only within this run (readable in called functions, default) · auto = as declared · global = whole scene · player = per triggering player” — Options: local · auto · global · player | |
only | Text | “Only properties — Only the comma-separated properties (empty = all — list only what you use to reduce server load)” |
Event plugin: core.objects
remove_entity — Remove entity
Section titled “remove_entity — Remove entity”“Removes an entity (not players · scene actors)”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
target | Text | yes | “Entity — Entity UUID · player name — via pin {attacker} · {victim} · {target} …” |
Event plugin: core.objects
damage_entity — Damage entity
Section titled “damage_entity — Damage entity”“Damages an entity (mob · player)”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
target | Text | yes | “Entity — Entity UUID · player name — via pin {attacker} · {victim} · {target} …” | |
amount | Number | 2 | “Damage (HP)” | |
attacker | Text | “Attacker — Optional — if a player, the kill is credited to them” |
Event plugin: core.objects
entity_tag — Add · remove tag
Section titled “entity_tag — Add · remove tag”“Adds or removes a label-like tag on a player or mob (boss mark · team · phase)”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
target | Text | {player} | “Who — Entity UUID · player name — via pin {attacker} · {victim} · {target} …” | |
op | Enum | add | “Actions — add = add · remove = remove · toggle = flip” — Options: add · remove · toggle | |
tag | Text | yes | boss | “Tags — scoreboard tag (same as /tag) — read by “If has tag” · “Find entities → list” tag” |
Event plugin: np.game
entity_attribute — Entity attribute
Section titled “entity_attribute — Entity attribute”“Reads or changes base attributes like max health · speed · attack · size (boss buffs · buffs)”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
target | Text | {player} | “Who — Entity UUID · player name — via pin {attacker} · {victim} · {target} …” | |
attribute | Enum | max_health | “Attribute — max_health max health · movement_speed move speed · attack_damage attack · armor armor · scale size · knockback_resistance knockback resistance …” — Options: max_health · movement_speed · attack_damage · attack_speed · attack_knockback · armor · armor_toughness · knockback_resistance · scale · step_height · jump_strength · gravity · safe_fall_distance · fall_damage_multiplier · follow_range · flying_speed · block_interaction_range · entity_interaction_range · burning_time · luck | |
op | Enum | set | “Actions — get = read only · set = set the base value · add · mul = with the current base value · reset = back to default” — Options: get · set · add · mul · reset | |
value | Text | 40 | “Values — Value for set · add · mul” — only when op=set|add|mul | |
var | Flag | “Result variable (optional) — Value after the change (or read)” | ||
scope | Enum | local | “Scope” — Options: local · auto · global · player |
Event plugin: np.game
entity_effect — Entity potion effect
Section titled “entity_effect — Entity potion effect”“Potion effect on one mob or player (boss buffs, slowness, invisibility, resistance)”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
target | Text | {player} | “Who — Mob UUID or player name — via pins {boss} · {victim} · {mob} …” | |
effect | Effect | yes | minecraft:slowness | “Effect — minecraft:slowness · minecraft:resistance · minecraft:invisibility …” |
seconds | Number | 10 | “s — Duration (seconds)” | |
amplifier | Number | 0 | “Amplifier (0 = I)” | |
particles | Bool | true | “Show particles” |
Event plugin: np.game
mob_anim — Mob animation
Section titled “mob_anim — Mob animation”“The mob plays an attack, roar, leap or tremble animation — pure vanilla (no resource pack). Use it to telegraph boss attacks and phase changes”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
target | Text | {boss} | “Mob — Mob UUID — via pins {boss} · {mob} …” | |
motion | Enum | attack | “Motion — attack = that mob’s attack motion · swing = arm swing · hurt = hurt flash · roar = roar (warden · ravager) · sonic = sonic boom (warden) · leap = jump up · spin = one full turn · shake = tremble · grow = briefly grow · flash = glow · stun = freeze (AI off) · poof = smoke” — Options: attack · swing · hurt · roar · sonic · leap · spin · shake · grow · flash · stun · poof | |
seconds | Number | 1 | “Length (s) — How long spin · shake · grow · flash · stun · roar last” | |
strength | Number | 1 | “Strength — leap height · shake amount · grow factor (1 = +25%)” |
Event plugin: np.game
mob_move — Mob walk to
Section titled “mob_move — Mob walk to”“The mob pathfinds to a position, stops or looks (patrols, boss positioning)”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
target | Text | {boss} | “Mob — Mob UUID” | |
op | Enum | move | “Actions — move = walk there (pathfinding) · stop = stop · look = look that way” — Options: move · stop · look | |
pos | Vec3 | “Placement — Coordinates — via pins {target_pos} · {pos} …” — only when op=move|look | ||
speed | Number | 1 | “Speed (×) — 1 = that mob’s normal walking speed” — only when op=move |
Event plugin: np.game
entity_shoot — Entity shoots
Section titled “entity_shoot — Entity shoots”“A mob (or player) fires projectiles at a point — several shots fan out (boss volleys, bullet patterns)”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
shooter | Text | yes | {boss} | “Shooter — Mob UUID or player name — fires from its eyes” |
aim | Vec3 | “Aim at — Coordinates — via pins {target_pos} … empty = where it looks” | ||
kind | Enum | small_fireball | “Projectile” — Options: arrow · snowball · fireball · small_fireball · wind_charge · trident | |
count | Number | 1 | “Shots — Several shots fan out” | |
spread | Number | 15 | “Spread (°) — Total fan angle for several shots” | |
speed | Number | 1.2 | “Speed” | |
damage | Number | 4 | “Damage (HP)” | |
tag | Text | “Tags — Tells hits apart in “When a projectile hits” by tag” | ||
explode | Bool | false | “Explode on hit” |
Event plugin: np.game
World · time
Section titled “World · time”world_get — Get world info
Section titled “world_get — Get world info”“One world property (time · weather · players …)”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
target | Text | “World — World name — empty = scene world” | ||
prop | Enum | name | “Properties — name(Name) · time(Time (0~23999)) · day(Day) · days(Days) · weather(Weather) · players(Player list) · player_count(Player count) · difficulty(Difficulty) · spawn(Spawn position)” — Options: name · time · day · days · weather · players · player_count · difficulty · spawn | |
var | Flag | yes | “Result variable — Variable name for the result — output pins {name} · {name.field}” | |
scope | Enum | local | “Scope — local = only within this run (readable in called functions, default) · auto = as declared · global = whole scene · player = per triggering player” — Options: local · auto · global · player |
Event plugin: core.objects
world_set — Set world
Section titled “world_set — Set world”“Change world time · weather”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
target | Text | “World — World name — empty = scene world” | ||
prop | Enum | time | “Properties — time(0~23999) · weather(clear · rain · thunder)” — Options: time · weather | |
op | Enum | set | “Calculate” — Options: set · add · sub · mul · div · min · max · toggle | |
value | Text | 6000 | “Values — Value — plain text · number · {variable} · calculation (+ - * / · math functions)” |
Event plugin: core.objects
clock — Time
Section titled “clock — Time”“Current times — scene seconds · ticks · world time · day · days · real time”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
var | Flag | yes | “Result variable — Variable name for the result — output pins {name} · {name.field}” | |
scope | Enum | local | “Scope — local = only within this run (readable in called functions, default) · auto = as declared · global = whole scene · player = per triggering player” — Options: local · auto · global · player |
Event plugin: core.objects
stopwatch — Stopwatch
Section titled “stopwatch — Stopwatch”“Named stopwatch — start · seconds passed (0 if not started)”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
fn | Enum | elapsed | “Actions — start = start timing · elapsed = seconds passed · reset = clear” — Options: start · elapsed · reset | |
key | Text | yes | race | “Name — Stopwatch name” |
per | Enum | player | “Per” — Options: player · global | |
var | Flag | yes | “Result variable — Variable name for the result — output pins {name} · {name.field}” | |
scope | Enum | local | “Scope — local = only within this run (readable in called functions, default) · auto = as declared · global = whole scene · player = per triggering player” — Options: local · auto · global · player |
Event plugin: core.objects
Sound · particles
Section titled “Sound · particles”sound_at — Sound at position
Section titled “sound_at — Sound at position”“Sound at coordinates (nearby players hear it)”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
event | SoundEvent | yes | minecraft:entity.experience_orb.pickup | “Sound” |
pos | Vec3 | yes | “Placement” | |
volume | Number | 1 | “Size” | |
pitch | Number | 1 | “Pitch” |
Event plugin: core.objects
particle_at — Particles at position
Section titled “particle_at — Particles at position”“Particles at coordinates”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
particle | Particle | yes | minecraft:happy_villager | “Particle” |
pos | Vec3 | yes | “Placement” | |
count | Number | 10 | “Count” | |
spread | Number | 0.3 | “Spread (blocks)” | |
speed | Number | 0 | “Speed” |
Event plugin: core.objects
particle_line — Particle line
Section titled “particle_line — Particle line”“A line of particles between two points (laser · link) — up to 512 points”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
particle | Particle | yes | minecraft:end_rod | “Particle” |
from | Vec3 | yes | “From” | |
to | Vec3 | yes | “End” | |
step | Number | 0.25 | “Spacing (blocks)” |
Event plugin: core.objects
give_item — Give item (name · tags · enchants)
Section titled “give_item — Give item (name · tags · enchants)”“Gives an item with name · lore · custom tags · model · enchants · attributes (quest items · keys · reward weapons)”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
target | Text | {player} | “Recipient — Player name · UUID — empty · {player} = triggering player. Via pin: {attacker_player} · {victim} …” | |
item | Item | yes | minecraft:diamond_sword | “Item — Item id (minecraft:diamond_sword …)” |
count | Number | 1 | “Count” | |
slot | Enum | inventory | “Put in — inventory = inventory (drops at feet when full) · hand/offhand/head/chest/legs/feet = into that slot (the old item goes to the inventory)” — Options: inventory · hand · offhand · head · chest · legs · feet | |
name | Text | “Name — Display name — replaces {variables} · MiniMessage like | ||
lore | Text | “Lore — Item lore — | splits lines (up to 16)” | ||
tags | Text | “Custom tags — Hidden data on the item key=value, key2=value2 — read by “If item has tag” · “Get item info”” | ||
model | Text | “Model — number = custom_model_data · ns:path = item_model (resource pack model)” | ||
enchants | Text | “Enchantments — sharpness=5, unbreaking=3 (level 1~255)” | ||
attributes | Text | “Attribute modifiers — attack_damage=+8@mainhand, movement_speed=*0.2 — +number = add · *number = ratio · @slot” | ||
unbreakable | Bool | false | “Unbreakable” | |
glint | Enum | default | “Glint — default = when enchanted · on = always · off = never” — Options: default · on · off | |
var | Flag | “Result variable (optional) — Number actually given” | ||
scope | Enum | local | “Scope” — Options: local · auto · global · player |
Event plugin: np.game
equip — Equip
Section titled “equip — Equip”“Puts an item in a player’s or mob’s hand or armor slot (boss gear · class gear)”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
target | Text | {player} | “Who — Player · mob UUID — via pin {mob} · {victim} …” | |
slot | Enum | head | “Placement — hand = main hand · offhand = off hand · head · chest · legs · feet” — Options: hand · offhand · head · chest · legs · feet | |
item | Item | minecraft:iron_helmet | “Item — Empty = clears the slot (unequip)” | |
count | Number | 1 | “Count” | |
name | Text | “Name — Display name — replaces {variables} · MiniMessage like | ||
lore | Text | “Lore — Item lore — | splits lines (up to 16)” | ||
tags | Text | “Custom tags — Hidden data on the item key=value, key2=value2 — read by “If item has tag” · “Get item info”” | ||
model | Text | “Model — number = custom_model_data · ns:path = item_model (resource pack model)” | ||
enchants | Text | “Enchantments — sharpness=5, unbreaking=3 (level 1~255)” | ||
attributes | Text | “Attribute modifiers — attack_damage=+8@mainhand, movement_speed=*0.2 — +number = add · *number = ratio · @slot” | ||
unbreakable | Bool | false | “Unbreakable” | |
glint | Enum | default | “Glint — default = when enchanted · on = always · off = never” — Options: default · on · off | |
drop_chance | Number | 0 | “Drop chance (mob) — Chance 0~1 that the mob drops this item when it dies” |
Event plugin: np.game
drop_item — Drop item
Section titled “drop_item — Drop item”“Drops an item at the position (mob loot · boss rewards)”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
pos | Vec3 | yes | “Placement — Where to drop — via pin {mob_pos} · {pos} …” | |
item | Item | yes | minecraft:emerald | “Item” |
count | Number | 1 | “Count” | |
name | Text | “Name — Display name — replaces {variables} · MiniMessage like | ||
lore | Text | “Lore — Item lore — | splits lines (up to 16)” | ||
tags | Text | “Custom tags — Hidden data on the item key=value, key2=value2 — read by “If item has tag” · “Get item info”” | ||
model | Text | “Model — number = custom_model_data · ns:path = item_model (resource pack model)” | ||
enchants | Text | “Enchantments — sharpness=5, unbreaking=3 (level 1~255)” | ||
attributes | Text | “Attribute modifiers — attack_damage=+8@mainhand, movement_speed=*0.2 — +number = add · *number = ratio · @slot” | ||
unbreakable | Bool | false | “Unbreakable” | |
glint | Enum | default | “Glint — default = when enchanted · on = always · off = never” — Options: default · on · off | |
pickup_delay | Number | 0.5 | “Pickup delay (s)” | |
var | Flag | “Result variable (optional) — UUID of the dropped item entity” | ||
scope | Enum | local | “Scope” — Options: local · auto · global · player |
Event plugin: np.game
clear_items — Clear from inventory
Section titled “clear_items — Clear from inventory”“Removes all matching items from the inventory (hands · armor included) — no filter = the whole inventory (quest end · minigame start)”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
target | Text | {player} | “Player — Player name · UUID — empty · {player} = triggering player. Via pin: {attacker_player} · {victim} …” | |
item | Item | “Item (optional) — id · #tag — empty = any item” | ||
tag | Text | “Custom tag filter — key · key=value · !key (comma = all) — empty = not checked” | ||
name | Text | “Name filter — Only items with this display name — empty = not checked” | ||
var | Flag | “Result variable (optional) — Count cleared” | ||
scope | Enum | local | “Scope” — Options: local · auto · global · player |
Event plugin: np.game
item_get — Get item info
Section titled “item_get — Get item info”“Id · count · name · custom tags … of the item in a hand or armor slot”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
target | Text | {player} | “Who — Entity UUID · player name — via pin {attacker} · {victim} · {target} …” | |
slot | Enum | hand | “Placement” — Options: hand · offhand · head · chest · legs · feet | |
key | Text | “Tag key (optional) — Value of this custom tag → outputs tag · has” | ||
var | Flag | yes | “Result variable — Variable name for the result — output pins {name} · {name.field}” | |
scope | Enum | local | “Scope — local = only within this run (readable in called functions, default) · auto = as declared · global = whole scene · player = per triggering player” — Options: local · auto · global · player |
Event plugin: np.game
item_tag_set — Set item tag
Section titled “item_tag_set — Set item tag”“Changes a custom tag of the item in a hand or armor slot (upgrade level · uses · soulbound)”
| Field | Kind | Required | Default | Description |
|---|---|---|---|---|
target | Text | {player} | “Who — Entity UUID · player name — via pin {attacker} · {victim} · {target} …” | |
slot | Enum | hand | “Placement” — Options: hand · offhand · head · chest · legs · feet | |
key | Text | yes | level | “Tag key — Custom tag name” |
op | Enum | set | “Actions — set = to the value · add = add a number (upgrade +1) · remove = delete the tag” — Options: set · add · remove | |
value | Text | 1 | “Values — Value for set · add” — only when op=set|add |
Event plugin: np.game
Math functions
Section titled “Math functions”Functions for the fn field of the math action and for expression fields (for example sin({t}) * 2).
| Function | Arguments | Description | Server |
|---|---|---|---|
sin | 1 | “Sine (radians)” | |
cos | 1 | “Cosine (radians)” | |
tan | 1 | “Tangent (radians)” | |
asin | 1 | “Arcsine → radians” | |
acos | 1 | “Arccosine → radians” | |
atan | 1 | “Arctangent → radians” | |
atan2 | 2 | “atan2(y, x) → radians” | |
sqrt | 1 | “Square root” | |
pow | 2 | “Power pow(a, b) = a^b” | |
exp | 1 | “e to the power x” | |
log | 1–2 | “Natural log · log(x, base)” | |
log10 | 1 | “Base-10 log” | |
abs | 1 | “Absolute value (per axis for vectors)” | |
sign | 1 | “Sign -1 · 0 · 1” | |
floor | 1 | “Floor (integer)” | |
ceil | 1 | “Ceil (integer)” | |
round | 1 | “Round (0.5 away from zero)” | |
int | 1 | “Truncate (toward zero)” | |
min | 1 or more | “Smallest value” | |
max | 1 or more | “Largest value” | |
clamp | 3 | “clamp(x, low, high)” | |
lerp | 3 | “lerp(a, b, t) = a + (b − a)·t (vectors too)” | |
mod | 2 | “Remainder (sign of the divisor — mod(-7, 3) = 2)” | |
random | 0 | “Random from 0 up to (not including) 1” | |
random_range | 2 | “random_range(a, b) — real number from a up to (not including) b” | |
random_int | 2 | “random_int(a, b) — integer from a to b inclusive” | |
pi | 0 | “Pi 3.14159…” | |
e | 0 | “Euler’s number 2.71828…” | |
deg | 1 | “Radians → degrees” | |
rad | 1 | “Degrees → radians” | |
dist | 2 | “Distance between two points (positions)” | |
len | 1 | “Vector length · text character count” | |
normalize | 1 | “Unit-length vector (0 stays 0)” | |
vec | 1–3 | “vec(x, y, z) makes a vector (missing axis = 0)” | |
x | 1 | “Vector X” | |
y | 1 | “Vector Y” | |
z | 1 | “Vector Z” | |
dot | 2 | “Dot product” | |
cross | 2 | “Cross product” | |
inverse_lerp | 3 | “inverse_lerp(a, b, x) = (x − a) / (b − a) — where x sits between a | NPBridge 2.0.8 or later |
wrap | 3 | “wrap(x, low, high) — wraps around past the range (angles · repeating indices)” | NPBridge 2.0.8 or later |
snap | 2 | “snap(x, step) — nearest multiple of step (vectors per axis — block grid)” | NPBridge 2.0.8 or later |
Reference
Section titled “Reference”- World logic
- Logic graph
- Variables, functions and data types
- scene.json format
- Adding world logic types (SDK)
Related
Section titled “Related”Not an official Minecraft product. Not approved by or associated with Mojang or Microsoft.