接口 ConsumableTeleportRandomly
Represent a random teleport when an item is consumed.
-
方法概要
修饰符和类型方法说明float
Gets the diameter that the consumer is teleported within.void
setDiameter
(float diameter) Sets the diameter that the consumer is teleported within.从接口继承的方法 org.bukkit.configuration.serialization.ConfigurationSerializable
serialize
-
方法详细资料
-
getDiameter
float getDiameter()Gets the diameter that the consumer is teleported within.- 返回:
- the diameter
-
setDiameter
void setDiameter(float diameter) Sets the diameter that the consumer is teleported within.- 参数:
diameter
- new diameter
-