LibCapableData (LibCD)

Improved data processing for Fabric and 1.14
Back to Files

2.5.0+1.16.1

File namelibcd-2.5.0+1.16.1.jar
Uploader
LemmaEOFLemmaEOF
Uploaded
Jun 26, 2020
Downloads
27.4K
Size
327.8 KB
Mod Loaders
Fabric
File ID
2989030
Type
R
Release
Supported game versions
  • 1.16-Snapshot
  • 1.16.1
  • 1.16

Curse Maven Snippet

Fabric

modImplementation "curse.maven:libcd-323710:2989030"

Learn more about Curse Maven

What's new

  • Update to Minecraft 1.16.1
  • Split LibCDInitializer into three separate entrypoints
    • libcd:tweakers (class TweakerInitializer) initializes the tweaker manager, libcd:conditions(class ConditionInitializer) initializes the condition manager, and libcd:advancement_rewards (class AdvancementInitializer) initializes the advancement reward manager
    • the libcd (class LibCDInitializer) entrypoint still exists and is run for all three initializations, as well as extending all three other initializers
  • Add in support for smithing recipes to RecipeTweaker
  • Add in a system for defining crafting recipes with custom scripted requirements and behaviors
    • Custom recipes can be shaped, shapeless, or special crafting recipes, and are registered with their respective methods in RecipeTweaker
    • Custom recipes must provide a ScriptBridge for a script that defines three functions:
      • boolean matches(StackInfo[] stacks, int width, int height, WrappedPlayer player, WorldInfo world)
      • @Nullable Object preview(StackInfo[] stacks, int width, int height, WrappedPlayer player, MutableStack output) (if null is returned then output will be treated as the output stack)
      • void craft(StackInfo[] stacks, int width, int height, WrappedPlayer player, StackInfo output)
    • the same ScriptBridge may be passed for multiple different recipes