Class NeoForgeRegionEvent

java.lang.Object
net.neoforged.bus.api.Event
de.z0rdak.yawp.api.events.region.NeoForgeRegionEvent
All Implemented Interfaces:
net.neoforged.bus.api.ICancellableEvent
Direct Known Subclasses:
NeoForgeRegionEvent.Create, NeoForgeRegionEvent.Remove, NeoForgeRegionEvent.Rename, NeoForgeRegionEvent.UpdateArea

public abstract class NeoForgeRegionEvent extends net.neoforged.bus.api.Event implements net.neoforged.bus.api.ICancellableEvent
  • Method Details

    • getRegion

      public IMarkableRegion getRegion()
    • getPlayer

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