Interface ConsumeEffect.TeleportRandomly

All Superinterfaces:
ConsumeEffect
Enclosing interface:
ConsumeEffect

@NonExtendable public static interface ConsumeEffect.TeleportRandomly extends ConsumeEffect
Represents a consumable effect that randomly teleports the entity on consumption.
  • 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