Package org.spongepowered.api.effect
Interface VanishState.Factory
- Enclosing interface:
VanishState
public static interface VanishState.Factory
-
Method Summary
Modifier and TypeMethodDescriptionAVanishState
that is visible with the following defaults:VanishState.invisible()
=false
VanishState.affectsMonsterSpawning()
=true
VanishState.untargetable()
=false
VanishState.createsSounds()
=true
VanishState.createsParticles()
=true
VanishState.triggerVibrations()
=false
vanished()
Creates aVanishState
that is invisible with the following defaults:VanishState.invisible()
=true
VanishState.affectsMonsterSpawning()
=false
VanishState.untargetable()
=true
VanishState.createsSounds()
=false
VanishState.createsParticles()
=false
VanishState.triggerVibrations()
=false
-
Method Details
-
vanished
VanishState vanished()Creates aVanishState
that is invisible with the following defaults:VanishState.invisible()
=true
VanishState.affectsMonsterSpawning()
=false
VanishState.untargetable()
=true
VanishState.createsSounds()
=false
VanishState.createsParticles()
=false
VanishState.triggerVibrations()
=false
- Returns:
- A newly created invisible
VanishState
-
unvanished
VanishState unvanished()AVanishState
that is visible with the following defaults:VanishState.invisible()
=false
VanishState.affectsMonsterSpawning()
=true
VanishState.untargetable()
=false
VanishState.createsSounds()
=true
VanishState.createsParticles()
=true
VanishState.triggerVibrations()
=false
- Returns:
- A newly created visible
VanishState
-