Class FossilMachineEvent.RemovePokeball
java.lang.Object
net.neoforged.bus.api.Event
com.pixelmonmod.pixelmon.api.events.FossilMachineEvent
com.pixelmonmod.pixelmon.api.events.FossilMachineEvent.RemovePokeball
- All Implemented Interfaces:
net.neoforged.bus.api.ICancellableEvent
- Enclosing class:
FossilMachineEvent
public static class FossilMachineEvent.RemovePokeball
extends FossilMachineEvent
implements net.neoforged.bus.api.ICancellableEvent
Event fires when a player remove a pokeball of the machine.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.events.FossilMachineEvent
FossilMachineEvent.PutFossil, FossilMachineEvent.PutPokeball, FossilMachineEvent.RemoveFossil, FossilMachineEvent.RemovePokeball
-
Constructor Summary
ConstructorsConstructorDescriptionRemovePokeball
(net.minecraft.server.level.ServerPlayer player, PokeBall pokeball, net.minecraft.world.level.block.entity.BlockEntity tileEntity) -
Method Summary
Methods inherited from class com.pixelmonmod.pixelmon.api.events.FossilMachineEvent
getPlayer, getTileEntity
Methods 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
-
RemovePokeball
public RemovePokeball(net.minecraft.server.level.ServerPlayer player, PokeBall pokeball, net.minecraft.world.level.block.entity.BlockEntity tileEntity)
-
-
Method Details
-
getPokeball
-
setPokeball
-