Tags
Creators
Details
21.1.2.1
Compatibility
Changes
Bug Fixes
- Fixed a server-side crash
- Fixed an issue related to watermelons
Completely reworked the "edible with placed blocks" system Now supports the following mods out of the box:
- Farmer's Delight
- End's Delight
- Trail & Tales Delight
- My Nether's Delight
Automatic detection (no manual TOML config needed) for:
- Any block/item with the
c:edible_when_placedtag - Any CakeBlock whose corresponding item has FoodProperties
Configuration (placeable_food.toml)
[[blocks]]
id = "mymod:my_cake_block"
nutrition = 2
saturation = 0.4
canonical = "mymod:my_cake_block"
[[items]]
id = "mymod:my_cake_slice"
canonical = "mymod:my_cake_block"
- nutrition / saturation β optional, if not specified, taken from the item
- canonical β links the block and the item for food variety (so that the block and its slice are considered the same food)
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:TqNUj9Fi:O9yjdgDN"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:TqNUj9Fi:O9yjdgDN"
}

