Package dev.overlord.zomboidforge.api
@NotNullByDefault
package dev.overlord.zomboidforge.api
-
ClassDescriptionVirtual threads for a mod's blocking work, such as HTTP calls or file I/O: one thread per task, named
zf-async-<id>-<n>.Something that happened in the server, delivered to listeners registered withEvents.Registration of event listeners.Project Zomboid version, e.g.Runs a mod's code on the server's main thread, which owns every game object.An event that carries live game state or only makes sense during the tick.Base class of every mod.Settings of one mod:<forge>/mods/<id>/config.toml, over the defaults in the mod's jar (META-INF/zomboidforge/config.toml).What ZomboidForge provides to one mod.The mod's own platform thread,zf-mod-<id>: runs one task at a time, in the order they were submitted.A registered event listener.Posted on the main thread once per frame of the main loop, before the queued main-thread tasks run.