Conditional Block Entities.
LibCBE is on the JCenter. Loom automatically adds it as a repository
All that's required is to add the dependency
dependencies {
modImplementation("io.github.boogiemonster1o1:libcbe:${project.libcbe_version}")
include("io.github.boogiemonster1o1:libcbe:${project.libcbe_version}") // Includes LibCBE as a Jar-in-Jar embedded dependency
}
Add the property to gradle.properties
. Skip this step if you decide to put the version in the dependency.
libcbe_version = <the latest version>
Find all versions here
This mod is available under the CC0 license. Feel free to learn from it and incorporate it in your own projects.