Class PixelmonEventHandler

java.lang.Object
com.pixelmonmod.pixelmon.PixelmonEventHandler

public class PixelmonEventHandler extends Object
Drops certain items from Pokémon when defeated.
  • Constructor Details

    • PixelmonEventHandler

      public PixelmonEventHandler()
  • Method Details

    • structureVoidHelper

      public static void structureVoidHelper(net.minecraftforge.event.entity.player.PlayerInteractEvent.RightClickBlock event)
    • onLightning

      public void onLightning(net.minecraftforge.event.entity.EntityJoinLevelEvent event)
    • onMoveSkillUsed

      public void onMoveSkillUsed(UseMoveSkillEvent event)
    • onBeatPokemon

      public void onBeatPokemon(BeatWildPixelmonEvent event)
      Drops photos from Pokémon when defeated if enabled.
      Parameters:
      event - The event for defeating a wild Pokémon.
    • onChristmasDelibird

      public void onChristmasDelibird(BeatWildPixelmonEvent event)
      Drops gift boxes from Delibird around Christmas time.
      Parameters:
      event - The event for defeating a wild Pokémon.
    • onHeldItemChanged

      public void onHeldItemChanged(HeldItemChangedEvent.Post event)
    • onSentOut

      public void onSentOut(PokemonSendOutEvent event)
    • onMoveLearned

      public void onMoveLearned(MovesetEvent.LearntMoveEvent event)
    • onMoveForgot

      public void onMoveForgot(MovesetEvent.ForgotMoveEvent event)
    • onPokemonSpawn

      public void onPokemonSpawn(SpawnEvent event)
    • onReceive

      public void onReceive(PokemonReceivedEvent event)
      simplest way to do run this Advancement check
      Parameters:
      event - -