Skip to content

Damage

Use Damage on a compatible LivingEntity receiver.

Call Method → Target Object: LivingEntity or a compatible subtype → Choose Operation → Health & Combat. Requires Dev access to configure, then a successful compile to activate.

Input Type Role Requirement Default / constraint
Damage Number Value Required Required
Attacker Target Value Optional Omitted; see behavior below

Applies its behavior to the configured receiver; it does not create a separate value-result destination.

Block: Call Method
Operation: Damage
Target Object: LivingEntity target in this plot
Damage: 1
Attacker: (omit for this example)

Use this as an editor configuration: declare any Variables/collections first and choose real locations/eligible targets for your plot. It is not pasteable source code.

The receiver must satisfy the declared native capability and remain eligible for the running plot. Player actions require an appropriate Play participant; a Build/Dev player is not automatically eligible.

Runtime validation: Attacker no longer exists.

Reference identifier: living.damage.