/
21.1.181 or higher@NotNull, @Nullable, @Experimental, @Internal, @OverrideOnly)LoadedModsEventReloadHandler to the common package for shared accessFully rewritten and modernized the Variant Loader
Introduced performance improvements like smarter caching and new utility methods
Switched from String to ResourceLocation for saving entity identifiers
Replaced getVariantName() and setVariantName() default interface methods (which relied on unstable casting to IVariantAccessor)
IVariantEntity<T>IVariantEntity<YourClass> and override getEntity() to return this@Override
public @NotNull YourEntityClass getEntity() {
return this;
}
get/setVariantName() manually
BlueLib is a Minecraft modding library designed to handle a wide range of modding tasks. It includes systems for simplifying code development, with support for data packs and resource packs. The goal is to make modding more accessible!