Class CameraEvent.DuplicatePhoto
java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.CameraEvent
com.pixelmonmod.pixelmon.api.events.CameraEvent.DuplicatePhoto
- Enclosing class:
- CameraEvent
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
Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.api.events.CameraEvent
pixelmon, player
-
Constructor Summary
ConstructorDescriptionDuplicatePhoto
(net.minecraft.server.level.ServerPlayer player, PixelmonEntity pixelmon) -
Method Summary
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Constructor Details
-
DuplicatePhoto
-