Package org.bukkit
Class Vibration
java.lang.Object
org.bukkit.Vibration
Represents a vibration from a Skulk sensor.
- 
Nested Class SummaryNested Classes
- 
Constructor SummaryConstructorsConstructorDescriptionVibration(Location origin, Vibration.Destination destination, int arrivalTime) 
- 
Method SummaryModifier and TypeMethodDescriptionintGet the vibration arrival time in ticks.Get the vibration destination.Get the origin of the vibration.
- 
Constructor Details- 
Vibrationpublic Vibration(@NotNull Location origin, @NotNull Vibration.Destination destination, @NotNull int arrivalTime) 
 
- 
- 
Method Details- 
getOriginGet the origin of the vibration.- Returns:
- origin
 
- 
getDestinationGet the vibration destination.- Returns:
- destination
 
- 
getArrivalTimepublic int getArrivalTime()Get the vibration arrival time in ticks.- Returns:
- arrival time
 
 
-