We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0b74b5 commit a0ef5e6Copy full SHA for a0ef5e6
src/main/java/org/spongepowered/api/data/Keys.java
@@ -928,6 +928,11 @@ public final class Keys {
928
*/
929
public static final Key<Value<Double>> DAMAGE_PER_BLOCK = Keys.key(ResourceKey.sponge("damage_per_block"), Double.class);
930
931
+ /**
932
+ * The {@link ConsumeEffect}s an {@link ItemStack} will apply on death.
933
+ */
934
+ public static final Key<ListValue<ConsumeEffect>> DEATH_PROTECTION_EFFECTS = Keys.listKey(ResourceKey.sponge("death_protection_effects"), ConsumeEffect.class);
935
+
936
/**
937
* The distance at which a {@link BlockState} will decay.
938
* This usually applies to leaves, for example {@link BlockTypes#OAK_LEAVES}.
0 commit comments