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 0b3188c commit 60cc927Copy full SHA for 60cc927
src/main/java/org/spongepowered/api/data/Keys.java
@@ -399,6 +399,11 @@ public final class Keys {
399
*/
400
public static final Key<Value<Integer>> ANGER_LEVEL = Keys.key(ResourceKey.sponge("anger_level"), Integer.class);
401
402
+ /**
403
+ * The set of {@link PotionEffect}s applied on use of an {@link ItemStack}.
404
+ */
405
+ public static final Key<WeightedCollectionValue<PotionEffect>> APPLICABLE_POTION_EFFECTS = Keys.weightedKey(ResourceKey.sponge("applicable_potion_effects"), PotionEffect.class);
406
+
407
/**
408
* The enchantments applied to an {@link ItemStack}.
409
*
0 commit comments