Class CloningCompleteEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.blocks.CloningCompleteEvent
public class CloningCompleteEvent
extends net.minecraftforge.eventbus.api.Event
Created by primerib on 10/17/2020.
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Constructor Summary
ConstructorDescriptionCloningCompleteEvent
(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 net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
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
-