Fix version not being set in the mod.json + some clean up
This commit is contained in:
parent
e1112a5cff
commit
e4136f547d
4 changed files with 12 additions and 53 deletions
17
build.gradle
17
build.gradle
|
@ -101,29 +101,26 @@ dependencies {
|
||||||
modCompile (rcVersion)
|
modCompile (rcVersion)
|
||||||
}
|
}
|
||||||
|
|
||||||
include rcVersion
|
//TODO enable this again at somepoint
|
||||||
|
//include rcVersion
|
||||||
|
|
||||||
compile 'org.checkerframework:checker-qual:2.10.0'
|
compile 'org.checkerframework:checker-qual:2.10.0'
|
||||||
compileOnly "com.google.code.findbugs:jsr305:+"
|
compileOnly "com.google.code.findbugs:jsr305:+"
|
||||||
}
|
}
|
||||||
|
|
||||||
processResources{
|
processResources {
|
||||||
inputs.property 'version', project.version
|
inputs.property "version", project.version
|
||||||
inputs.property 'mcversion', '1.14'
|
|
||||||
|
|
||||||
from(sourceSets.main.resources.srcDirs) {
|
from(sourceSets.main.resources.srcDirs) {
|
||||||
include 'META_INF/mods.toml'
|
include "fabric.mod.json"
|
||||||
expand 'version':project.version, 'mcversion': '1.14'
|
expand "version": project.version
|
||||||
}
|
}
|
||||||
|
|
||||||
from(sourceSets.main.resources.srcDirs) {
|
from(sourceSets.main.resources.srcDirs) {
|
||||||
exclude 'META_INF/mods.toml'
|
exclude "fabric.mod.json"
|
||||||
}
|
}
|
||||||
|
|
||||||
rename '(.+_at.cfg)', 'META-INF/$1'
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
jar {
|
jar {
|
||||||
exclude "**/*.psd"
|
exclude "**/*.psd"
|
||||||
classifier = 'universal'
|
classifier = 'universal'
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
"techreborn.rei.ReiPlugin"
|
"techreborn.rei.ReiPlugin"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"requires": {
|
"depends": {
|
||||||
"fabricloader": ">=0.4.0",
|
"fabricloader": ">=0.4.0",
|
||||||
"fabric": "*",
|
"fabric": "*",
|
||||||
"reborncore": "*"
|
"reborncore": "*"
|
||||||
|
|
|
@ -1,25 +0,0 @@
|
||||||
[
|
|
||||||
{
|
|
||||||
"modid": "techreborn",
|
|
||||||
"name": "Tech Reborn",
|
|
||||||
"description": "Tech Reborn is a completely standalone tech mod including tools and machines to gather resources, process materials, and progress through the mod. http://www.techreborn.ovh/",
|
|
||||||
"version": "$version",
|
|
||||||
"mcversion": "$mcversion",
|
|
||||||
"url": "https://github.com/TechReborn/TechReborn",
|
|
||||||
"updateUrl": "",
|
|
||||||
"authorList": [
|
|
||||||
"modmuss50",
|
|
||||||
"Gigabit101",
|
|
||||||
"Prospector",
|
|
||||||
"drcrazy"
|
|
||||||
],
|
|
||||||
"credits": "Thanks to these contributors: TheMattaBase, Mj11jM, Mazdallier, tntrololol, joflashstudios, lclc98, Lordmau5, mezz, Thog, and Dimmerworld",
|
|
||||||
"logoFile": "logo.png",
|
|
||||||
"screenshots": [
|
|
||||||
],
|
|
||||||
"parent": "",
|
|
||||||
"dependencies": [
|
|
||||||
"reborncore"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
|
@ -1,13 +0,0 @@
|
||||||
public net.minecraft.client.gui.recipebook.GuiRecipeBook field_193022_s # recipeBookPage
|
|
||||||
public net.minecraft.client.gui.recipebook.GuiRecipeBook field_191915_z # ghostRecipe
|
|
||||||
public net.minecraft.client.gui.recipebook.GuiRecipeBook field_193960_m # toggleRecipesBtn
|
|
||||||
|
|
||||||
public net.minecraft.client.gui.recipebook.GuiRecipeBook field_191904_o # width
|
|
||||||
public net.minecraft.client.gui.recipebook.GuiRecipeBook field_191905_p # height
|
|
||||||
public net.minecraft.client.gui.recipebook.GuiRecipeBook field_191903_n # xOffset
|
|
||||||
|
|
||||||
public net.minecraft.client.gui.inventory.GuiContainer field_147003_i # guiLeft
|
|
||||||
public net.minecraft.client.gui.inventory.GuiContainer field_147009_r # guiTop
|
|
||||||
|
|
||||||
#RebornCore uses this, so I added it here make setting up a dev env easier, shoudlnt halm to much
|
|
||||||
public net.minecraft.client.renderer.BlockFluidRenderer func_178269_a(Lnet/minecraft/world/IBlockAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/material/Material;)F # getFluidHeight
|
|
Loading…
Add table
Reference in a new issue