Merge branch '1.12.2' into main

This commit is contained in:
maggi373 authored and GitHub committed 2024-02-08 14:12:05 +01:00
commit f8f958b1ce
10 files changed
+48 -29

No files matched your search

+11 -6
View File
@@ -27,12 +27,13 @@ Mekanism CE has continued the use of the update notifier but changed the config
| MEK:CE 1.12.2 Featured Changes | MK | MK:[CE](https://www.curseforge.com/minecraft/mc-mods/mekanism-ce) |
|-----------------------------------------------------------------------------------------------------------------------------|--------------------|-------------------------------------------------------------------|
| Open Source | :heavy_check_mark: | :heavy_check_mark: |
| Dupe: [Wood dupe with Precision Sawmill and trapdoors](https://github.com/Thorfusion/Mekanism-Community-Edition/issues/124) | :x: | :heavy_check_mark: |
| Crash: [fixes an npe crash for cables](https://github.com/Thorfusion/Mekanism-Community-Edition/issues/103) | :x: | :heavy_check_mark: |
| Crash: Fix Tier installer NullPointerException onItemUse | :x: | :heavy_check_mark: |
| Bug: limit crystallizer to receive gas mutiples of recipe input | :x: | :heavy_check_mark: |
| Performance: Optimize cable emitting | :x: | :heavy_check_mark: |
| Performance: [New factory sort algorithm](https://github.com/Thorfusion/Mekanism-Community-Edition/issues/107) | :x: | :heavy_check_mark: |
| DUPE: [Personal chest dupe](https://github.com/Thorfusion/Mekanism-Community-Edition/issues/130) | :x: | :heavy_check_mark: |
| DUPE: [Wood dupe with Precision Sawmill and trapdoors](https://github.com/Thorfusion/Mekanism-Community-Edition/issues/124) | :x: | :heavy_check_mark: |
| BUG: limit crystallizer to receive gas mutiples of recipe input | :x: | :heavy_check_mark: |
| CRASH: [fixes an npe crash for cables](https://github.com/Thorfusion/Mekanism-Community-Edition/issues/103) | :x: | :heavy_check_mark: |
| CRASH: Fix Tier installer NullPointerException onItemUse | :x: | :heavy_check_mark: |
| PERFORMANCE: Optimize cable emitting | :x: | :heavy_check_mark: |
| PERFORMANCE: [New factory sort algorithm](https://github.com/Thorfusion/Mekanism-Community-Edition/issues/107) | :x: | :heavy_check_mark: |
### Full changelog
@@ -79,10 +80,14 @@ v
+ fixes gui settings for mek generators and mek tools
+ fixes an npe crash for cables Thorfusion#103
+ fixes wood dupe with sawmill and trapdoors Thorfusion#124
+ port new dump button design from 1.7.10
#### KasumiNova
+ New factory sort algorithm for MekCE by KasumiNova Thorfusion#107 [Performance improvement]
#### sddsd2332
+ Fix personal chest dupe
# License
[LICENSE](https://raw.githubusercontent.com/Thorfusion/Mekanism-1.7.10-Community-Edition/1.12.2/LICENSE.md)
+4 -4
View File
@@ -9,7 +9,7 @@ buildscript {
classpath("com.anatawa12.forge:ForgeGradle:2.3-1.0.+") {
changing = true
}
classpath "org.jfrog.buildinfo:build-info-extractor-gradle:latest.release"
classpath "org.jfrog.buildinfo:build-info-extractor-gradle:4.33.1"
}
}
@@ -33,7 +33,6 @@ idea {
apply plugin: 'net.minecraftforge.gradle.forge'
apply plugin: "com.jfrog.artifactory"
apply plugin: "maven"
//apply plugin: 'net.minecraftforge.gradle'
@@ -82,7 +81,7 @@ dependencies {
// compileOnly fg.deobf("MCMultiPart2:MCMultiPart:${mcmp_version}")
deobfCompile "MCMultiPart2:MCMultiPart:${mcmp_version}"
compileOnly "mezz.jei:jei_${minecraft_version}:${jei_version}:api"
runtime "mezz.jei:jei_${minecraft_version}:${jei_version}"
// runtime "mezz.jei:jei_${minecraft_version}:${jei_version}"
compileOnly "net.darkhax.tesla:Tesla-${minecraft_version}:${tesla_version}"
// compileOnly "inventory-tweaks:InventoryTweaks:${invtweak_version}:api"
compileOnly "li.cil.oc:OpenComputers:MC${minecraft_version}-${opencomputers_version}:api"
@@ -91,7 +90,7 @@ dependencies {
// deobfCompile "cofh:RedstoneFlux:1.12-${redstoneflux_version}:universal"
compileOnly "com.mod-buildcraft:buildcraft-api:${buildcraft_version}"
compileOnly "team.chisel.ctm:CTM:MC${minecraft_version}-${ctm_version}:api"
runtime "team.chisel.ctm:CTM:MC${minecraft_version}-${ctm_version}"
// runtime "team.chisel.ctm:CTM:MC${minecraft_version}-${ctm_version}"
compileOnly "net.industrial-craft:industrialcraft-2:${ic2_version}:api"
compileOnly("CraftTweaker2:CraftTweaker2-API:${crafttweaker_version}") {
exclude module: "asm-debug-all"
@@ -114,6 +113,7 @@ dependencies {
}
processResources {
duplicatesStrategy = 'include'
inputs.property "version", mod_version
inputs.property "mc_version", minecraft_version
+1 -1
View File
@@ -1,7 +1,7 @@
minecraft_version=1.12.2
mappings_version=stable_39
forge_version=14.23.5.2847
mod_version=9.12.7
mod_version=9.12.8
mcmp_version=2.5.3
jei_version=4.15.0.289
Binary file not shown.
+2 -1
View File
@@ -1,5 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.9.4-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.1-bin.zip
networkTimeout=10000
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Vendored
+19 -9
View File
@@ -1,7 +1,7 @@
#!/bin/sh
#
# Copyright © 2015-2021 the original authors.
# Copyright © 2015-2021 the original authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -32,10 +32,10 @@
# Busybox and similar reduced shells will NOT work, because this script
# requires all of these POSIX shell features:
# * functions;
# * expansions «$var», «${var}», «${var:-default}», «${var+SET}»,
# «${var#prefix}», «${var%suffix}», and «$( cmd )»;
# * compound commands having a testable exit status, especially «case»;
# * various built-in commands including «command», «set», and «ulimit».
# * expansions «$var», «${var}», «${var:-default}», «${var+SET}»,
# «${var#prefix}», «${var%suffix}», and «$( cmd )»;
# * compound commands having a testable exit status, especially «case»;
# * various built-in commands including «command», «set», and «ulimit».
#
# Important for patching:
#
@@ -55,7 +55,7 @@
# Darwin, MinGW, and NonStop.
#
# (3) This script is generated from the Groovy template
# https://github.com/gradle/gradle/blob/master/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
# within the Gradle project.
#
# You can find Gradle at https://github.com/gradle/gradle/.
@@ -80,10 +80,10 @@ do
esac
done
APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
APP_NAME="Gradle"
# This is normally unused
# shellcheck disable=SC2034
APP_BASE_NAME=${0##*/}
APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
# 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"'
@@ -143,12 +143,16 @@ fi
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
MAX_FD=$( ulimit -H -n ) ||
warn "Could not query maximum file descriptor limit"
esac
case $MAX_FD in #(
'' | soft) :;; #(
*)
# In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
# shellcheck disable=SC3045
ulimit -n "$MAX_FD" ||
warn "Could not set maximum file descriptor limit to $MAX_FD"
esac
@@ -205,6 +209,12 @@ set -- \
org.gradle.wrapper.GradleWrapperMain \
"$@"
# Stop when "xargs" is not available.
if ! command -v xargs >/dev/null 2>&1
then
die "xargs is not available"
fi
# Use "xargs" to parse quoted args.
#
# With -n1 it outputs one arg per line, with the quotes and backslashes removed.
Vendored
+9 -6
View File
@@ -14,7 +14,7 @@
@rem limitations under the License.
@rem
@if "%DEBUG%" == "" @echo off
@if "%DEBUG%"=="" @echo off
@rem ##########################################################################
@rem
@rem Gradle startup script for Windows
@@ -25,7 +25,8 @@
if "%OS%"=="Windows_NT" setlocal
set DIRNAME=%~dp0
if "%DIRNAME%" == "" set DIRNAME=.
if "%DIRNAME%"=="" set DIRNAME=.
@rem This is normally unused
set APP_BASE_NAME=%~n0
set APP_HOME=%DIRNAME%
@@ -40,7 +41,7 @@ if defined JAVA_HOME goto findJavaFromJavaHome
set JAVA_EXE=java.exe
%JAVA_EXE% -version >NUL 2>&1
if "%ERRORLEVEL%" == "0" goto execute
if %ERRORLEVEL% equ 0 goto execute
echo.
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
@@ -75,13 +76,15 @@ set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
:end
@rem End local scope for the variables with windows NT shell
if "%ERRORLEVEL%"=="0" goto mainEnd
if %ERRORLEVEL% equ 0 goto mainEnd
:fail
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
rem the _cmd.exe /c_ return code!
if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
exit /b 1
set EXIT_CODE=%ERRORLEVEL%
if %EXIT_CODE% equ 0 set EXIT_CODE=1
if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE%
exit /b %EXIT_CODE%
:mainEnd
if "%OS%"=="Windows_NT" endlocal
@@ -65,7 +65,7 @@ public class GuiFactory extends GuiMekanismTile<TileEntityFactory> {
@Override
public void initGui() {
super.initGui();
this.buttonList.add(this.infuserDumpButton = new GuiButtonImage(1, this.guiLeft+6, this.guiTop+44, 21, 10, 147, 72, 0, MekanismUtils.getResource(ResourceType.GUI, "GuiMetallurgicInfuser.png")){
this.buttonList.add(this.infuserDumpButton = new GuiButtonImage(1, this.guiLeft+6, this.guiTop+44, 24, 9, 145, 73, 0, MekanismUtils.getResource(ResourceType.GUI, "GuiMetallurgicInfuser.png")){
@Override
public void drawButton(Minecraft mc, int mouseX, int mouseY, float partialTicks) {
if (GuiFactory.this.tileEntity.getRecipeType() == RecipeType.INFUSING) {
@@ -89,7 +89,7 @@ public class GuiMetallurgicInfuser extends GuiMekanismTile<TileEntityMetallurgic
if (button == 0) {
int xAxis = x - guiLeft;
int yAxis = y - guiTop;
if (xAxis > 148 && xAxis < 168 && yAxis > 73 && yAxis < 82) {
if (xAxis > 144 && xAxis < 169 && yAxis > 72 && yAxis < 82) {
TileNetworkList data = TileNetworkList.withContents(0);
Mekanism.packetHandler.sendToServer(new TileEntityMessage(tileEntity, data));
SoundHandler.playSound(SoundEvents.UI_BUTTON_CLICK);
Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 4.0 KiB