Skip to content

Commit 1488d0d

Browse files
committed
1.17.1-update also 1.0.0-aplha-0
1 parent 1573f23 commit 1488d0d

File tree

69 files changed

+1284
-3264
lines changed

Some content is hidden

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

69 files changed

+1284
-3264
lines changed

CHANGELOG.txt

+3-12
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
1-
Lead:
2-
+ Bush Hammer - new way how to crack blocks (right clicking should do nothing for now)
3-
4-
Tags:
5-
+ Added support for forge tags so now other mods that uses forge tags should be compatible with this mod
6-
71
Other:
8-
+ Packets but now does not work
9-
- Now pressing Shift will show the tinted items durability in inventory
10-
- Lead Ingot texture little bit fixed
11-
- Fixed wrong xp drop calculation from Lead Ore
12-
- Fixed bug when you get Dawn Shine effect when you had no silver tinted item
13-
- Fixed crystal glass pane connectivity
2+
- Updated to Minecraft: 1.17.1, Forge: 37.0.22 (forge is in beta)
3+
- Without Entities (Block Entity and entities itself)
4+
- Fixed bug where there was a small chance that random text appeared in stone on one side

build.gradle

+72-48
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,41 @@
11
buildscript {
22
repositories {
3-
maven { url = 'https://files.minecraftforge.net/maven' }
4-
jcenter()
3+
// These repositories are only for Gradle plugins, put any other repositories in the repository block further below
4+
maven { url = 'https://maven.minecraftforge.net' }
55
mavenCentral()
66
}
77
dependencies {
8-
classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '3.+', changing: true
8+
classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '5.1.+', changing: true
99
}
1010
}
1111
apply plugin: 'net.minecraftforge.gradle'
1212
// Only edit below this line, the above code adds and enables the necessary things for Forge to be setup.
1313
apply plugin: 'eclipse'
1414
apply plugin: 'maven-publish'
1515

16-
version = '1.16.4-0.5.1-beta'
16+
version = '1.17.1-1.0.0-aplha-0'
1717
group = 'me.gleep.oreganized' // http://maven.apache.org/guides/mini/guide-naming-conventions.html
1818
archivesBaseName = 'oreganized'
1919

20-
sourceCompatibility = targetCompatibility = compileJava.sourceCompatibility = compileJava.targetCompatibility = '1.8' // Need this here so eclipse task generates correctly.
20+
// Mojang ships Java 16 to end users in 1.17+ instead of Java 8 in 1.16 or lower, so your mod should target Java 16.
21+
java.toolchain.languageVersion = JavaLanguageVersion.of(16)
2122

2223
println('Java: ' + System.getProperty('java.version') + ' JVM: ' + System.getProperty('java.vm.version') + '(' + System.getProperty('java.vendor') + ') Arch: ' + System.getProperty('os.arch'))
2324
minecraft {
24-
// The mappings can be changed at any time, and must be in the following format.
25-
// snapshot_YYYYMMDD Snapshot are built nightly.
26-
// stable_# Stables are built at the discretion of the MCP team.
27-
// Use non-default mappings at your own risk. they may not always work.
25+
// The mappings can be changed at any time and must be in the following format.
26+
// Channel: Version:
27+
// snapshot YYYYMMDD Snapshot are built nightly.
28+
// stable # Stables are built at the discretion of the MCP team.
29+
// official MCVersion Official field/method names from Mojang mapping files
30+
//
31+
// You must be aware of the Mojang license when using the 'official' mappings.
32+
// See more information here: https://github.com/MinecraftForge/MCPConfig/blob/master/Mojang.md
33+
//
34+
// Use non-default mappings at your own risk. They may not always work.
2835
// Simply re-run your setup task after changing the mappings to update your workspace.
29-
// 20201028-1.16.3
30-
mappings channel: 'snapshot', version: '20201028-1.16.3'
31-
// makeObfSourceJar = false // an Srg named sources jar is made by default. uncomment this to disable.
32-
33-
// accessTransformer = file('src/main/resources/META-INF/accesstransformer.cfg')
36+
mappings channel: 'official', version: '1.17.1'
37+
38+
// accessTransformer = file('src/main/resources/META-INF/accesstransformer.cfg') // Currently, this location cannot be changed from the default.
3439

3540
// Default run configurations.
3641
// These can be tweaked, removed, or duplicated as needed.
@@ -39,9 +44,15 @@ minecraft {
3944
workingDirectory project.file('run')
4045

4146
// Recommended logging data for a userdev environment
42-
property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP'
47+
// The markers can be added/remove as needed separated by commas.
48+
// "SCAN": For mods scan.
49+
// "REGISTRIES": For firing of registry events.
50+
// "REGISTRYDUMP": For getting the contents of all registries.
51+
property 'forge.logging.markers', 'REGISTRIES'
4352

4453
// Recommended logging level for the console
54+
// You can set various levels here.
55+
// Please read: https://stackoverflow.com/questions/2031163/when-to-use-the-different-log-levels
4556
property 'forge.logging.console.level', 'debug'
4657

4758
mods {
@@ -55,9 +66,15 @@ minecraft {
5566
workingDirectory project.file('run')
5667

5768
// Recommended logging data for a userdev environment
58-
property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP'
69+
// The markers can be added/remove as needed separated by commas.
70+
// "SCAN": For mods scan.
71+
// "REGISTRIES": For firing of registry events.
72+
// "REGISTRYDUMP": For getting the contents of all registries.
73+
property 'forge.logging.markers', 'REGISTRIES'
5974

6075
// Recommended logging level for the console
76+
// You can set various levels here.
77+
// Please read: https://stackoverflow.com/questions/2031163/when-to-use-the-different-log-levels
6178
property 'forge.logging.console.level', 'debug'
6279

6380
mods {
@@ -71,9 +88,15 @@ minecraft {
7188
workingDirectory project.file('run')
7289

7390
// Recommended logging data for a userdev environment
74-
property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP'
91+
// The markers can be added/remove as needed separated by commas.
92+
// "SCAN": For mods scan.
93+
// "REGISTRIES": For firing of registry events.
94+
// "REGISTRYDUMP": For getting the contents of all registries.
95+
property 'forge.logging.markers', 'REGISTRIES'
7596

7697
// Recommended logging level for the console
98+
// You can set various levels here.
99+
// Please read: https://stackoverflow.com/questions/2031163/when-to-use-the-different-log-levels
77100
property 'forge.logging.console.level', 'debug'
78101

79102
// Specify the modid for data generation, where to output the resulting resource, and where to look for existing resources.
@@ -91,54 +114,55 @@ minecraft {
91114
// Include resources generated by data generators.
92115
sourceSets.main.resources { srcDir 'src/generated/resources' }
93116

94-
dependencies {
95-
implementation 'org.jetbrains:annotations:19.0.0'
117+
repositories {
118+
// Put repositories for dependencies here
119+
// ForgeGradle automatically adds the Forge maven and Maven Central for you
96120

97-
// Specify the version of Minecraft to use, If this is any group other then 'net.minecraft' it is assumed
98-
// that the dep is a ForgeGradle 'patcher' dependency. And it's patches will be applied.
99-
// The userdev artifact is a special name and will get all sorts of transformations applied to it.
100-
minecraft 'net.minecraftforge:forge:1.16.4-35.1.5'
101-
102-
// You may put jars on which you depend on in ./libs or you may define them like so..
103-
// compile "some.group:artifact:version:classifier"
104-
// compile "some.group:artifact:version"
121+
// If you have mod jar dependencies in ./libs, you can declare them as a repository like so:
122+
// flatDir {
123+
// dir 'libs'
124+
// }
125+
}
105126

106-
// Real examples
107-
// compile 'com.mod-buildcraft:buildcraft:6.0.8:dev' // adds buildcraft to the dev env
108-
// compile 'com.googlecode.efficient-java-matrix-library:ejml:0.24' // adds ejml to the dev env
127+
dependencies {
128+
// Specify the version of Minecraft to use. If this is any group other than 'net.minecraft', it is assumed
129+
// that the dep is a ForgeGradle 'patcher' dependency, and its patches will be applied.
130+
// The userdev artifact is a special name and will get all sorts of transformations applied to it.
131+
minecraft 'net.minecraftforge:forge:1.17.1-37.0.97'
109132

110-
// The 'provided' configuration is for optional dependencies that exist at compile-time but might not at runtime.
111-
// provided 'com.mod-buildcraft:buildcraft:6.0.8:dev'
133+
// Real mod deobf dependency examples - these get remapped to your current mappings
134+
// compileOnly fg.deobf("mezz.jei:jei-${mc_version}:${jei_version}:api") // Adds JEI API as a compile dependency
135+
// runtimeOnly fg.deobf("mezz.jei:jei-${mc_version}:${jei_version}") // Adds the full JEI mod as a runtime dependency
136+
// implementation fg.deobf("com.tterrag.registrate:Registrate:MC${mc_version}-${registrate_version}") // Adds registrate as a dependency
112137

113-
// These dependencies get remapped to your current MCP mappings
114-
// deobf 'com.mod-buildcraft:buildcraft:6.0.8:dev'
138+
// Examples using mod jars from ./libs
139+
// implementation fg.deobf("blank:coolmod-${mc_version}:${coolmod_version}")
115140

116141
// For more info...
117142
// http://www.gradle.org/docs/current/userguide/artifact_dependencies_tutorial.html
118143
// http://www.gradle.org/docs/current/userguide/dependency_management.html
119-
120144
}
121145

122-
// Example for how to get properties into the manifest for reading by the runtime..
146+
// Example for how to get properties into the manifest for reading at runtime.
123147
jar {
124148
manifest {
125149
attributes([
126-
"Specification-Title": "oreganizedmod",
127-
"Specification-Vendor": "oreganizedsareus",
128-
"Specification-Version": "${version}", // We are version 1 of ourselves
129-
"Implementation-Title": "Oreganized Mod",
130-
"Implementation-Version": "${version}",
131-
"Implementation-Vendor" :"oreganizedsareus",
132-
"Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ")
150+
"Specification-Title" : "oreganized",
151+
"Specification-Vendor" : "oreganizedsareus",
152+
"Specification-Version" : "1", // We are version 1 of ourselves
153+
"Implementation-Title" : project.name,
154+
"Implementation-Version" : project.jar.archiveVersion,
155+
"Implementation-Vendor" : "oreganizedsareus",
156+
"Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ")
133157
])
134158
}
135159
}
136160

137-
// Example configuration to allow publishing using the maven-publish task
161+
// Example configuration to allow publishing using the maven-publish plugin
138162
// This is the preferred method to reobfuscate your jar file
139-
jar.finalizedBy('reobfJar')
163+
jar.finalizedBy('reobfJar')
140164
// However if you are in a multi-project build, dev time needs unobfed jar files, so you can delay the obfuscation until publishing by doing
141-
//publish.dependsOn('reobfJar')
165+
// publish.dependsOn('reobfJar')
142166

143167
publishing {
144168
publications {
@@ -148,7 +172,7 @@ publishing {
148172
}
149173
repositories {
150174
maven {
151-
url "file:///${project.projectDir}/mcmodsrepo"
175+
url "file://${project.projectDir}/mcmodsrepo"
152176
}
153177
}
154-
}
178+
}

gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Sets default memory used for gradle commands. Can be overridden by user or command line properties.
22
# This is required to provide enough memory for the Minecraft decompilation process.
3-
org.gradle.jvmargs=-Xmx4G
3+
org.gradle.jvmargs=-Xmx3G
44
org.gradle.daemon=false

gradle/wrapper/gradle-wrapper.jar

4.71 KB
Binary file not shown.
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions-snapshots/gradle-7.2-20210702220150+0000-bin.zip
34
zipStoreBase=GRADLE_USER_HOME
45
zipStorePath=wrapper/dists
5-
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.3-bin.zip

gradlew

+34-21
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
#!/usr/bin/env sh
22

3+
#
4+
# Copyright 2015 the original author or authors.
5+
#
6+
# Licensed under the Apache License, Version 2.0 (the "License");
7+
# you may not use this file except in compliance with the License.
8+
# You may obtain a copy of the License at
9+
#
10+
# https://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
# Unless required by applicable law or agreed to in writing, software
13+
# distributed under the License is distributed on an "AS IS" BASIS,
14+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
# See the License for the specific language governing permissions and
16+
# limitations under the License.
17+
#
18+
319
##############################################################################
420
##
521
## Gradle start up script for UN*X
@@ -28,7 +44,7 @@ APP_NAME="Gradle"
2844
APP_BASE_NAME=`basename "$0"`
2945

3046
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
31-
DEFAULT_JVM_OPTS=""
47+
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
3248

3349
# Use the maximum available, or set MAX_FD != -1 to use that value.
3450
MAX_FD="maximum"
@@ -56,7 +72,7 @@ case "`uname`" in
5672
Darwin* )
5773
darwin=true
5874
;;
59-
MINGW* )
75+
MSYS* | MINGW* )
6076
msys=true
6177
;;
6278
NONSTOP* )
@@ -66,6 +82,7 @@ esac
6682

6783
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
6884

85+
6986
# Determine the Java command to use to start the JVM.
7087
if [ -n "$JAVA_HOME" ] ; then
7188
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
@@ -109,10 +126,11 @@ if $darwin; then
109126
GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
110127
fi
111128

112-
# For Cygwin, switch paths to Windows format before running java
113-
if $cygwin ; then
129+
# For Cygwin or MSYS, switch paths to Windows format before running java
130+
if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then
114131
APP_HOME=`cygpath --path --mixed "$APP_HOME"`
115132
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
133+
116134
JAVACMD=`cygpath --unix "$JAVACMD"`
117135

118136
# We build the pattern for arguments to be converted via cygpath
@@ -138,19 +156,19 @@ if $cygwin ; then
138156
else
139157
eval `echo args$i`="\"$arg\""
140158
fi
141-
i=$((i+1))
159+
i=`expr $i + 1`
142160
done
143161
case $i in
144-
(0) set -- ;;
145-
(1) set -- "$args0" ;;
146-
(2) set -- "$args0" "$args1" ;;
147-
(3) set -- "$args0" "$args1" "$args2" ;;
148-
(4) set -- "$args0" "$args1" "$args2" "$args3" ;;
149-
(5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
150-
(6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
151-
(7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
152-
(8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
153-
(9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
162+
0) set -- ;;
163+
1) set -- "$args0" ;;
164+
2) set -- "$args0" "$args1" ;;
165+
3) set -- "$args0" "$args1" "$args2" ;;
166+
4) set -- "$args0" "$args1" "$args2" "$args3" ;;
167+
5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
168+
6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
169+
7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
170+
8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
171+
9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
154172
esac
155173
fi
156174

@@ -159,14 +177,9 @@ save () {
159177
for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
160178
echo " "
161179
}
162-
APP_ARGS=$(save "$@")
180+
APP_ARGS=`save "$@"`
163181

164182
# Collect all arguments for the java command, following the shell quoting and substitution rules
165183
eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"
166184

167-
# by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong
168-
if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then
169-
cd "$(dirname "$0")"
170-
fi
171-
172185
exec "$JAVACMD" "$@"

0 commit comments

Comments
 (0)