Interface DeathProtection
Sets whether this item should protect the entity upon death, and what effects should be played.
- Since:
- 1.21.3
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic DeathProtection.Builderstatic DeathProtectiondeathProtection(List<ConsumeEffect> deathEffects)
-
Method Details
-
deathProtection
@Contract(value="_ -> new", pure=true) static DeathProtection deathProtection(List<ConsumeEffect> deathEffects) - Since:
- 1.21.3
-
deathProtection
- Since:
- 1.21.3
-
deathEffects
- Since:
- 1.21.3
-