Interface ConsumeEffect.TeleportRandomly
- All Superinterfaces:
ConsumeEffect
- Enclosing interface:
ConsumeEffect
@Experimental
@NonExtendable
public static interface ConsumeEffect.TeleportRandomly
extends ConsumeEffect
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.papermc.paper.datacomponent.item.consumable.ConsumeEffect
ConsumeEffect.ApplyStatusEffects, ConsumeEffect.ClearAllStatusEffects, ConsumeEffect.PlaySound, ConsumeEffect.RemoveStatusEffects, ConsumeEffect.TeleportRandomly
-
Method Summary
Modifier and TypeMethodDescriptionfloat
diameter()
The max range that the entity can be teleported to.
-
Method Details
-
diameter
float diameter()The max range that the entity can be teleported to.- Returns:
- teleportation diameter
-