mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-25 06:34:35 +00:00
Compare commits
4
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
64b5b41f02 | ||
|
|
15a0f7f6c6 | ||
|
|
66fb9ddbb3 | ||
|
|
0fff3926fe |
No files matched your search
+2
-3
@@ -15,7 +15,7 @@ To set up the mod as to allow you to make changes, do the following:
|
||||
|
||||
### IntelliJ IDEA
|
||||
1. Run `gradlew idea`.
|
||||
2. Open IntelliJ and point to either the project folder or the build.gradle file.
|
||||
2. Open IntelliJ and point to either the project folder or the `build.gradle` file.
|
||||
3. After opening the project in IntelliJ, run `gradlew genIntellijRuns` in the command terminal you opened earlier.
|
||||
|
||||
### Eclipse
|
||||
@@ -24,9 +24,8 @@ To set up the mod as to allow you to make changes, do the following:
|
||||
2. Open Eclipse and import the folder as a project.
|
||||
|
||||
You now have a functional local copy of Chisel, ready to develop on.
|
||||
|
||||
___
|
||||
Formatting
|
||||
----------
|
||||
|
||||
When coding for Chisel 2, please use the provided [formatter settings](eclipseFormat.xml) to format your code. Poorly formatted code, or PRs which reformat existing code will likely not be accepted.
|
||||
When coding for the GTNH branch, please run `gradlew spotlessApply` before posting a PR.
|
||||
@@ -1,6 +1,6 @@
|
||||
Chisel
|
||||
=======
|
||||
Chisel is a mod for Minecraft which adds aesthetic blocks to the game through the use of a chisel.
|
||||
Chisel is a mod for Minecraft which adds aesthetic blocks to the game through the use of a chisel.
|
||||
|
||||
Originally created by AUTOMATIC_MAIDEN, it was ported to Minecraft 1.7.2 by asie, and maintained by Pokefenn/Cricket during 1.7.10.
|
||||
|
||||
@@ -12,9 +12,7 @@ It was previously maintained by [tterrag](http://github.com/tterrag1098), [Drull
|
||||
Pull Requests
|
||||
---------------
|
||||
|
||||
Pull requests with new features, translations, and bugfixes are very welcome. Please make sure to always submit PRs against the ***dev*** branch, not master.
|
||||
|
||||
Do not make PRs that are solely formatting or other aesthetic things.
|
||||
Pull requests with new features, translations, and bugfixes are very welcome.
|
||||
|
||||
If your PR is going to take a lot of work, it may be best to make an issue so we can discuss the feature before you create it.
|
||||
|
||||
@@ -22,10 +20,9 @@ See the [CONTRIBUTING](CONTRIBUTING.md) file for more details.
|
||||
|
||||
Issue Reporting
|
||||
----------------
|
||||
If you wish to report an issue with the mod, please submit one to the issue tracker in this repository. When creating an
|
||||
If you wish to report an issue with this version of the mod, please submit one to the [GTNH issue tracker](https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues). When creating an
|
||||
issue, please be sure to include:
|
||||
|
||||
- The version of Chisel you are using ("latest" is not an acceptable version)
|
||||
- The version of Forge you are using
|
||||
- If applicable, the crash report (preferably via [Pastebin](http://pastebin.com/)). generated by the error
|
||||
- The version of Chisel or GTNH you are using ("latest" is not an acceptable version)
|
||||
- The crash report (preferably via [Pastebin](http://pastebin.com/)) generated by the error, if any
|
||||
- Depending on the error, an image of the problem
|
||||
+3
-3
@@ -1,4 +1,4 @@
|
||||
//version: 1704135167
|
||||
//version: 1704751096
|
||||
/*
|
||||
DO NOT CHANGE THIS FILE!
|
||||
Also, you may replace this file at any time if there is an update available.
|
||||
@@ -53,7 +53,7 @@ plugins {
|
||||
id 'com.diffplug.spotless' version '6.13.0' apply false // 6.13.0 is the last jvm8 supporting version
|
||||
id 'com.modrinth.minotaur' version '2.+' apply false
|
||||
id 'com.matthewprenger.cursegradle' version '1.4.0' apply false
|
||||
id 'com.gtnewhorizons.retrofuturagradle' version '1.3.26'
|
||||
id 'com.gtnewhorizons.retrofuturagradle' version '1.3.27'
|
||||
}
|
||||
|
||||
print("You might want to check out './gradlew :faq' if your build fails.\n")
|
||||
@@ -786,7 +786,7 @@ dependencies {
|
||||
java17Dependencies("com.github.GTNewHorizons:lwjgl3ify:${lwjgl3ifyVersion}")
|
||||
}
|
||||
if (modId != 'hodgepodge') {
|
||||
java17Dependencies('com.github.GTNewHorizons:Hodgepodge:2.3.35')
|
||||
java17Dependencies('com.github.GTNewHorizons:Hodgepodge:2.4.4')
|
||||
}
|
||||
|
||||
java17PatchDependencies("com.github.GTNewHorizons:lwjgl3ify:${lwjgl3ifyVersion}:forgePatches") {transitive = false}
|
||||
|
||||
+5
-5
@@ -1,10 +1,10 @@
|
||||
// Add your dependencies here
|
||||
|
||||
dependencies {
|
||||
implementation("com.github.GTNewHorizons:CodeChickenCore:1.1.11:dev")
|
||||
implementation("com.github.GTNewHorizons:CodeChickenLib:1.1.8:dev")
|
||||
implementation("com.github.GTNewHorizons:NotEnoughItems:2.4.13-GTNH:dev")
|
||||
implementation("com.github.GTNewHorizons:ForgeMultipart:1.4.3:dev")
|
||||
implementation("com.github.GTNewHorizons:CodeChickenCore:1.2.0:dev")
|
||||
implementation("com.github.GTNewHorizons:CodeChickenLib:1.2.0:dev")
|
||||
implementation("com.github.GTNewHorizons:NotEnoughItems:2.5.4-GTNH:dev")
|
||||
implementation("com.github.GTNewHorizons:ForgeMultipart:1.4.7:dev")
|
||||
|
||||
compileOnly("org.projectlombok:lombok:1.18.24")
|
||||
annotationProcessor("org.projectlombok:lombok:1.18.24")
|
||||
@@ -14,7 +14,7 @@ dependencies {
|
||||
devOnlyNonPublishable("com.github.GTNewHorizons:waila:1.6.5:dev") {
|
||||
transitive = false
|
||||
}
|
||||
devOnlyNonPublishable("com.github.GTNewHorizons:WailaHarvestability:1.1.10-GTNH:dev")
|
||||
devOnlyNonPublishable("com.github.GTNewHorizons:WailaHarvestability:1.2.0-GTNH:dev")
|
||||
|
||||
compileOnly("curse.maven:ee3-65509:2305023") { // https://www.curseforge.com/minecraft/mc-mods/ee3/files/2305023
|
||||
transitive = false
|
||||
|
||||
Vendored
BIN
Binary file not shown.
@@ -83,7 +83,8 @@ done
|
||||
# This is normally unused
|
||||
# shellcheck disable=SC2034
|
||||
APP_BASE_NAME=${0##*/}
|
||||
APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
|
||||
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
|
||||
APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit
|
||||
|
||||
# Use the maximum available, or set MAX_FD != -1 to use that value.
|
||||
MAX_FD=maximum
|
||||
@@ -144,7 +145,7 @@ if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
|
||||
case $MAX_FD in #(
|
||||
max*)
|
||||
# In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
|
||||
# shellcheck disable=SC3045
|
||||
# shellcheck disable=SC2039,SC3045
|
||||
MAX_FD=$( ulimit -H -n ) ||
|
||||
warn "Could not query maximum file descriptor limit"
|
||||
esac
|
||||
@@ -152,7 +153,7 @@ if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
|
||||
'' | soft) :;; #(
|
||||
*)
|
||||
# In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
|
||||
# shellcheck disable=SC3045
|
||||
# shellcheck disable=SC2039,SC3045
|
||||
ulimit -n "$MAX_FD" ||
|
||||
warn "Could not set maximum file descriptor limit to $MAX_FD"
|
||||
esac
|
||||
@@ -201,11 +202,11 @@ fi
|
||||
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
||||
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
|
||||
|
||||
# Collect all arguments for the java command;
|
||||
# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of
|
||||
# shell script including quotes and variable substitutions, so put them in
|
||||
# double quotes to make sure that they get re-expanded; and
|
||||
# * put everything else in single quotes, so that it's not re-expanded.
|
||||
# Collect all arguments for the java command:
|
||||
# * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
|
||||
# and any embedded shellness will be escaped.
|
||||
# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
|
||||
# treated as '${Hostname}' itself on the command line.
|
||||
|
||||
set -- \
|
||||
"-Dorg.gradle.appname=$APP_BASE_NAME" \
|
||||
|
||||
+4
-5
@@ -4,10 +4,9 @@ pluginManagement {
|
||||
maven {
|
||||
// RetroFuturaGradle
|
||||
name "GTNH Maven"
|
||||
url "http://jenkins.usrv.eu:8081/nexus/content/groups/public/"
|
||||
allowInsecureProtocol = true
|
||||
url "https://nexus.gtnewhorizons.com/repository/public/"
|
||||
mavenContent {
|
||||
includeGroup("com.gtnewhorizons.retrofuturagradle")
|
||||
includeGroupByRegex("com\\.gtnewhorizons\\..+")
|
||||
}
|
||||
}
|
||||
gradlePluginPortal()
|
||||
@@ -17,8 +16,8 @@ pluginManagement {
|
||||
}
|
||||
|
||||
plugins {
|
||||
id 'com.diffplug.blowdryerSetup' version '1.6.0'
|
||||
id 'org.gradle.toolchains.foojay-resolver-convention' version '0.4.0' // Provides java toolchains
|
||||
id 'com.diffplug.blowdryerSetup' version '1.7.1'
|
||||
id 'org.gradle.toolchains.foojay-resolver-convention' version '0.7.0' // Provides java toolchains
|
||||
}
|
||||
|
||||
blowdryerSetup {
|
||||
|
||||
@@ -8,16 +8,19 @@ public class FullBrightLighting implements CCRenderState.IVertexOperation {
|
||||
public int id;
|
||||
|
||||
public boolean load() {
|
||||
if (!CCRenderState.computeLighting) {
|
||||
final CCRenderState state = CCRenderState.instance();
|
||||
|
||||
if (!state.computeLighting) {
|
||||
return false;
|
||||
}
|
||||
CCRenderState.pipeline.addDependency(CCRenderState.colourAttrib);
|
||||
CCRenderState.pipeline.addDependency(CCRenderState.lightCoordAttrib);
|
||||
state.pipeline.addDependency(CCRenderState.colourAttrib);
|
||||
state.pipeline.addDependency(CCRenderState.lightCoordAttrib);
|
||||
return true;
|
||||
}
|
||||
|
||||
public void operate() {
|
||||
CCRenderState.setBrightness(FULL_BRIGHT_BLOCK_BRIGHTNESS);
|
||||
CCRenderState.instance()
|
||||
.setBrightness(FULL_BRIGHT_BLOCK_BRIGHTNESS);
|
||||
}
|
||||
|
||||
public int operationID() {
|
||||
|
||||
@@ -18,7 +18,7 @@ public class FullBrightMicroMaterial extends BlockMicroMaterial {
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
public void renderMicroFace(final Vector3 pos, final int pass, final Cuboid6 bounds) {
|
||||
CCRenderState.pipeline.builder()
|
||||
CCRenderState.instance().pipeline.builder()
|
||||
.add((CCRenderState.IVertexOperation) pos.translation())
|
||||
.add((CCRenderState.IVertexOperation) this.icont())
|
||||
.add((CCRenderState.IVertexOperation) ColourMultiplier.instance(FULL_BRIGHT_COLOR_MULTIPLIER))
|
||||
|
||||
Reference in new issue
Block a user