Class CloningCompleteEvent

java.lang.Object
net.neoforged.bus.api.Event
com.pixelmonmod.pixelmon.api.events.blocks.CloningCompleteEvent
All Implemented Interfaces:
net.neoforged.bus.api.ICancellableEvent

public class CloningCompleteEvent extends net.neoforged.bus.api.Event implements net.neoforged.bus.api.ICancellableEvent
Created by primerib on 10/17/2020.
  • Constructor Details

    • CloningCompleteEvent

      public CloningCompleteEvent(Pokemon mew, PixelmonEntity resultPokemon, net.minecraft.world.entity.player.Player player, net.minecraft.core.BlockPos blockPos)
      Fires upon cloning a mew successfully.
  • Method Details

    • getMew

      public Pokemon getMew()
      The Mew Being cloned
    • getResultPokemon

      public PixelmonEntity getResultPokemon()
      The Ditto or Mewtwo made from cloning
    • getPlayer

      public net.minecraft.world.entity.player.Player getPlayer()
      The Player who cloned the Mew
    • getBlockPos

      public net.minecraft.core.BlockPos getBlockPos()
      The Position of the cloning machine block