Elementium Sign in
Contents

Logic · Step

Cancel block damage

Stops this from happening, as if it never did: a block is damaged by a player. Only in a flow that starts when a block is damaged by a player, before any Wait.

Basic plan m.on.block_damage.cancel

In a flow

“When a block is damaged by a player → If something → Cancel block damage”

When a block is damaged by a player → If something → Cancel block damage

What it does

Stops this from happening, as if it never did: a block is damaged by a player. Only in a flow that starts when a block is damaged by a player, before any Wait. It's a step: it runs when the white wire reaches it, then the flow carries on from its Then pin. Find it under Logic in the palette.

When to use it

Use it to decide what happens next: stops this from happening, as if it never did: a block is damaged by a player. Only in a flow that starts when a block is damaged by a player, before any Wait.

When not to

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

Typical wiring

Often next

Related in Logic

Wires and sockets · Data values · Plans