Interface ConsumeEffect.TeleportRandomly

All Superinterfaces:
ConsumeEffect
Enclosing interface:
ConsumeEffect

@Experimental @NonExtendable public static interface ConsumeEffect.TeleportRandomly extends ConsumeEffect
Represents a consumable effect that randomly teleports the entity on consumption.
Since:
1.21.3
  • Method Details

    • diameter

      float diameter()
      The max range that the entity can be teleported to.
      Returns:
      teleportation diameter
      Since:
      1.21.3