Package org.spongepowered.api.data.type
Interface ItemAction.Factory
- Enclosing interface:
ItemAction
public static interface ItemAction.Factory
-
Method Summary
Modifier and TypeMethodDescriptionapplyEffects(double chance, List<PotionEffect> effects) removeEffects(Set<PotionEffectType> effectTypes) removeEffects(Tag<PotionEffectType> effectTypeTag) teleportRandomly(double distance)
-
Method Details
-
applyEffects
-
removeEffects
-
removeEffects
-
clearEffects
ItemAction.ClearEffects clearEffects() -
playSound
-
teleportRandomly
-