Compare commits

...
Author SHA1 Message Date
bombcar 1d50c84c55 update for CCC/L 1.2.0 2024-01-03 16:25:53 -06:00
bombcar ebe1040015 udpate dependencies 2024-01-03 15:59:41 -06:00
5 changed files with 16 additions and 17 deletions

No files matched your search

+2 -3
View File
@@ -15,7 +15,7 @@ To set up the mod as to allow you to make changes, do the following:
### IntelliJ IDEA ### IntelliJ IDEA
1. Run `gradlew 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. 3. After opening the project in IntelliJ, run `gradlew genIntellijRuns` in the command terminal you opened earlier.
### Eclipse ### 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. 2. Open Eclipse and import the folder as a project.
You now have a functional local copy of Chisel, ready to develop on. You now have a functional local copy of Chisel, ready to develop on.
___ ___
Formatting 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.
+4 -7
View File
@@ -12,9 +12,7 @@ It was previously maintained by [tterrag](http://github.com/tterrag1098), [Drull
Pull Requests 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. Pull requests with new features, translations, and bugfixes are very welcome.
Do not make PRs that are solely formatting or other aesthetic things.
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. 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 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: issue, please be sure to include:
- The version of Chisel you are using ("latest" is not an acceptable version) - The version of Chisel or GTNH you are using ("latest" is not an acceptable version)
- The version of Forge you are using - The crash report (preferably via [Pastebin](http://pastebin.com/)) generated by the error, if any
- If applicable, the crash report (preferably via [Pastebin](http://pastebin.com/)). generated by the error
- Depending on the error, an image of the problem - Depending on the error, an image of the problem
+2 -2
View File
@@ -1,8 +1,8 @@
// Add your dependencies here // Add your dependencies here
dependencies { dependencies {
implementation("com.github.GTNewHorizons:CodeChickenCore:1.1.11:dev") implementation("com.github.GTNewHorizons:CodeChickenCore:1.2.0:dev")
implementation("com.github.GTNewHorizons:CodeChickenLib:1.1.8:dev") implementation("com.github.GTNewHorizons:CodeChickenLib:1.2.0:dev")
implementation("com.github.GTNewHorizons:NotEnoughItems:2.4.13-GTNH:dev") implementation("com.github.GTNewHorizons:NotEnoughItems:2.4.13-GTNH:dev")
implementation("com.github.GTNewHorizons:ForgeMultipart:1.4.3:dev") implementation("com.github.GTNewHorizons:ForgeMultipart:1.4.3:dev")
@@ -8,16 +8,19 @@ public class FullBrightLighting implements CCRenderState.IVertexOperation {
public int id; public int id;
public boolean load() { public boolean load() {
if (!CCRenderState.computeLighting) { final CCRenderState state = CCRenderState.instance();
if (!state.computeLighting) {
return false; return false;
} }
CCRenderState.pipeline.addDependency(CCRenderState.colourAttrib); state.pipeline.addDependency(CCRenderState.colourAttrib);
CCRenderState.pipeline.addDependency(CCRenderState.lightCoordAttrib); state.pipeline.addDependency(CCRenderState.lightCoordAttrib);
return true; return true;
} }
public void operate() { public void operate() {
CCRenderState.setBrightness(FULL_BRIGHT_BLOCK_BRIGHTNESS); CCRenderState.instance()
.setBrightness(FULL_BRIGHT_BLOCK_BRIGHTNESS);
} }
public int operationID() { public int operationID() {
@@ -18,7 +18,7 @@ public class FullBrightMicroMaterial extends BlockMicroMaterial {
@SideOnly(Side.CLIENT) @SideOnly(Side.CLIENT)
public void renderMicroFace(final Vector3 pos, final int pass, final Cuboid6 bounds) { 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) pos.translation())
.add((CCRenderState.IVertexOperation) this.icont()) .add((CCRenderState.IVertexOperation) this.icont())
.add((CCRenderState.IVertexOperation) ColourMultiplier.instance(FULL_BRIGHT_COLOR_MULTIPLIER)) .add((CCRenderState.IVertexOperation) ColourMultiplier.instance(FULL_BRIGHT_COLOR_MULTIPLIER))