接口 ConsumableTeleportRandomly

所有超级接口:
ConfigurationSerializable, ConsumableEffect

public interface ConsumableTeleportRandomly extends ConsumableEffect
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