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 Details

    • player

      protected net.minecraft.world.entity.player.Player player
    • playerParticipant

      protected PlayerParticipant playerParticipant
    • playersFirstPokemon

      protected Pokemon playersFirstPokemon
    • wildPixelmonEntity

      protected net.minecraft.world.entity.Mob wildPixelmonEntity
    • wildPixelmonParticipant

      protected BattleParticipant 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

      public BattleParticipant getPlayerParticipant()
    • getPlayersFirstPokemon

      public Pokemon getPlayersFirstPokemon()
    • getWildPixelmonEntity

      public net.minecraft.world.entity.Mob getWildPixelmonEntity()
    • getWildPixelmonParticipant

      public BattleParticipant getWildPixelmonParticipant()