Skip to content

Commit 9527f9e

Browse files
committed
Merge remote-tracking branch 'origin/1.19.x' into release/1.19.x
2 parents 3f31b54 + 8778b05 commit 9527f9e

File tree

323 files changed

+5184
-2079
lines changed

Some content is hidden

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

323 files changed

+5184
-2079
lines changed

.github/ISSUE_TEMPLATE/general_issue.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ body:
3333
attributes:
3434
label: Forge version
3535
description: What version of Forge are you using?
36-
placeholder: e.g. 43.1.61
36+
placeholder: e.g. 43.2.8
3737
validations:
3838
required: true
3939
- type: dropdown
@@ -43,11 +43,10 @@ body:
4343
description: What version of Mekanism are you using?
4444
options:
4545
- Current Dev Branch (Manually Compiled)
46-
- 10.3.8 (Latest)
46+
- 10.3.9 (Latest)
47+
- 10.3.8
4748
- 10.3.7
4849
- 10.3.6
49-
- 10.3.5
50-
- 10.3.4
5150
- Older
5251
validations:
5352
required: true

build.gradle

Lines changed: 104 additions & 181 deletions
Large diffs are not rendered by default.

docs/Development.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Mekanism is developed for Minecraft 1.19.2 using Minecraft Forge.
44

55
## Prerequisites
66

7-
* Gradle - Version 7.5.1 is known to work, your mileage with other versions may vary
7+
* Gradle - Version 8.1.1 is known to work, your mileage with other versions may vary
88
* JDK - Version 17 is the target as that is what Mojang ships, but to run gradle you must use a minimum of JDK 11.
99

1010
## Directory Structure

gradle.properties

Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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=-Xmx3G
3+
org.gradle.jvmargs=-Xmx2G
44

55
java_version=17
66
resource_pack_format=9
@@ -12,54 +12,56 @@ previous_minor_minecraft_version=1.19.1
1212
mappings_version=2022.11.27-1.19.2
1313
mappings_channel=parchment
1414
loader_version_range=[43,)
15-
forge_version=43.2.3
16-
mod_version=10.3.8
15+
forge_version=43.2.14
16+
mod_version=10.3.9
1717
#This determines the minimum version of forge required to use Mekanism
1818
# Only bump it whenever we need access to a feature in forge that is not available in earlier versions
19-
forge_version_range=[43.1.61,)
19+
forge_version_range=[43.2.8,)
2020
minecraft_version_range=[1.19.2]
2121
#This specifies what type of release it will be uploaded to CurseForge and Modrinth as
2222
# options are: alpha, beta, release
2323
release_type=release
2424

2525
#JUnit/Testing dependencies
26-
junit_version=5.9.1
26+
junit_version=5.9.2
2727
quicktheories_version=0.26
2828

2929
#Mod dependencies
30-
cc_tweaked_version=1.101.1
31-
crafttweaker_version=10.0.24
32-
curios_version=5.1.1.0
33-
flux_networks_id=4095070
34-
jade_api_id=4318620
35-
jade_id=4318618
36-
jei_version=11.5.2.1007
30+
cc_tweaked_version=1.101.2
31+
crafttweaker_version=10.1.44
32+
ctm_version=1.1.7+11
33+
curios_version=5.1.4.1
34+
flux_networks_id=4353161
35+
jade_api_id=4433885
36+
jade_id=4433884
37+
jei_version=11.6.0.1015
38+
jeitweaker_version=4.0.11
3739
projecte_api_id=3955049
3840
recipe_stages_version=4.0.0.4
3941
top_version=1.19-6.2.0-6
4042
wildfire_gender_mod_id=3920268
41-
wthit_id=4090703
43+
wthit_id=4544617
4244

4345
#Mod dependency min version ranges
4446
crafttweaker_version_range=[10.0.6,)
4547
curios_version_range=[1.19-5.1.0.0,)
48+
dme_version_range=[1.19.2-1.1.2,)
4649
jei_version_range=[11.2.0.241,)
4750
recipe_stages_version_range=[4.0.0.4,)
4851

4952
#Mod dependencies for recipes (only used by our data generators)
50-
ae2_version=12.9.1
53+
ae2_version=12.9.5
5154
biomesoplenty_api_id=4034265
52-
biomesoplenty_id=4128419
55+
biomesoplenty_id=4473556
5356
byg_id=4027228
54-
ilikewood_id=4068507
57+
farmers_delight_id=4525646
58+
ilikewood_id=4463114
5559
ilikewood_bop_id=4068509
5660
ilikewood_byg_id=4068511
5761
projecte_id=3955047
5862
terrablender_id=4205732
5963

6064
#Outdated mod dependencies
61-
ctm_version=1.1.4+4
62-
jeitweaker_version=3.0.0.9
6365
oc2_id=3896581
6466

6567
#Outdated mod dependencies for recipes

gradle/wrapper/gradle-wrapper.jar

818 Bytes
Binary file not shown.
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-all.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1.1-all.zip
4+
networkTimeout=10000
45
zipStoreBase=GRADLE_USER_HOME
56
zipStorePath=wrapper/dists

gradlew

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
# Darwin, MinGW, and NonStop.
5656
#
5757
# (3) This script is generated from the Groovy template
58-
# https://github.com/gradle/gradle/blob/master/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
58+
# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
5959
# within the Gradle project.
6060
#
6161
# You can find Gradle at https://github.com/gradle/gradle/.
@@ -80,10 +80,10 @@ do
8080
esac
8181
done
8282

83-
APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
84-
85-
APP_NAME="Gradle"
83+
# This is normally unused
84+
# shellcheck disable=SC2034
8685
APP_BASE_NAME=${0##*/}
86+
APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
8787

8888
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
8989
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
@@ -143,12 +143,16 @@ fi
143143
if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
144144
case $MAX_FD in #(
145145
max*)
146+
# In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
147+
# shellcheck disable=SC3045
146148
MAX_FD=$( ulimit -H -n ) ||
147149
warn "Could not query maximum file descriptor limit"
148150
esac
149151
case $MAX_FD in #(
150152
'' | soft) :;; #(
151153
*)
154+
# In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
155+
# shellcheck disable=SC3045
152156
ulimit -n "$MAX_FD" ||
153157
warn "Could not set maximum file descriptor limit to $MAX_FD"
154158
esac

gradlew.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ if "%OS%"=="Windows_NT" setlocal
2626

2727
set DIRNAME=%~dp0
2828
if "%DIRNAME%"=="" set DIRNAME=.
29+
@rem This is normally unused
2930
set APP_BASE_NAME=%~n0
3031
set APP_HOME=%DIRNAME%
3132

settings.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,8 @@ pluginManagement {
1212
}
1313
}
1414

15+
plugins {
16+
id 'org.gradle.toolchains.foojay-resolver-convention' version '0.5.0'
17+
}
18+
1519
include 'annotation-processor'

src/additions/java/mekanism/additions/common/block/BlockGlowPanel.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import mekanism.additions.common.registries.AdditionsBlockTypes;
44
import mekanism.api.text.EnumColor;
55
import mekanism.common.block.attribute.Attribute;
6-
import mekanism.common.block.attribute.AttributeStateFacing;
76
import mekanism.common.block.interfaces.IColoredBlock;
87
import mekanism.common.block.prefab.BlockBase.BlockBaseModel;
98
import mekanism.common.content.blocktype.BlockType;
@@ -48,7 +47,7 @@ public EnumColor getColor() {
4847
@Deprecated
4948
public BlockState updateShape(BlockState state, @NotNull Direction facing, @NotNull BlockState facingState, @NotNull LevelAccessor world,
5049
@NotNull BlockPos currentPos, @NotNull BlockPos facingPos) {
51-
if (facing.getOpposite() == Attribute.get(state, AttributeStateFacing.class).getDirection(state) && !state.canSurvive(world, currentPos)) {
50+
if (facing.getOpposite() == Attribute.getFacing(state) && !state.canSurvive(world, currentPos)) {
5251
return Blocks.AIR.defaultBlockState();
5352
}
5453
return super.updateShape(state, facing, facingState, world, currentPos, facingPos);
@@ -57,7 +56,7 @@ public BlockState updateShape(BlockState state, @NotNull Direction facing, @NotN
5756
@Override
5857
@Deprecated
5958
public boolean canSurvive(@NotNull BlockState state, @NotNull LevelReader world, @NotNull BlockPos pos) {
60-
Direction side = Attribute.get(state, AttributeStateFacing.class).getDirection(state);
59+
Direction side = Attribute.getFacing(state);
6160
Direction sideOn = side.getOpposite();
6261
BlockPos offsetPos = pos.relative(sideOn);
6362
VoxelShape projected = world.getBlockState(offsetPos).getBlockSupportShape(world, offsetPos).getFaceShape(side);

src/additions/resources/assets/mekanismadditions/lang/cs_cz.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
11
{
2+
"advancements.mekanismadditions.balloon.description": "Vyrob libovolný barevný balón",
3+
"advancements.mekanismadditions.balloon.title": "Dosáhni nebes",
4+
"advancements.mekanismadditions.glow_in_the_dark.description": "Vyrob jakýkoliv Svítící Panel",
5+
"advancements.mekanismadditions.glow_in_the_dark.title": "Svítí ve tmě",
6+
"advancements.mekanismadditions.hurt_by_babies.description": "Buď zraněn malými stvořenímí z Mekanism Addition's",
7+
"advancements.mekanismadditions.hurt_by_babies.title": "Nesnaž se brát cukrovinky z těchto dětí",
8+
"advancements.mekanismadditions.not_the_babies.description": "Zabij jakéhokoliv Moba z Mekanism Addition's",
9+
"advancements.mekanismadditions.not_the_babies.title": "Ne, ty děti",
10+
"advancements.mekanismadditions.pop_pop.description": "Praskni balón",
11+
"advancements.mekanismadditions.pop_pop.title": "Prásk prásk",
212
"block.mekanismadditions.aqua_glow_panel": "Tyrkysový Svítící Panel",
313
"block.mekanismadditions.aqua_plastic": "Tyrkysový Plastový Blok",
414
"block.mekanismadditions.aqua_plastic_fence": "Tyrkysová Plastová Bariéra",

0 commit comments

Comments
 (0)