Module fr.fidorial
@NullMarked
module fr.fidorial
Public API for writing Fidorial plugins.
Fidorial has no Forge, no Fabric and no Mixin. A plugin implements
Plugin, receives a
PluginContext on load, then subscribes to
events and registers services from there.
Getting started
fr.fidorial.plugin— plugin entry point and contextfr.fidorial.event— observe and cancel server eventsfr.fidorial.service— replace default server behaviourfr.fidorial.scheduler— hand long work off the region threadsfr.fidorial.registry.keys— generated keys for blocks, items and more
Threading
The world is split into independent 32×32-chunk regions, each ticking at 20 TPS on its own thread. Event listeners run on the thread of the region owning the block or entity — never block inside one, hand long work to the scheduler.
Nullability
This module is NullMarked: every type is
non-null unless explicitly annotated @Nullable.
- See Also:
-
Packages
ExportsPackageDescriptionFiles in this package are derived from Paper's resolvers package Originally contributed in #8235, licensed under the MIT license.Files in this package are derived from Paper's selectors package Originally contributed in #8235, licensed under the MIT license.