1.2.7
Compatibility
Changes
Likely the last JSON update for now, as I feel the original vision (err design) of this mod is being capitalized as much as can be.
That being said, I do enjoy working on it dw.
Adds various new aspects to the JSONs:
Adds a disabled, tooltip, and finalAffix attribute to JSON's. Disabled allows for very easy toggling of affixes, mainly for base affixes. Tooltips for showing what affixes are available on affix scrolls, easy way to keep track of all the affixes possible. finalAffix is used to signify major affixes or maybe majorly terrible affixes to serve as a troll. Works how XXXXXX will block rerolling affixes. Effects portion of the JSON's have gotten a new remodel: Includes Attribute, Operator, value, and endString. Attribute is extremely sensitive and requires case sensitive phrasing to work, although mispelling as far as I have tested, just causes it to not work. Operator works on 'Adding' and 'Multiplying', adding simply adds the value, and multiplying well, adds a percentage of the score. value just determines the strength of the modification. endString is very small but used in orginization and UUID usage. Also might help with readibility of JSON's
A snipped from the data/upgrade_scrolls/affixes/golden.json below gives an example of the JSON's formatting
{ "name": "godly", "weight": 0.1, "color": "GOLD", "displayName": "Godly", "disabled": false, "tooltip": "tooltip.upgrade_scrolls.upgrade_scroll.line_godly", "finalAffix": false,
"effects": { "weapon": [ { "attribute": "minecraft:generic.attack_speed", "operation": "Multiplying", "value": 0.6, "endString": "swing" },
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:P5opNFe6:kEmzWavF"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:P5opNFe6:kEmzWavF"
}

