#2775 Adding Trinket support for BatpackItem. Thanks to SimonFlapse
* #2775 Adding trinket support for BatpackItem * Added support for wearing BatpackItems in the 'back' trinket slot on the chest. This frees up an additional space for regular armor. * BatpackItem only output when in chest armor slot
This commit is contained in:
parent
4fc9352c76
commit
e28c9176e5
6 changed files with 115 additions and 18 deletions
21
build.gradle
21
build.gradle
|
@ -45,6 +45,16 @@ repositories {
|
|||
content {
|
||||
// Trinkets dependency
|
||||
includeGroup "io.github.onyxstudios.Cardinal-Components-API"
|
||||
includeGroup "dev.onyxstudios.cardinal-components-api"
|
||||
}
|
||||
}
|
||||
// Needed because of an error in the POM file in the Trinkets implementation
|
||||
// See https://github.com/emilyploszaj/trinkets/issues/159
|
||||
maven {
|
||||
name = "TerraformersMC"
|
||||
url = "https://maven.terraformersmc.com/"
|
||||
content {
|
||||
includeGroup("com.terraformersmc")
|
||||
}
|
||||
}
|
||||
maven {
|
||||
|
@ -184,7 +194,7 @@ dependencies {
|
|||
include project(":RebornCore")
|
||||
|
||||
optionalDependency "me.shedaniel:RoughlyEnoughItems-fabric:${project.rei_version}"
|
||||
disabledOptionalDependency "com.github.emilyploszaj:trinkets:${project.trinkets_version}"
|
||||
optionalDependency "com.github.emilyploszaj:trinkets:${project.trinkets_version}"
|
||||
disabledOptionalDependency "net.oskarstrom:DashLoader:${project.dashloader_version}"
|
||||
|
||||
// Use groovy for datagen/gametest, if you are copying this you prob dont want it.
|
||||
|
@ -304,8 +314,10 @@ task renameCrowdin(type: Copy, dependsOn: ['crowdin', 'cleanCrowdin']){
|
|||
}
|
||||
}
|
||||
|
||||
import groovy.json.JsonSlurper
|
||||
|
||||
import groovy.json.JsonOutput
|
||||
import groovy.json.JsonSlurper
|
||||
import groovy.util.XmlSlurper
|
||||
|
||||
task fixTranslations(dependsOn: ['renameCrowdin']) {
|
||||
description "Remove all translations that do not have an entry, ensures that minecraft falls back to EN_US over writing out an empty string"
|
||||
|
@ -321,7 +333,8 @@ task fixTranslations(dependsOn: ['renameCrowdin']) {
|
|||
}
|
||||
}
|
||||
|
||||
import groovy.util.XmlSlurper
|
||||
|
||||
import org.kohsuke.github.GHReleaseBuilder
|
||||
|
||||
curseforge {
|
||||
if (ENV.CURSEFORGE_API_KEY) {
|
||||
|
@ -360,7 +373,7 @@ def getBranch() {
|
|||
return "unknown"
|
||||
}
|
||||
|
||||
import org.kohsuke.github.GHReleaseBuilder
|
||||
|
||||
import org.kohsuke.github.GitHub
|
||||
|
||||
task github(dependsOn: remapJar) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue