Interface ConsumeEffect.TeleportRandomly
- All Superinterfaces:
ConsumeEffect
- Enclosing interface:
ConsumeEffect
Represents a consumable effect that randomly teleports the entity on consumption.
-
Nested Class Summary
Nested classes/interfaces inherited from interface ConsumeEffect
ConsumeEffect.ApplyStatusEffects, ConsumeEffect.ClearAllStatusEffects, ConsumeEffect.PlaySound, ConsumeEffect.RemoveStatusEffects, ConsumeEffect.TeleportRandomly -
Method Summary
Modifier and TypeMethodDescriptionfloatdiameter()The max range that the entity can be teleported to.booleanChecks whether to show a particle trail in the direction of the teleportation.
-
Method Details
-
diameter
float diameter()The max range that the entity can be teleported to.- Returns:
- teleportation diameter
-
directionalParticles
boolean directionalParticles()Checks whether to show a particle trail in the direction of the teleportation.- Returns:
trueif the particle trail should be shown
-