Class ForgeRegionEvent

java.lang.Object
net.minecraftforge.eventbus.api.Event
de.z0rdak.yawp.api.events.region.ForgeRegionEvent
Direct Known Subclasses:
ForgeRegionEvent.Create, ForgeRegionEvent.Remove, ForgeRegionEvent.Rename, ForgeRegionEvent.UpdateArea

public abstract class ForgeRegionEvent extends net.minecraftforge.eventbus.api.Event
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    This event is fired whenever a new region is created.
    static class 
    This event is fired whenever a region is about to be removed.
    static class 
    This event is fired whenever a new region is renamed.
    static class 
    This event is fired whenever a new area is created.

    Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event

    net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.world.entity.player.Player
     
     

    Methods inherited from class net.minecraftforge.eventbus.api.Event

    getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult

    Methods inherited from class java.lang.Object

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

    • getRegion

      public IMarkableRegion getRegion()
    • getPlayer

      @Nullable public net.minecraft.world.entity.player.Player getPlayer()