Package org.bukkit
Class Vibration
java.lang.Object
org.bukkit.Vibration
Represents a vibration from a Skulk sensor.
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionVibration(@NotNull Location origin, @NotNull Vibration.Destination destination, @org.jetbrains.annotations.NotNull int arrivalTime)
-
Method Summary
Modifier and TypeMethodDescriptionint
Get the vibration arrival time in ticks.Get the vibration destination.Get the origin of the vibration.
-
Constructor Details
-
Vibration
-
-
Method Details
-
getOrigin
Get the origin of the vibration.- Returns:
- origin
-
getDestination
Get the vibration destination.- Returns:
- destination
-
getArrivalTime
public int getArrivalTime()Get the vibration arrival time in ticks.- Returns:
- arrival time
-