Interface ConsumableTeleportRandomly
- All Superinterfaces:
- ConfigurationSerializable,- ConsumableEffect
Represent a random teleport when an item is consumed.
- 
Method SummaryModifier and TypeMethodDescriptionfloatGets the diameter that the consumer is teleported within.voidsetDiameter(float diameter) Sets the diameter that the consumer is teleported within.Methods inherited from interface org.bukkit.configuration.serialization.ConfigurationSerializableserialize
- 
Method Details- 
getDiameterfloat getDiameter()Gets the diameter that the consumer is teleported within.- Returns:
- the diameter
 
- 
setDiametervoid setDiameter(float diameter) Sets the diameter that the consumer is teleported within.- Parameters:
- diameter- new diameter
 
 
-