Class NeoForgeRegionEvent.PlayerMove

java.lang.Object
net.neoforged.bus.api.Event
de.z0rdak.yawp.platform.event.NeoForgeRegionEvent
de.z0rdak.yawp.platform.event.NeoForgeRegionEvent.PlayerMove
All Implemented Interfaces:
net.neoforged.bus.api.ICancellableEvent
Direct Known Subclasses:
NeoForgeRegionEvent.PlayerEnter, NeoForgeRegionEvent.PlayerLeave
Enclosing class:
NeoForgeRegionEvent

public abstract static class NeoForgeRegionEvent.PlayerMove extends NeoForgeRegionEvent
  • Constructor Details

    • PlayerMove

      public PlayerMove(IMarkableRegion region, net.minecraft.server.level.ServerPlayer player, net.minecraft.core.BlockPos previousPos, net.minecraft.core.BlockPos currentPos)
  • Method Details

    • previous

      public net.minecraft.core.BlockPos previous()
    • current

      public net.minecraft.core.BlockPos current()