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 Summary
ConstructorsConstructorDescriptionCloningCompleteEvent
(Pokemon mew, PixelmonEntity resultPokemon, net.minecraft.world.entity.player.Player player, net.minecraft.core.BlockPos blockPos) Fires upon cloning a mew successfully. -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.core.BlockPos
The Position of the cloning machine blockgetMew()
The Mew Being clonednet.minecraft.world.entity.player.Player
The Player who cloned the MewThe Ditto or Mewtwo made from cloningMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.neoforged.bus.api.ICancellableEvent
isCanceled, setCanceled
-
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
The Mew Being cloned -
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
-