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.
- 
Nested Class SummaryNested classes/interfaces inherited from interface io.papermc.paper.datacomponent.item.consumable.ConsumeEffectConsumeEffect.ApplyStatusEffects, ConsumeEffect.ClearAllStatusEffects, ConsumeEffect.PlaySound, ConsumeEffect.RemoveStatusEffects, ConsumeEffect.TeleportRandomly
- 
Method SummaryModifier and TypeMethodDescriptionfloatdiameter()The max range that the entity can be teleported to.
- 
Method Details- 
diameterfloat diameter()The max range that the entity can be teleported to.- Returns:
- teleportation diameter
 
 
-