Class ElevatorEvent.Pre

java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.ElevatorEvent
com.pixelmonmod.pixelmon.api.events.ElevatorEvent.Pre
Enclosing class:
ElevatorEvent

public static class ElevatorEvent.Pre extends ElevatorEvent
Fired before the player is teleported Cancelling this event will stop the player from being teleported
  • Constructor Details

    • Pre

      public Pre(net.minecraft.server.level.ServerPlayer player, boolean goingUp, net.minecraft.core.BlockPos targetElevator, net.minecraft.world.phys.Vec3 destination)