2.5.0+1.16.1
Curse Maven Snippet
What's new
- Update to Minecraft 1.16.1
- Split
LibCDInitializerinto three separate entrypointslibcd:tweakers(classTweakerInitializer) initializes the tweaker manager,libcd:conditions(classConditionInitializer) initializes the condition manager, andlibcd:advancement_rewards(classAdvancementInitializer) initializes the advancement reward manager- the
libcd(classLibCDInitializer) 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
ScriptBridgefor 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)(ifnullis returned thenoutputwill be treated as the output stack)void craft(StackInfo[] stacks, int width, int height, WrappedPlayer player, StackInfo output)
- the same
ScriptBridgemay be passed for multiple different recipes
- Custom recipes can be shaped, shapeless, or special crafting recipes, and are registered with their respective methods in
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include