Skip to main content

Self target

saturn:self

Targets the user themselves.

Used in an ability's target_selector. After the selector has gathered candidates, the ability still checks target_condition.

JSON fields​

FieldTypeRequiredDefaultDescription
typeResource IDyes—saturn:self

JSON example​

{
"type": "saturn:self"
}

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.data.ability.target.SelfTargetSelector. This page is based on the Codec in the current 26.1.2 source.