Mod

BCLib

Quick rating

BCLib

No reviews yet

A library mod for BetterX mods

No Theme
No Genre
API/Library
Mod Loaders
Fabric
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Required
Server Required

About

Project Details

Type
Mod
License
MIT License
Latest Version
bclib-21.0.13 [1.21.1]
Authors
CurseForge
Modrinth

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID
Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

Ol1Tcf8.png   2111370.png   25231.png

This is a library mod for BetterEnd, BetterNether, Eden Ring and possible future mods from BetterX team. It should be installed as a separated mod.

This library can be used by other developers to make their own mods. If you have some suggetions or enhancements we are open for discussions and pull requests.

Some features will appear in future, all documentation is inside javadocs. If some docs are missing please report this, it will be fixed.

Standalone Features:

  • Compatibility between Nether and End mods and datapacks biome generation
  • Emissive textures (with "_e" suffix) for solid and cutout blocks (+ resourcepack support; will not work in Iris);
  • Automatic emission shaders for Canvas (+ resourcepack support);

Modmakers Features (short outdated list):

Rendering

  • Emissive textures (with _e suffix)
    • Can be applied to Solid and Transparent blocks;
    • Can be changed/added with resourcepacks;
    • Incompatible with Sodium and Canvas (just will be not rendered);
    • Incompatible with Iris shaders (Iris without shaders works fine).
  • Procedural block and item models (from paterns or from code);
  • Block render interfaces.

API:

  • Simple Mod Integration API:
    • Get mod inner methods, classes and objects on runtime.
  • Structure Features API:
    • Sructure Features with automatical registration, Helpers and math stuff.
  • World Data API:
    • World fixers for comfortable migration between mod versions when content was removed;
    • Support for Block name changes and Tile Entities (WIP).
  • Bonemeal API:
    • Add custom spreadable blocks;
    • Add custom plants grow with weight, biomes and other checks;
    • Custom underwater plants.
  • Features API:
    • Features with automatical registration, Helpers and math.
  • Biome API:
    • Biome wrapper around MC biomes;
    • Custom biome data storage;
    • Custom fog density.
  • Tag API:
    • Pre-builded set of tags;
    • Dynamical tag registration with code;
    • Adding blocks and items into tags at runtime.

Libs:

  • Spline library (simple):
    • Helper to create simple splines as set of points;
    • Some basic operation with splines;
    • Converting splines to SDF.
  • Recipe manager:
    • Register recipes from code with configs and ingredients check.
  • Noise library:
    • Voronoi noise and Open Simplex Noise.
  • Math library:
    • Many basic math functions that are missing in MC.
  • SDF library:
    • Implementation of Signed Distance Functions;
    • Different SDF Operations and Primitives;
    • Different materials for SDF Primitives;
    • Block post-processing;
    • Feature generation using SDF.

Helpers And Utils:

  • Custom surface builders.
  • Translation helper:
    • Generates translation template.
  • Weighted list:
    • A list of objects by weight;
  • Weighted Tree:
    • Fast approach for big weight structures;
  • Block helper:
    • Some useful functions to operate with blocks;

Complex Materials:

  • Utility classes used for mass content generation (wooden blocks, stone blocks, etc.);
  • Contains a set of defined blocks, items, recipes and tags;
  • Can be modified before mods startup (will add new block type for all instances in all mods);
  • All inner blocks and items are Patterned (will have auto-generated models with ability to override them with resource packs or mod resources).

Pre-Defined Blocks and Items:

  • Most basic blocks from MC;
  • Automatic item & block model generation;

Configs:

  • Custom config system based on Json;
  • Hierarchical configs;
  • Different entry types;
  • Only-changes saves.

Interfaces:

  • BlockModelProvider:
    • Allows block to return custom model and blockstate.
  • ItemModelProvider:
    • Allows block to return custom item model.
  • CustomColorProvider:
    • Make available to add block and item color provider.
  • RenderLayerProvider:
    • Determine block render layer (Transparent and Translucent).
  • PostInitable:
    • Allows block to init something after all mods are loaded.
  • CustomItemProvider:
    • Allows block to change its registered item (example - signs, water lilies).

Buy Me A Coffee

BCLib is primarily a mod library for BetterEnd, BetterNether, Eden Ring and possible future mods from the BetterX team.

Furthermore, BCLib creates compatibility between different Nether/End mods. This allows Biomes from different DataPacks and mods to generate in your world. For this (and many other features) BCLib uses its own world type: BetterX.

The library can be used by other developers to create their own mods. If you have suggestions or extensions, we are open to discussions and pull requests.

Key Features

  • Block templates for common types (plants with seedlings, wood types, signs, ...)
  • Simple API to create your own biomes, features, structures and much more
  • SurfaceRule/MaterialRule registry. This makes it possible for mods and datapacks to define additional SurfaceRules/MaterialRules for a dimension without editing/copying the vanilla rules.
  • API to create own world types
  • Manage tags
  • Simple UI layout toolkit
  • Recipe management
  • SDF tools
  • Config system with automatic synchronization between client/server
  • Manage world specific data
  • And many smaller extensions like color helper, block/item management, world patchers, etc.

Screenshots

Gallery

  • Emissive Textures (Without Canvas)
    Emissive Textures (Without Canvas)
  • Emissive Textures (With Canvas)
    Emissive Textures (With Canvas)
  • Mod Updater
    Mod Updater A special Screen that will inform Users that new Updtates of our Mods are available.
  • World Generator Settings
    World Generator Settings The BetterX World Type offers some specialised Settings.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

58.6m
Total Downloads
CurseForge
47.7m
Modrinth
10.8m
Last Updated
CurseForge
Created
CurseForge
Modrinth
Last synced
When ModDex last fetched and imported data for this project from CurseForge or Modrinth. High-traffic and active projects are checked more often.
Next pipeline sync