promotional bannermobile promotional banner

Moonlight Core

Moonlight Core is a layer abstraction of Minecraft mod loaders that is aimed to help with multi-loader mod development giving developers utilities for their mods.
Back to Files

MoonlightCore 26.1.2.5-beta

File namemoonlightcore-fabric-26.1.2.5-beta.jar
Uploader
RealLeoxianRealLeoxian
Uploaded
Sep 8, 2026
Downloads
8
Size
435.0 KB
Mod Loaders
Fabric
File ID
8840425
Type
B
Beta
Supported game versions
  • 26.1.2
  • 26.1.1
  • 26.1

Curse Maven Snippet

Fabric

modImplementation "curse.maven:wgc-moonlight-core-1152824:8840425"

Learn more about Curse Maven

What's new

MoonlightCore 26.1.2.5-beta

Fixes

  1. Fixed events not being all invoked on fabric
  2. Fixed valid configurations requests task not being completed (only caused problems on fabric apparently???), preventing world load

Fluid Registration API

The previous version Fluid Registration API was BAD, I had already noticed that when I made the first version but IDK why I even released it. HOWEVER, here is the new (still experimental) fluid registration api.

Common

FluidRegistrar

A registrar for fluids, moving from the Platform#registerFluid methods to its own interface. Fluids need their properties, attribute handler, tag and behavior. Example:

TagKey<Fluid> TAG = TagKey.create(Registries.FLUID, Identifier.parse("moonlightcore:slime"));

FluidRegistrar.init("examplemod",registrar -> {
        registrar.register(
                "slime",
                TAG,
                FluidProperties.DEFAULT,
                FluidAttributesHandler.DEFAULT,
                FluidBehavior.WATER_LIKE
                );
});

FluidBehavior

FluidBehavior handles how the entity interacts with the fluid, how the entity will move, if it can swim, drown, supports boats, sprinting, etc. Anyways, not everyone will have some hyper mega advanced fluid physics applied to the entities so there is a builder for simple fluids :p

FluidAttributesHandler

Handle some properties that are used on Neoforge and on Fabric:

  • Display name and it's color
  • Bucket fill/empty sound
  • Fall distance modifier
  • Light emission level
  • Temperature
  • Viscosity

Client

FluidRendererRegistrar

A registrar for fluids rendering, used to register fluid models and FluidRenderHandlers

FluidRenderHandler

Handles the tooltip used with the tooltip and the color of the fluid

This mod has no additional files