public class ChangeStorageEvent
extends net.minecraftforge.fml.common.eventhandler.Event
Created by Hiroku
Modifier and Type | Field and Description |
---|---|
StoragePosition |
newPosition
The new storage position this Pokemon now holds in the new storage.
|
PokemonStorage |
newStorage
The new storage object the Pokemon is in.
|
StoragePosition |
oldPosition
The previous storage position this Pokemon held in the old storage.
|
PokemonStorage |
oldStorage
The previous storage object the Pokemon was in.
|
Pokemon |
pokemon
The Pokemon that has moved position.
|
Constructor and Description |
---|
ChangeStorageEvent(PokemonStorage oldStorage,
StoragePosition oldPosition,
PokemonStorage newStorage,
StoragePosition newPosition,
Pokemon pokemon) |
public final PokemonStorage oldStorage
public final PokemonStorage newStorage
public final StoragePosition oldPosition
public final StoragePosition newPosition
public final Pokemon pokemon
public ChangeStorageEvent(PokemonStorage oldStorage, StoragePosition oldPosition, PokemonStorage newStorage, StoragePosition newPosition, Pokemon pokemon)