Package de.z0rdak.yawp.api.events.region
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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThis event is fired whenever a new region is created.static classThis event is fired whenever a region is about to be removed.static classThis event is fired whenever a new region is renamed.static classThis event is fired whenever a new area is created. -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.entity.player.PlayerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.neoforged.bus.api.ICancellableEvent
isCanceled, setCanceled
-
Method Details
-
getRegion
-
getPlayer
@Nullable public net.minecraft.world.entity.player.Player getPlayer()
-