程序包 org.bukkit

# 类 Vibration

java.lang.Object
org.bukkit.Vibration

public class Vibration extends Object
Represents a vibration from a Skulk sensor.

- ## 嵌套类概要

  嵌套类
  修饰符和类型
  类
  说明
  `static interface`
  `Vibration.Destination`

- ## 构造器概要

  构造器
  构造器
  说明
  `Vibration(@NotNull Location origin, @NotNull Vibration.Destination destination, int arrivalTime)`

- ## 方法概要

  修饰符和类型
  方法
  说明
  `int`
  `getArrivalTime()`
  Get the vibration arrival time in ticks.
  `@NotNull Vibration.Destination`
  `getDestination()`
  Get the vibration destination.
  `@NotNull Location`
  `getOrigin()`
  Get the origin of the vibration.

  ### 从类继承的方法 java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## 构造器详细资料

  - ### Vibration

    public Vibration(@NotNull @NotNull Location origin, @NotNull @NotNull Vibration.Destination destination, int arrivalTime)

- ## 方法详细资料

  - ### getOrigin

    @NotNull public @NotNull Location getOrigin()
    Get the origin of the vibration.
    返回:
      origin

  - ### getDestination

    @NotNull public @NotNull Vibration.Destination getDestination()
    Get the vibration destination.
    返回:
      destination

  - ### getArrivalTime

    public int getArrivalTime()
    Get the vibration arrival time in ticks.
    返回:
      arrival time