Tags
Creators
Details
2.6.0
Compatibility
Changes
- Added support for
minecraft:custom_model_dataandminecraft:dyed_colorcomponents. - Improved logging errors from NBT serializers
- Fixed an issue where choose item GUI always used sign GUI for search regardless of the config
How to (components)
This is an example of using the minecraft:custom_model_data component in your item:
id: minecraft:chest
count: 1
components:
minecraft:custom_name: <!italic><aqua>Your Orders
minecraft:lore:
- <!italic><white>Click to view your orders
minecraft:custom_model_data:
floats: [4.0, 5.6, 99.1]
strings: ["foo:bar"]
colors: ["#03fcd7", "059fe7"]
The structures of the components are the same as vanilla.
However, there are exceptions for the color part.
custom_model_data has a list of colors and dyed_color has one color.
In vanilla, you can input a hex number, an integer or a list with 3 values (red, green, blue).
In Orderium, you cannot input an integer for the color, you can only input a hex string (without 0x prefix), a hex string prefixed with #, a list of 3 values (like vanilla), and an object (a map) with 3 keys: red, green, and blue with values ranging from 0 to 255 (inclusive both ends).
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:EH2l9h8i:i5DlA8MO"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:EH2l9h8i:i5DlA8MO"
}![Orderium [Order System]](https://cdn.modrinth.com/data/EH2l9h8i/b8588f4efad9cc563b50d8568cb3c6ee3629a336_96.webp)

