0.3.0
Compatibility
Required content
Changes
Bouquet Beta 0.3.0
Bouquet received a much less substantial update compared to Allium as more effort was spent bringing back features that had existed in prior versions that were axed along the way to be ready in time for BlanketCon 25.
Additionally, A good amount of Bouquet has been converted to Lua, as a testament to Allium's ability.
Features
- Use Bouquet via
require: Instead of throwing all of Bouquet's APIs onto the global table, the APIs are provided by usingrequire("bouquet")if it is present. - Add
componentLibrary: Convert a text component to and from a Lua table using this API. - Bring back the
recipelibrary. - Bring back resource pack support. Scripts can now put assets and data into a
resourcesdirectory on their script and have it be loaded in via Bouquet. - Add
configlibrary to support loading and saving script configs in a dedicated location.
Changes
httpAPI now uses java's own HTTP libraries instead of netty.- The
config,component, andfslibraries are now functions that expect a script to be provided before returning the API.
Removals
textlibrary has been replaced by thecomponentlibrary. Placeholder API has also been removed as a dependency for the same reason.
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:cJu5Wd3R:4k2TNhGf"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:cJu5Wd3R:4k2TNhGf"
}


