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

public static class CameraEvent.DuplicatePhoto extends 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.
  • Constructor Details

    • DuplicatePhoto

      public DuplicatePhoto(net.minecraft.server.level.ServerPlayer player, PixelmonEntity pixelmon)