mcNows
Nows Loader 0.6.2 / Minecraft 26.2

Game Events

Use lightweight client tick, server tick and server-level tick callbacks for common mod managers.

Game Events

Version adapters expose lightweight game callbacks for common Fabric/Forge event patterns:

MinecraftApi.events(context).clientTick(() -> {
    // Run version-neutral client work.
});

MinecraftApi.events(context).clientTick(minecraft -> {
    // Drop down to the native Minecraft client when needed.
});

MinecraftApi.events(context).serverTick(() -> {
    // Run server-wide maintenance without depending on the server class.
});

MinecraftApi.events(context).serverLevelTick((server, level) -> {
    // Run per-level managers such as spell effects or delayed block changes.
});

This is intentionally small. Use the Runnable overloads when the mod only needs a stable tick signal, and use the native-argument overloads when the version-specific Minecraft object is useful. Detailed player interaction and networking still belong in the dedicated API surfaces as they grow.

Available Callbacks

Callback Receives Common use
clientTick Minecraft poll keybinds, update client managers, refresh overlays
serverTick MinecraftServer global server-side maintenance
serverLevelTick MinecraftServer, ServerLevel per-level managers and delayed world effects

These callbacks are intentionally broad and low ceremony. They do not try to model every loader event from Fabric or Forge.

Guidelines

Keep tick listeners fast. Prefer queues, small manager updates and cheap polling. Heavy work should be split across ticks or moved to async code that hands results back to the Minecraft thread safely.

For interaction-specific behavior such as block use, item use, entity damage, screen handling or packet handling, use direct Minecraft hooks, mixins, or the dedicated Nows API surface when one exists.