Class RegionLocationUpdateEvent

java.lang.Object
org.bukkit.event.Event
tfagaming.projects.minecraft.homestead.api.events.APIEvent
tfagaming.projects.minecraft.homestead.api.events.RegionLocationUpdateEvent

public class RegionLocationUpdateEvent extends APIEvent
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.bukkit.event.Event

    org.bukkit.event.Event.Result
  • Constructor Summary

    Constructors
    Constructor
    Description
    RegionLocationUpdateEvent(@NotNull Region region, @Nullable org.bukkit.Location oldLocation, @Nullable org.bukkit.Location newLocation)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable org.bukkit.Location
     
    @Nullable org.bukkit.Location
     
    @NotNull Region
     

    Methods inherited from class tfagaming.projects.minecraft.homestead.api.events.APIEvent

    getHandlers

    Methods inherited from class org.bukkit.event.Event

    callEvent, getEventName, isAsynchronous

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RegionLocationUpdateEvent

      public RegionLocationUpdateEvent(@NotNull @NotNull Region region, @Nullable @Nullable org.bukkit.Location oldLocation, @Nullable @Nullable org.bukkit.Location newLocation)
  • Method Details

    • getRegion

      @NotNull public @NotNull Region getRegion()
    • getOldLocation

      @Nullable public @Nullable org.bukkit.Location getOldLocation()
    • getNewLocation

      @Nullable public @Nullable org.bukkit.Location getNewLocation()