Class CameraEvent.DuplicatePhoto
java.lang.Object
net.neoforged.bus.api.Event
com.pixelmonmod.pixelmon.api.events.CameraEvent
com.pixelmonmod.pixelmon.api.events.CameraEvent.DuplicatePhoto
- All Implemented Interfaces:
net.neoforged.bus.api.ICancellableEvent
- Enclosing class:
CameraEvent
public static class CameraEvent.DuplicatePhoto
extends CameraEvent
implements net.neoforged.bus.api.ICancellableEvent
Event that fires when an attempt at taking a photo is about to fail because the player already has done so
for that Pokémon.
Cancel to have this attempt at taking a photo succeed.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.events.CameraEvent
CameraEvent.ConsumeFilm, CameraEvent.DuplicatePhoto, CameraEvent.TakePhoto
-
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.api.events.CameraEvent
pixelmon, player
-
Constructor Summary
ConstructorsConstructorDescriptionDuplicatePhoto
(net.minecraft.server.level.ServerPlayer player, PixelmonEntity pixelmon) -
Method Summary
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
-
DuplicatePhoto
-