From a6f1b6878142a45bc7cbd7763cacfedd506c3a62 Mon Sep 17 00:00:00 2001 From: shixinzia <111138018+shixinzia@users.noreply.github.com> Date: Mon, 30 Jan 2023 21:16:20 +0800 Subject: [PATCH 1/3] Update LiteXpansion.java --- .../dev/j3fftw/litexpansion/LiteXpansion.java | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/src/main/java/dev/j3fftw/litexpansion/LiteXpansion.java b/src/main/java/dev/j3fftw/litexpansion/LiteXpansion.java index 40b6fb9..85cb54b 100644 --- a/src/main/java/dev/j3fftw/litexpansion/LiteXpansion.java +++ b/src/main/java/dev/j3fftw/litexpansion/LiteXpansion.java @@ -92,31 +92,31 @@ private void nerfCrap() { // Vanilla SF final SlimefunItem energizedPanel = SlimefunItem.getById("SOLAR_GENERATOR_4"); if (energizedPanel != null) { - Reflections.setField(energizedPanel, "dayEnergy", 64); - Reflections.setField(energizedPanel, "nightEnergy", 32); + Reflections.setField(energizedPanel, "dayEnergy", 128); + Reflections.setField(energizedPanel, "nightEnergy", 64); } // InfinityExpansion - Halved all values and made infinite panel + infinity reactor much less - Reflections.setField(SlimefunItem.getById("ADVANCED_PANEL"), "generation", 75); - Reflections.setField(SlimefunItem.getById("CELESTIAL_PANEL"), "generation", 250); - Reflections.setField(SlimefunItem.getById("VOID_PANEL"), "generation", 1200); - Reflections.setField(SlimefunItem.getById("INFINITE_PANEL"), "generation", 20_000); - Reflections.setField(SlimefunItem.getById("INFINITY_REACTOR"), "gen", 50_000); + Reflections.setField(SlimefunItem.getById("ADVANCED_PANEL"), "generation", 120); + Reflections.setField(SlimefunItem.getById("CELESTIAL_PANEL"), "generation", 560); + Reflections.setField(SlimefunItem.getById("VOID_PANEL"), "generation", 2_250); + Reflections.setField(SlimefunItem.getById("INFINITE_PANEL"), "generation", 45_000); + Reflections.setField(SlimefunItem.getById("INFINITY_REACTOR"), "gen", 90_000); // SlimefunWarfare - Halved all values Reflections.setField(SlimefunItem.getById("ELEMENTAL_REACTOR"), "energyProducedPerTick", 8_192); // Galactifun - Reflections.setField(SlimefunItem.getById("FUSION_REACTOR"), "energyProducedPerTick", 8_192); + Reflections.setField(SlimefunItem.getById("FUSION_REACTOR"), "energyProducedPerTick", 16_192); // SupremeExpansion - just no... - Reflections.setField(SlimefunItem.getById("SUPREME_GENERATOR"), "energy", 20_000); - Reflections.setField(SlimefunItem.getById("THORNIUM_GENERATOR"), "energy", 10_000); - Reflections.setField(SlimefunItem.getById("LUMIUM_GENERATOR"), "energy", 5_000); - Reflections.setField(SlimefunItem.getById("LUX_GENERATOR"), "energy", 2_500); - Reflections.setField(SlimefunItem.getById("AQUA_GENERATOR"), "energy", 2_500); - Reflections.setField(SlimefunItem.getById("VENUS_GENERATOR"), "energy", 2_500); - Reflections.setField(SlimefunItem.getById("IGNIS_GENERATOR"), "energy", 2_500); + Reflections.setField(SlimefunItem.getById("SUPREME_GENERATOR"), "energy", 10_000); + Reflections.setField(SlimefunItem.getById("THORNIUM_GENERATOR"), "energy", 5_000); + Reflections.setField(SlimefunItem.getById("LUMIUM_GENERATOR"), "energy", 2_000); + Reflections.setField(SlimefunItem.getById("LUX_GENERATOR"), "energy", 1_500); + Reflections.setField(SlimefunItem.getById("AQUA_GENERATOR"), "energy", 1_500); + Reflections.setField(SlimefunItem.getById("VENUS_GENERATOR"), "energy", 1_500); + Reflections.setField(SlimefunItem.getById("IGNIS_GENERATOR"), "energy", 1_500); } private void setupResearches() { From 57dd27969b84dbf446b09f7e12204bb48d878b6d Mon Sep 17 00:00:00 2001 From: shixinzia <111138018+shixinzia@users.noreply.github.com> Date: Mon, 30 Jan 2023 21:17:08 +0800 Subject: [PATCH 2/3] Update LiteXpansion.java --- src/main/java/dev/j3fftw/litexpansion/LiteXpansion.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/dev/j3fftw/litexpansion/LiteXpansion.java b/src/main/java/dev/j3fftw/litexpansion/LiteXpansion.java index 85cb54b..e693e3f 100644 --- a/src/main/java/dev/j3fftw/litexpansion/LiteXpansion.java +++ b/src/main/java/dev/j3fftw/litexpansion/LiteXpansion.java @@ -107,7 +107,7 @@ private void nerfCrap() { Reflections.setField(SlimefunItem.getById("ELEMENTAL_REACTOR"), "energyProducedPerTick", 8_192); // Galactifun - Reflections.setField(SlimefunItem.getById("FUSION_REACTOR"), "energyProducedPerTick", 16_192); + Reflections.setField(SlimefunItem.getById("FUSION_REACTOR"), "energyProducedPerTick", 16_384); // SupremeExpansion - just no... Reflections.setField(SlimefunItem.getById("SUPREME_GENERATOR"), "energy", 10_000); From dd347cc8c38e7bb5f69d2a6a8bff66502d8107a1 Mon Sep 17 00:00:00 2001 From: shixinzia <111138018+shixinzia@users.noreply.github.com> Date: Mon, 30 Jan 2023 21:20:18 +0800 Subject: [PATCH 3/3] Create main.yml --- .github/workflows/main.yml | 40 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..6fd1feb --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,40 @@ +# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven + +# This workflow uses actions that are not certified by GitHub. +# They are provided by a third-party and are governed by +# separate terms of service, privacy policy, and support +# documentation. + +name: Java CI with Maven + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Set up JDK 17 + uses: actions/setup-java@v3 + with: + java-version: '17' + distribution: 'temurin' + cache: maven + - name: Build with Maven + run: mvn -B package --file pom.xml + - name: 上传 The Bruh + uses: actions/upload-artifact@v3 + with: + name: artifacts + path: | + target/*.jar + + +