Skip to main content

Hurt

saturn:hurt

Publishes a signal when an entity takes damage.

A trigger matches published server signals. It can be used in trigger rules or triggered abilities; registration itself does not perform any action. See the trigger lifecycle.

JSON fields​

FieldTypeRequiredDefaultDescription
typeResource IDyes—saturn:hurt

JSON example​

{
"type": "saturn:hurt"
}

This is a value to embed in the corresponding field, not a standalone loadable data pack file. The example: references in the examples must be replaced with defined entries.

Java entry point​

com.iafenvoy.saturn.registry.content.SaturnTriggers. This page is based on the Codec in the current 26.1.2 source.