Package org.spongepowered.api.effect
Interface VanishState.Factory
-
- Enclosing interface:
- VanishState
public static interface VanishState.Factory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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
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
-
-
-
Method Detail
-
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
- 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
- Returns:
- A newly created visible
VanishState
-
-