程序包 org.bukkit
类 Vibration
java.lang.Object
org.bukkit.Vibration
Represents a vibration from a Skulk sensor.
-
嵌套类概要
-
构造器概要
构造器说明Vibration
(@NotNull Location origin, @NotNull Vibration.Destination destination, int arrivalTime) -
方法概要
修饰符和类型方法说明int
Get the vibration arrival time in ticks.Get the vibration destination.Get the origin of the vibration.
-
构造器详细资料
-
Vibration
-
-
方法详细资料
-
getOrigin
Get the origin of the vibration.- 返回:
- origin
-
getDestination
Get the vibration destination.- 返回:
- destination
-
getArrivalTime
public int getArrivalTime()Get the vibration arrival time in ticks.- 返回:
- arrival time
-