Package org.bukkit

Class Vibration

java.lang.Object
org.bukkit.Vibration

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

  • Method Details

    • getOrigin

      @NotNull public Location getOrigin()
      Get the origin of the vibration.
      Returns:
      origin
    • getDestination

      @NotNull public Vibration.Destination getDestination()
      Get the vibration destination.
      Returns:
      destination
    • getArrivalTime

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