Merge branch '1.7.10' into Deuterium

This commit is contained in:
DrParadox7 authored and GitHub committed 2023-02-04 22:13:19 +01:00
commit 72ca343fea
7 files changed
+33 -13

No files matched your search

+16 -10
View File
@@ -17,13 +17,19 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 8
uses: actions/setup-java@v2
with:
java-version: '8'
distribution: 'adopt'
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew fullbuild
- uses: actions/checkout@v2
- name: Set up JDK 8
uses: actions/setup-java@v2
with:
java-version: '8'
distribution: 'adopt'
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build and Publish
run: ./gradlew fullbuild artifactoryPublish
env:
MAVEN_URL: ${{ secrets.MAVEN_URL }}
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_TOKEN }}
MAVEN_REPO: ${{ secrets.MAVEN_DEVREPO }}
BUILD_VER: '-${{ github.run_number }}'
+1
View File
@@ -26,3 +26,4 @@ jobs:
MAVEN_URL: ${{ secrets.MAVEN_URL }}
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_TOKEN }}
MAVEN_REPO: ${{ secrets.MAVEN_REPO }}
+4
View File
@@ -20,6 +20,8 @@ You will find the files inside ./output/
+ [Thorfusion/TerralizationCompat](https://github.com/Thorfusion/TerralizationCompat)
+ [Thorfusion/Titanpower](https://github.com/Thorfusion/Titanpower)
Also visit our [wiki](https://github.com/Thorfusion/Mekanism-Community-Edition/wiki/API) explaining how to use the new MEK:CE api
## Official Modpacks
### [Terralization](https://www.technicpack.net/modpack/terralization.654195)
### [The Lost Era](https://modrinth.com/modpack/the-lost-era)
@@ -29,6 +31,8 @@ You need to include the [LICENSE](https://raw.githubusercontent.com/Thorfusion/M
Mekanism CE has continued the use of the update notifier but changed the config name to v2. This is to notify people making the switch to CE of this feature. It is recommended for modpacks to disable this.
Also visit our [wiki](https://github.com/Thorfusion/Mekanism-Community-Edition/wiki/Configuration) regarding configuration.
## Required Dependencies
Mekanism CE also has two dependencies that it requires, as a modpack creator DO NOT USE the automatic downloader to get those file. It puts alot of strain to my server network.
+7 -3
View File
@@ -175,7 +175,7 @@ artifactory {
contextUrl = System.getenv("MAVEN_URL")
publish {
repository {
repoKey = 'thorfusion'
repoKey = System.getenv("MAVEN_REPO")
username = System.getenv("MAVEN_USERNAME")
password = System.getenv("MAVEN_PASSWORD")
maven = true
@@ -189,7 +189,7 @@ artifactory {
}
resolve {
repository {
repoKey = 'central'
repoKey = System.getenv("MAVEN_REPO")
username = System.getenv("MAVEN_USERNAME")
password = System.getenv("MAVEN_PASSWORD")
maven = true
@@ -203,7 +203,11 @@ publishing {
mavenJava(MavenPublication) {
artifactId = project.archivesBaseName
groupId = project.group
version = project.version
if (System.getenv("BUILD_VER") == null){
version = project.version
} else {
version = project.version + System.getenv("BUILD_VER")
}
artifacts = [toolsJar, coreJar, generatorsJar, MDKZip, alltJar, apiJar]
components.java.withVariantsFromConfiguration(configurations.runtimeElements) {
skip()
@@ -4,6 +4,7 @@ import mekanism.common.util.MekanismUtils;
import net.minecraft.item.ItemStack;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
@@ -50,6 +51,7 @@ public class GasifyableItems {
return null;
}
/**
* defines which gases the Chemical Injection Chamber can accept.
* @param gas type of gas to check validity
@@ -1449,6 +1449,7 @@ public class Mekanism
GasifyableItems.registerGasifyables("dustSalt", GasRegistry.getGas("hydrogenChloride"), 2);
GasifyableItems.registerGasifyables("dustSugar", GasRegistry.getGas("molasse"), 90);
GasifyableItems.registerGasifyables("listAllSugar", GasRegistry.getGas("molasse"), 90);
GasifyableItems.registerGasifyables(GasRegistry.getGas("water"));
Mekanism.proxy.preInit();
@@ -100,7 +100,9 @@ public class TileEntityChemicalInjectionChamber extends TileEntityAdvancedElectr
@Override
public boolean isValidGas(Gas gas)
{
return GasifyableItems.isGasValidGasifyable(gas);
}
@Override