Package org.spongepowered.api.effect
Interface VanishState.Factory
- Enclosing interface:
VanishState
public static interface VanishState.Factory
-
Method Summary
Modifier and TypeMethodDescriptionAVanishStatethat is visible with the following defaults:VanishState.invisible()=falseVanishState.affectsMonsterSpawning()=trueVanishState.untargetable()=falseVanishState.createsSounds()=trueVanishState.createsParticles()=trueVanishState.triggerVibrations()=falsevanished()Creates aVanishStatethat is invisible with the following defaults:VanishState.invisible()=trueVanishState.affectsMonsterSpawning()=falseVanishState.untargetable()=trueVanishState.createsSounds()=falseVanishState.createsParticles()=falseVanishState.triggerVibrations()=false
-
Method Details
-
vanished
VanishState vanished()Creates aVanishStatethat is invisible with the following defaults:VanishState.invisible()=trueVanishState.affectsMonsterSpawning()=falseVanishState.untargetable()=trueVanishState.createsSounds()=falseVanishState.createsParticles()=falseVanishState.triggerVibrations()=false
- Returns:
- A newly created invisible
VanishState
-
unvanished
VanishState unvanished()AVanishStatethat is visible with the following defaults:VanishState.invisible()=falseVanishState.affectsMonsterSpawning()=trueVanishState.untargetable()=falseVanishState.createsSounds()=trueVanishState.createsParticles()=trueVanishState.triggerVibrations()=false
- Returns:
- A newly created visible
VanishState
-