Class NeoForgeRegionEvent
java.lang.Object
net.neoforged.bus.api.Event
de.z0rdak.yawp.platform.event.NeoForgeRegionEvent
- All Implemented Interfaces:
net.neoforged.bus.api.ICancellableEvent
- Direct Known Subclasses:
NeoForgeRegionEvent.Create, NeoForgeRegionEvent.PlayerMove, 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 final classstatic final classstatic classstatic 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.server.level.ServerPlayerMethods inherited from class 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.server.level.ServerPlayer getPlayer()
-