- Overhauled the economy management to allow for registering a economy service from another mod
- Changed the `CURRENCY` requirement to use the comparison `>=` by default, instead of `==`
- Added support for using the Texture ID for playerheads in the format `"item": "playerhead-[TEXTURE_ID]"`
- Added support for defining the alias command permission for a GUI menu using `"alias_permission": "skiesguis.gui.example"`. Not defining it will default to `skiesguis.gui.[GUI_ID]`, just as before.
- Added a new NBT deserialization that implements support for defining the tag type of a given tag. For example, this allows you to define a byte tag instead of it defaulting to an integer:
```
"nbt": {
"minecraft:custom_data": {
"example_tag": {
"type": "byte",
"value": 1
}
}
}
```
- Added Advancement requirement type
```
"advancement": {
"type": "ADVANCEMENT",
"advancement": "minecraft:husbandry/bred_all_animals",
"progress": 1.0
}
```
- Added XP requirement type
```
"xp": {
"type": "XP",
"level": false,
"amount": 100
}
```
- Added new `MOLANG` requirement type, which allows the result of a molang expression to be compared against a output option. example:
```
"cobblemon": {
"type": "MOLANG",
"script": "t.party = q.gui.player.party; t.pokemon = t.party.get_pokemon(2); t.pokemon.is_shiny;",
"output": "1"
}
```
- Added alias `"slots"` for the setting `"slot"`
- Updated the default `example_molang.json` file to include `MOLANG` requirement type examples
- Fixed economy actions/requirements not using a default service when unspecified
Need help? Join the Discord: https://discord.gg/cgBww275Fg
Optional dependencies
Cobblemon
Any compatible version
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }