Skip to content

Commit 927a107

Browse files
authored
Merge pull request #188 from gottsch/1.12.2-develop
1.12.2 develop
2 parents ad61542 + 962aca4 commit 927a107

File tree

1,224 files changed

+8354
-2298
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,224 files changed

+8354
-2298
lines changed

build.gradle

Lines changed: 56 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,23 @@
11
buildscript {
22
repositories {
3-
jcenter()
4-
maven { url = "http://files.minecraftforge.net/maven" }
3+
maven { url = "http://files.minecraftforge.net/maven" }
4+
jcenter()
55
mavenCentral()
66
}
77
dependencies {
8-
classpath 'net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT'
9-
classpath 'org.ajoberstar:grgit:1.7.2'
8+
classpath 'net.minecraftforge.gradle:ForgeGradle:3.+'
109
}
1110
}
12-
1311
plugins {
14-
// id 'io.franzbecker.gradle-lombok' version '3.1.0'
1512
// must use gradle v3.0+ for this version of shadow (2.0.1). Update gradle-wrapper.properties
16-
id "com.github.johnrengelman.shadow" version "2.0.1"
13+
id "com.github.johnrengelman.shadow" version "4.0.4"
1714
}
1815

19-
apply plugin: 'net.minecraftforge.gradle.forge'
16+
apply plugin: 'net.minecraftforge.gradle'
2017
//Only edit below this line, the above code adds and enables the nessasary things for Forge to be setup.
18+
apply plugin: 'eclipse'
19+
apply plugin: 'maven-publish'
2120

22-
ext {
23-
// Open the Git repository in the parent directory.
24-
// git = org.ajoberstar.grgit.Grgit.open(file('../'))
25-
26-
// Get commit id of HEAD.
27-
// revision = git.head().id
28-
// Alternative is using abbreviatedId of head() method.
29-
// revision = git.head().abbreviatedId
30-
}
31-
32-
//version = "mc${mc_version}-v${mod_version}-${git.head().abbreviatedId}"
3321
version = "mc${mc_version}-f${forge_version}-${mod_version_type}${mod_version}"
3422
group = "${package_group}" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
3523
archivesBaseName = "${mod_name}"
@@ -40,54 +28,68 @@ compileJava {
4028
}
4129

4230
minecraft {
43-
version = "${mc_version}-${forge_version}"
44-
runDir = "run"
31+
// The mappings can be changed at any time, and must be in the following format.
32+
// snapshot_YYYYMMDD Snapshot are built nightly.
33+
// stable_# Stables are built at the discretion of the MCP team.
34+
// Use non-default mappings at your own risk. they may not always work.
35+
// Simply re-run your setup task after changing the mappings to update your workspace.
36+
mappings channel: 'snapshot', version: '20171003-1.12'
37+
// makeObfSourceJar = false // an Srg named sources jar is made by default. uncomment this to disable.
38+
39+
// accessTransformer = file('src/main/resources/META-INF/accesstransformer.cfg')
40+
41+
// Default run configurations.
42+
// These can be tweaked, removed, or duplicated as needed.
43+
runs {
44+
client {
45+
workingDirectory project.file('run')
46+
47+
// Recommended logging data for a userdev environment
48+
property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP'
49+
50+
// Recommended logging level for the console
51+
property 'forge.logging.console.level', 'debug'
52+
}
4553

46-
if (project.hasProperty('mappings_version'))
47-
mappings = project.mappings_version
48-
}
54+
server {
55+
// Recommended logging data for a userdev environment
56+
property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP'
4957

50-
//Optional: change the project structure
51-
sourceSets.main{
52-
java{
53-
srcDirs 'src' //, 'test' //set the source folder as the /src subfolder
54-
}
55-
resources{
56-
srcDirs 'src/resources' //set the resources folder as the /resources subfolder
57-
}
58+
// Recommended logging level for the console
59+
property 'forge.logging.console.level', 'debug'
60+
}
61+
}
5862
}
5963

60-
def gottschcore_path="../gottsch-minecraft-GottschCore/GottschCore${mc_version}/build/libs/GottschCore-mc${mc_version}-f${forge_version}-v${gottschcore_version}.jar"
61-
64+
def gottschcore_path="../gottsch-minecraft-GottschCore/GottschCore${mc_version}/build/libs/GottschCore-mc${mc_version}-f${gottschcore_forge_version}-v${gottschcore_version}.jar"
65+
println gottschcore_path
6266
dependencies {
63-
compile files('../ModCommonLibs/libs/commons-cli-1.4.jar')
67+
minecraft 'net.minecraftforge:forge:1.12.2-14.23.5.2854'
68+
compile files('../ModCommonLibs/libs/commons-cli-1.4.jar')
6469
//compile files(gottschcore_path)
6570
shadow files(gottschcore_path)
66-
compileOnly "vazkii.patchouli:Patchouli:${patchouli_version}"
6771
}
6872

69-
repositories {
70-
maven {
71-
name = 'Patchouli'
72-
url = "https://maven.blamejared.com"
73+
jar {
74+
manifest {
75+
attributes([
76+
"Specification-Title": "${archivesBaseName}",
77+
"Specification-Vendor": "Some Guys Software",
78+
"Specification-Version": "1", // We are version 1 of ourselves
79+
"Implementation-Title": "${archivesBaseName}-${version}",
80+
"Implementation-Version": "${version}",
81+
"Implementation-Vendor" :"Some Guys Software",
82+
"Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ")
83+
])
7384
}
74-
}
75-
processResources
76-
{
77-
// this will ensure that this task is redone when the versions change.
78-
inputs.property "version", project.version
79-
inputs.property "mcversion", project.minecraft.version
80-
81-
// replace stuff in mcmod.info, nothing else
82-
from(sourceSets.main.resources.srcDirs) {
83-
include 'mcmod.info'
84-
85-
// replace version and mcversion
86-
expand 'version':project.version, 'mcversion':project.minecraft.version
87-
}
8885
}
8986

9087
shadowJar {
88+
// with version 4.0.4+ of ShadowJar, the dependencies are required to instruct what files
89+
// are included in the shadow
90+
dependencies {
91+
include(dependency(files('../ModCommonLibs/libs/commons-cli-1.4.jar')))
92+
}
9193
// move everything under "io.github" (which in the DelaunayTriangulator lib) to "com.someguyssoftware.dungeons2.triangulation"
9294
relocate "org.apache.commons.cli", "com.someguyssoftware.treasure2.cli"
9395
// Replace the default JAR

gradle.properties

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,17 @@ package_group=someguyssoftware.treasure2
77
# user alpha, beta, or v (for version)
88
mod_version_type=v
99

10-
mod_version=1.13.1
10+
mod_version=1.14.0
1111

1212
#versions
1313
mc_version=1.12.2
14-
forge_version=14.23.5.2768
15-
mappings_version=snapshot_20171003
16-
gottschcore_version=1.13.1
14+
#forge_version=14.23.5.2768
15+
forge_version=14.23.5.2854
16+
mappings_version=20171003-1.12
17+
gottschcore_version=1.14.0
18+
gottschcore_forge_version=14.23.5.2854
1719
patchouli_version=1.0-20.108
1820

1921
# paths
2022
dest_folder=E:/Minecraft/mods/1.12.2/
21-
dest_server_folder=F:/Minecraft Server/mods/
23+
dest_server_folder=F:/Minecraft Server 1.12.2/mods/

gradle/wrapper/gradle-wrapper.jar

2.38 KB
Binary file not shown.
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
#Mon Sep 14 12:28:28 PDT 2015
21
distributionBase=GRADLE_USER_HOME
32
distributionPath=wrapper/dists
43
zipStoreBase=GRADLE_USER_HOME
54
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-3.0-bin.zip
5+
distributionUrl=https\://services.gradle.org/distributions/gradle-4.9-bin.zip

gradlew

Lines changed: 43 additions & 35 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gradlew.bat

Lines changed: 4 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

models/CardboardBoxEntity.bbmodel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"meta":{"format_version":"3.6","creation_time":1606177658,"model_format":"modded_entity","box_uv":true},"name":"CardboardBoxEntity","geometry_name":"","modded_entity_version":"1.12","visible_box":[1,1,0],"layered_textures":true,"resolution":{"width":128,"height":128},"elements":[{"name":"cube","from":[-7,0,-7],"to":[7,14,7],"autouv":0,"color":6,"locked":false,"origin":[-7,0,-7],"faces":{"north":{"uv":[14,14,28,28],"texture":0},"east":{"uv":[0,14,14,28],"texture":0},"south":{"uv":[42,14,56,28],"texture":0},"west":{"uv":[28,14,42,28],"texture":0},"up":{"uv":[28,14,14,0],"texture":0},"down":{"uv":[42,0,28,14],"texture":0}},"uuid":"7cab9805-ecf6-ce70-6b82-3c2b0664b4fa"},{"name":"rightFlap","from":[-7,14,-7],"to":[0,15,7],"autouv":0,"color":1,"locked":false,"origin":[-7,14,0],"uv_offset":[28,29],"faces":{"north":{"uv":[42,43,49,44],"texture":0},"east":{"uv":[28,43,42,44],"texture":0},"south":{"uv":[63,43,70,44],"texture":0},"west":{"uv":[49,43,63,44],"texture":0},"up":{"uv":[49,43,42,29],"texture":0},"down":{"uv":[56,29,49,43],"texture":0}},"uuid":"d3376753-63c4-9bef-f50f-5de951b8f3fa"},{"name":"leftFlap","from":[0,14,-7],"to":[7,15,7],"autouv":0,"color":1,"locked":false,"origin":[8,14,0],"uv_offset":[0,28],"faces":{"north":{"uv":[14,42,21,43],"texture":0},"east":{"uv":[0,42,14,43],"texture":0},"south":{"uv":[35,42,42,43],"texture":0},"west":{"uv":[21,42,35,43],"texture":0},"up":{"uv":[21,42,14,28],"texture":0},"down":{"uv":[28,28,21,42],"texture":0}},"uuid":"cbcd12de-2c41-46d7-0150-c6ea084239fa"},{"name":"southFlap","from":[-7,13.999,0.9989999999999997],"to":[7,14.999,6.999],"autouv":0,"color":2,"locked":false,"origin":[0,14,7],"uv_offset":[42,7],"faces":{"north":{"uv":[48,13,62,14],"texture":0},"east":{"uv":[42,13,48,14],"texture":0},"south":{"uv":[68,13,82,14],"texture":0},"west":{"uv":[62,13,68,14],"texture":0},"up":{"uv":[62,13,48,7],"texture":0},"down":{"uv":[76,7,62,13],"texture":0}},"uuid":"3d03b67a-f700-64fc-0ea2-4786d167e0d4"},{"name":"northFlap","from":[-7,13.999000000000002,-6.999],"to":[7,14.999000000000002,-0.9990000000000006],"autouv":0,"color":2,"locked":false,"origin":[-7,14,-7],"uv_offset":[42,0],"faces":{"north":{"uv":[48,6,62,7],"texture":0},"east":{"uv":[42,6,48,7],"texture":0},"south":{"uv":[68,6,82,7],"texture":0},"west":{"uv":[62,6,68,7],"texture":0},"up":{"uv":[62,6,48,0],"texture":0},"down":{"uv":[76,0,62,6],"texture":0}},"uuid":"073f75b2-c62c-9ebe-41e4-2a500c292863"}],"outliner":["7cab9805-ecf6-ce70-6b82-3c2b0664b4fa","d3376753-63c4-9bef-f50f-5de951b8f3fa","cbcd12de-2c41-46d7-0150-c6ea084239fa","3d03b67a-f700-64fc-0ea2-4786d167e0d4","073f75b2-c62c-9ebe-41e4-2a500c292863"],"textures":[{"path":"/Users/jzmjsr/Documents/Blockbench/cardboard-box.png","name":"cardboard-box.png","folder":"Blockbench","namespace":"","id":"0","particle":false,"visible":true,"mode":"bitmap","saved":true,"uuid":"5b7d5a41-7c1a-f6ed-7fcf-b8af457c0d2b","source":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAALaklEQVR4Xu2c2ZIjVxGGT2npRT2DI3gM9uUOmyCCZ/DAjW0wBgI8MwYizOJn8AV4vECEsbENF4xnHoLAmCvA4A1eg+lFaqmkIv5T+mtS1VUt6YyyZ1KkIjrUkurkSWV+lSfzLMpC4uP9N64XRVEE/OGRZVn1PJvNQrfbja+n02l85mu2ke26g/2QT2eh1+1EOZOj4zMyP/ftF8sOao/337ga9UCfeO73d0Oe5/Gqfr8f+8Vn+INsPlNn6n16ehqv7XQ6sS3l4XNeg88+88QLjXokmvG+N0v+Mh++9aPi+bf+FPZ2u6EIJQR8ZCELWbc0ZDGdxefjYR6ee/Lr0UnSYRGOwX6Y5NPQ75XQzIajCizK/MJ3Xm7U9b3Xv1/QQbi2k+1EAPDezs5OdCoghEPhQH4GHXAN3sMzAMD/fC0Bxed8/dlv3Ui22X33doMCyV8GALz49jthNMzD3l5Per+8e+d3UjGbhdEoD/uDnXD9yiNnnE8AZATIj08Wgcqy0BYB/vbqUwWcxru3mHUXAOj1ehUAcOR4PF4AgQ5fAHgORgRYRBe0//yTLyXbbKsAwBDw8q1343canQKCfhkqsxDgdAJwfHQaBoN+fA0AcDfW767eYLAwBJweHkZZ8u/Tj/+q0fD/+t21gmGesuFk/I8IcHBwEJ8nk0kYjUZxWEA0kENTU9iX7+FagIR+PvXYLx0AOB2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