Class CameraEvent.ConsumeFilm
java.lang.Object
net.neoforged.bus.api.Event
com.pixelmonmod.pixelmon.api.events.CameraEvent
com.pixelmonmod.pixelmon.api.events.CameraEvent.ConsumeFilm
- All Implemented Interfaces:
net.neoforged.bus.api.ICancellableEvent
- Enclosing class:
CameraEvent
public static class CameraEvent.ConsumeFilm
extends CameraEvent
implements net.neoforged.bus.api.ICancellableEvent
Event that fires when an camera film is about to be consumed.
Cancel to have this attempt succeed regardless of having the required film.
-
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
ConstructorsConstructorDescriptionConsumeFilm
(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
-
ConsumeFilm
-