Class WormholeTeleportEvent.Post
java.lang.Object
net.neoforged.bus.api.Event
com.pixelmonmod.pixelmon.api.events.WormholeTeleportEvent
com.pixelmonmod.pixelmon.api.events.WormholeTeleportEvent.Post
- Enclosing class:
 WormholeTeleportEvent
Fires after a player has gone through a wormhole, cannot be cancelled
- 
Nested Class Summary
Nested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.events.WormholeTeleportEvent
WormholeTeleportEvent.Post, WormholeTeleportEvent.Pre - 
Constructor Summary
ConstructorsConstructorDescriptionPost(net.minecraft.server.level.ServerPlayer player, WormholeEntity wormhole)  - 
Method Summary
Methods inherited from class com.pixelmonmod.pixelmon.api.events.WormholeTeleportEvent
getPlayer, getWormhole 
- 
Constructor Details
- 
Post
- Parameters:
 player- - The player who was teleported through the wormholewormhole- - The wormhole a player was teleported through
 
 - 
 - 
Method Details
- 
shouldKillPortal
public boolean shouldKillPortal()- Returns:
 - - Returns true if the portal should be killed following the teleport
 
 - 
setKillPortal
public void setKillPortal(boolean killPortal) - Parameters:
 killPortal- - Sets if a portal should be killed following a teleport
 
 -