Class WildPixelmonAttackEvent
java.lang.Object
net.neoforged.bus.api.Event
com.pixelmonmod.pixelmon.api.events.WildPixelmonAttackEvent
public class WildPixelmonAttackEvent
extends net.neoforged.bus.api.Event
An event that happens when a Wild Pixelmon is the one to initiate a battle with a player.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected net.minecraft.world.entity.player.Player
protected PlayerParticipant
protected Pokemon
protected net.minecraft.world.entity.Mob
protected BattleParticipant
-
Constructor Summary
ConstructorsConstructorDescriptionWildPixelmonAttackEvent
(net.minecraft.world.entity.player.Player player, PlayerParticipant playerParticipant, Pokemon playersFirstPokemon, net.minecraft.world.entity.Mob wildPixelmonEntity, BattleParticipant wildPixelmonParticipant) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.entity.player.Player
net.minecraft.world.entity.Mob
-
Field Details
-
player
protected net.minecraft.world.entity.player.Player player -
playerParticipant
-
playersFirstPokemon
-
wildPixelmonEntity
protected net.minecraft.world.entity.Mob wildPixelmonEntity -
wildPixelmonParticipant
-
-
Constructor Details
-
WildPixelmonAttackEvent
public WildPixelmonAttackEvent(net.minecraft.world.entity.player.Player player, PlayerParticipant playerParticipant, Pokemon playersFirstPokemon, net.minecraft.world.entity.Mob wildPixelmonEntity, BattleParticipant wildPixelmonParticipant)
-
-
Method Details
-
getPlayer
public net.minecraft.world.entity.player.Player getPlayer() -
getPlayerParticipant
-
getPlayersFirstPokemon
-
getWildPixelmonEntity
public net.minecraft.world.entity.Mob getWildPixelmonEntity() -
getWildPixelmonParticipant
-