Tags
Creators
Details
Licensed MIT
Published 2 years ago
Updated 4 days ago
All versions
0.9
Beta
BTWR: Shared Library 0.94 days ago 113
Compatibility
Minecraft: Java Edition
1.21.1
Platform
Fabric
Supported environments
Client and server
Required content
Unavailable version
Changes
- Added a generic config screen kit in gui/config ("ConfigUiScreen"). A mod describes its settings in a "ConfigUiSpec" and gets a searchable screen that reflows with the game window, with no screen class of its own
- Added a new registry class "GrazeBehaviorRegistry" for defining what happens when animals graze on a block. Behaviors have priorities, so other mods can override the defaults
- Added a new interface "Grazer" injected into AnimalEntity with grazing-related queries (starving, disrupts earth, rough vegetation, mycelium) that block graze rules can check
- Added a new API event "ANIMAL_EAT_ITEM" for animals eating items, either hand fed or picked up off the ground. Fired by vanilla hand feeding and by mods with their own eating logic, so other mods can hook into it and define behavior
- Added a new JsonBuilder class 'ShapelessRecipeWithStackJsonBuilder' for easier creation of recipes that have itemstacks for their recipe results (moved it over from BTWR-DS)
- Added "checkForFireSpreadFromLocation" to FireBlockUtils, for spreading fire from a burning source over BTW's full area
- Changed lava to set blocks on fire directly if they support it (like unlit ovens with fuel), both when touching them from above or the sides and through its usual fire starting
- Changed the config screen in Mod Menu to use the new config screen system from the mod and removed Cloth Config API as a soft dependency
- Fixed the "c:primitive_tools", "c:modern_tools" and "c:advanced_tools" tags failing to load without Tough Environment, by adding the shovel tags they reference
- Fixed FireBlockUtils only starting fires in empty spaces with a solid or flammable block below, which stopped sources like wall torches from spreading fire to the side of a flammable block
- Updated the mod to Fabric API 0.116.18 & Fabric Loader 0.20.1
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:sXYZ4LGL:iIUhiY2z"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:sXYZ4LGL:iIUhiY2z"
}

