Skip to content

Commit 60cc927

Browse files
committed
Revert "delete Keys.APPLICABLE_POTION_EFFECTS"
This reverts commit 5b7dab8.
1 parent 0b3188c commit 60cc927

File tree

1 file changed

+5
-0
lines changed
  • src/main/java/org/spongepowered/api/data

1 file changed

+5
-0
lines changed

src/main/java/org/spongepowered/api/data/Keys.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,11 @@ public final class Keys {
399399
*/
400400
public static final Key<Value<Integer>> ANGER_LEVEL = Keys.key(ResourceKey.sponge("anger_level"), Integer.class);
401401

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+
402407
/**
403408
* The enchantments applied to an {@link ItemStack}.
404409
*

0 commit comments

Comments
 (0)