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.booleanIf the teleport need to show a particle trail into 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()If the teleport need to show a particle trail into the direction of the teleportation.- Returns:
- true if the particle trail should be shown
-