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 SummaryConstructorsConstructorDescriptionCloningCompleteEvent(Pokemon mew, PixelmonEntity resultPokemon, net.minecraft.world.entity.player.Player player, net.minecraft.core.BlockPos blockPos) Fires upon cloning a mew successfully.
- 
Method SummaryModifier and TypeMethodDescriptionnet.minecraft.core.BlockPosThe Position of the cloning machine blockgetMew()The Mew Being clonednet.minecraft.world.entity.player.PlayerThe Player who cloned the MewThe Ditto or Mewtwo made from cloningMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.neoforged.bus.api.ICancellableEventisCanceled, setCanceled
- 
Constructor Details- 
CloningCompleteEventpublic 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- 
getMewThe Mew Being cloned
- 
getResultPokemonThe Ditto or Mewtwo made from cloning
- 
getPlayerpublic net.minecraft.world.entity.player.Player getPlayer()The Player who cloned the Mew
- 
getBlockPospublic net.minecraft.core.BlockPos getBlockPos()The Position of the cloning machine block
 
-