public abstract class CameraEvent
extends net.minecraftforge.eventbus.api.Event
Subclasses: CameraEvent.DuplicatePhoto
, CameraEvent.ConsumeFilm
, CameraEvent.TakePhoto
Modifier and Type | Class and Description |
---|---|
static class |
CameraEvent.ConsumeFilm
Event that fires when an camera film is about to be consumed.
|
static class |
CameraEvent.DuplicatePhoto
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.
|
static class |
CameraEvent.TakePhoto
Event that fires when a photo is about to be taken.
|
Modifier and Type | Field and Description |
---|---|
PixelmonEntity |
pixelmon
The Pokémon being photographed.
|
net.minecraft.entity.player.ServerPlayerEntity |
player
The player taking a photo.
|
Constructor and Description |
---|
CameraEvent(net.minecraft.entity.player.ServerPlayerEntity player,
PixelmonEntity pixelmon) |
public final net.minecraft.entity.player.ServerPlayerEntity player
public final PixelmonEntity pixelmon
public CameraEvent(net.minecraft.entity.player.ServerPlayerEntity player, PixelmonEntity pixelmon)