Elementium Sign in
Contents

Entities & mobs · Step

Set trident damage

Changes the trident's damage to a number with decimals you pick. Paper: the base amount of damage this trident will do.

Basic plan m.mob.trident.set_damage

In a flow

“When a player right-clicks an entity → Set trident damage: 0.5 → Answer Done!”

When a player right-clicks an entity → Set trident damage: 0.5 → Answer Done!

What it does

Changes the trident's damage to a number with decimals you pick. Paper: the base amount of damage this trident will do. It's a step: it runs when the white wire reaches it, then the flow carries on from its Then pin. Find it under Entities & mobs in the palette.

When to use it

Use it when the flow needs to: changes the trident's damage to a number with decimals you pick. Paper: the base amount of damage this trident will do.

When not to

If nothing should change in Discord, a value node or a check is lighter.

Typical wiring

Sockets: settings you can wire

Entity Entity

The trident: wire one in, like Entity from Spawn an entity.

What goes there: Type it in the side panel, or wire in an entity. e.g. Zombie

If it's empty: Optional. Left empty and unwired, the step runs without it.

Damage Number

The trident's new damage.

What goes there: Type it in the side panel, or wire in a number. e.g. 42

If it's empty: Optional. Left empty and unwired, it uses 0.0.

Connects fromA member's variablesAccept applicationActive membersAddAdd a forum tagAdd a labelAdd a row to a Google SheetAdd a staff noteand 501 more

Often next

Related in Entities & mobs

Wires and sockets · Data values · Plans