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.entity.mob— bend the built-in mobs, or write new onesfr.fidorial.scheduler— hand long work off the region threadsfr.fidorial.dialog— show modal windows and read what players fill infr.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 selector package Originally contributed in #8235, licensed under the MIT license.Bending the built-in mobs, and writing new ones.