Class WormholeTeleportEvent.Pre
java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.WormholeTeleportEvent
com.pixelmonmod.pixelmon.api.events.WormholeTeleportEvent.Pre
- Enclosing class:
- WormholeTeleportEvent
-
Nested Class Summary
Nested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.events.WormholeTeleportEvent
WormholeTeleportEvent.Post, WormholeTeleportEvent.Pre
Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Constructor Summary
ConstructorDescriptionPre
(net.minecraft.server.level.ServerPlayer player, WormholeEntity wormhole) -
Method Summary
Methods inherited from class com.pixelmonmod.pixelmon.api.events.WormholeTeleportEvent
getPlayer, getWormhole
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Constructor Details
-
Pre
- Parameters:
player
- - The player about to be teleported through the wormholewormhole
- - The wormhole the player collided with
-