Class PixelmonInitEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.init.PixelmonInitEvent
public class PixelmonInitEvent
extends net.minecraftforge.eventbus.api.Event
Fired when Pixelmon is about to decide which
StorageManager
, BankAccountManager
, and BreedingLogicFactory
to use. If they've not already been set then setting them here will change the implementation
This is the preferred place for setting them- Since:
- 21/09/2022
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Constructor Summary
ConstructorDescriptionPixelmonInitEvent
(PixelmonStorageManager storageManager, StorageSaveAdapter saveAdapter, StorageSaveScheduler saveScheduler, PixelmonBreedingLogic breedingLogic) -
Method Summary
Modifier and TypeMethodDescriptionvoid
setBankAccountManager
(BankAccountManager bankAccountManager) void
setBreedingLogic
(BreedingLogicFactory breedingLogic) void
setSaveAdapter
(StorageSaveAdapter saveAdapter) void
setSaveScheduler
(StorageSaveScheduler saveScheduler) void
setStorageManager
(StorageManager storageManager) Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Constructor Details
-
PixelmonInitEvent
public PixelmonInitEvent(PixelmonStorageManager storageManager, StorageSaveAdapter saveAdapter, StorageSaveScheduler saveScheduler, PixelmonBreedingLogic breedingLogic)
-
-
Method Details
-
getStorageManager
-
setStorageManager
-
getBankAccountManager
-
setBankAccountManager
-
getBreedingLogic
-
setBreedingLogic
-
getSaveAdapter
-
setSaveAdapter
-
getSaveScheduler
-
setSaveScheduler
-