Class EngineEvents
java.lang.Object
fr.robie.machineengine.api.event.EngineEvents
Engine lifecycle events (ARCHITECTURE.md §26), posted in the
EventPhase.POST phase.
Subscribe from RegistrationContext.events() to receive REGISTRIES_FROZEN.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic final record -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final EventType<EngineEvents.Frozen> Static registries are frozen and the first reloadable snapshots are live; machines can now be loaded.static final EventType<EngineEvents.Reloaded> A reloadable registry (recipes, tags …) was reloaded, or the reload was rejected. -
Method Summary
-
Field Details
-
REGISTRIES_FROZEN
Static registries are frozen and the first reloadable snapshots are live; machines can now be loaded. -
REGISTRY_RELOADED
A reloadable registry (recipes, tags …) was reloaded, or the reload was rejected.
-