Compare commits
20 commits
release/3.
...
release
Author | SHA1 | Date | |
---|---|---|---|
75a4b232ed | |||
dad4c9e637 | |||
3b396dfec3 | |||
895ac522d4 | |||
|
f2051de488 | ||
|
56c50c21f3 | ||
|
3403f7060c | ||
|
c249cdf432 | ||
e2f88e025f | |||
78e9cfa1af | |||
1c1dfdf311 | |||
279f5d9075 | |||
978d6532f3 | |||
e47ac6c54b | |||
5ff77edd71 | |||
178230a9b6 | |||
8eb9b8b509 | |||
9da664ac78 | |||
7dacc559a8 | |||
409eed99c4 |
11 changed files with 130 additions and 13 deletions
2
.github/workflows/auto-pull-request.yaml
vendored
2
.github/workflows/auto-pull-request.yaml
vendored
|
@ -12,7 +12,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: pull-request-action
|
- name: pull-request-action
|
||||||
uses: vsoch/pull-request-action@1.0.24
|
uses: vsoch/pull-request-action@1.1.0
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
PULL_REQUEST_BRANCH: "develop"
|
PULL_REQUEST_BRANCH: "develop"
|
||||||
|
|
2
.github/workflows/create-release.yaml
vendored
2
.github/workflows/create-release.yaml
vendored
|
@ -17,7 +17,7 @@ jobs:
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Setup Gradle
|
- name: Setup Gradle
|
||||||
uses: gradle/gradle-build-action@v2
|
uses: gradle/gradle-build-action@v3
|
||||||
|
|
||||||
- name: Run build with Gradle Wrapper
|
- name: Run build with Gradle Wrapper
|
||||||
run: chmod +x ./gradlew && ./gradlew build
|
run: chmod +x ./gradlew && ./gradlew build
|
||||||
|
|
22
CHANGELOG.md
22
CHANGELOG.md
|
@ -1,7 +1,27 @@
|
||||||
|
# 3.13.0.0
|
||||||
|
|
||||||
|
Many thanks to @xyzminecraftserver for sponsoring the project!
|
||||||
|
|
||||||
|
This release is only rudimentarily tested since I am not currently playing the pack. Please report any issues you run into.
|
||||||
|
|
||||||
|
* Updated dependencies for Vault Hunters 3.13.
|
||||||
|
|
||||||
|
# 3.12.4.0 (2023-11-19)
|
||||||
|
|
||||||
|
* Updated dependencies for Vault Hunters 3.12.4.
|
||||||
|
|
||||||
|
# 3.12.2.0 (2023-11-14)
|
||||||
|
|
||||||
|
* Updated dependencies for Vault Hunters 3.12.2.
|
||||||
|
|
||||||
|
# 3.12.1.1 (2023-11-09)
|
||||||
|
|
||||||
|
* Added support for overriding the new Jeweler Expertise; disabling it now grants 3 free cuts by default.
|
||||||
|
|
||||||
# 3.12.1.0 (2023-11-09)
|
# 3.12.1.0 (2023-11-09)
|
||||||
|
|
||||||
* Updated dependencies for Vault Hunters 3.12.1.
|
* Updated dependencies for Vault Hunters 3.12.1.
|
||||||
* Fixed Transmog Table mixin4 for 3.12.1.
|
* Fixed Transmog Table mixin for 3.12.1.
|
||||||
* Updated Vault Altar tags to reflect the Lvl 40 → Lvl 50 pool change.
|
* Updated Vault Altar tags to reflect the Lvl 40 → Lvl 50 pool change.
|
||||||
|
|
||||||
# 3.11.4.0 (2023-09-10)
|
# 3.11.4.0 (2023-09-10)
|
||||||
|
|
|
@ -24,9 +24,9 @@ apply plugin: 'eu.davidea.grabver'
|
||||||
versioning {
|
versioning {
|
||||||
// Required (number)
|
// Required (number)
|
||||||
major 3
|
major 3
|
||||||
minor 12
|
minor 13
|
||||||
// Optional, force custom patch (number)
|
// Optional, force custom patch (number)
|
||||||
// patch 1
|
patch 0
|
||||||
// Optional (any string)
|
// Optional (any string)
|
||||||
//preRelease "RC1"
|
//preRelease "RC1"
|
||||||
// Optional, custom task name to trigger the increase of the version
|
// Optional, custom task name to trigger the increase of the version
|
||||||
|
@ -186,11 +186,11 @@ dependencies {
|
||||||
// Specify the version of Minecraft to use. If this is any group other than 'net.minecraft', it is assumed
|
// Specify the version of Minecraft to use. If this is any group other than 'net.minecraft', it is assumed
|
||||||
// that the dep is a ForgeGradle 'patcher' dependency, and its patches will be applied.
|
// that the dep is a ForgeGradle 'patcher' dependency, and its patches will be applied.
|
||||||
// The userdev artifact is a special name and will get all sorts of transformations applied to it.
|
// The userdev artifact is a special name and will get all sorts of transformations applied to it.
|
||||||
minecraft 'net.minecraftforge:forge:1.18.2-40.2.10'
|
minecraft 'net.minecraftforge:forge:1.18.2-40.2.17'
|
||||||
|
|
||||||
annotationProcessor 'org.spongepowered:mixin:0.8.5:processor'
|
annotationProcessor 'org.spongepowered:mixin:0.8.5:processor'
|
||||||
|
|
||||||
implementation fg.deobf('curse.maven:vault-hunters-official-mod-458203:4851120')
|
implementation fg.deobf('curse.maven:vault-hunters-official-mod-458203:5076087')
|
||||||
// implementation fg.deobf('curse.maven:vault-integrations-867003:4570137')
|
// implementation fg.deobf('curse.maven:vault-integrations-867003:4570137')
|
||||||
// implementation fg.deobf("curse.maven:refined-storage-243076:3712882")
|
// implementation fg.deobf("curse.maven:refined-storage-243076:3712882")
|
||||||
implementation fg.deobf('appeng:appliedenergistics2-forge:11.7.0')
|
implementation fg.deobf('appeng:appliedenergistics2-forge:11.7.0')
|
||||||
|
|
|
@ -18,7 +18,6 @@
|
||||||
package tv.alterNERD.VaultModTweaks;
|
package tv.alterNERD.VaultModTweaks;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Arrays;
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import net.minecraft.resources.ResourceLocation;
|
import net.minecraft.resources.ResourceLocation;
|
||||||
|
@ -41,6 +40,7 @@ public class Configuration {
|
||||||
|
|
||||||
public static BooleanValue JEWELER_ENABLED;
|
public static BooleanValue JEWELER_ENABLED;
|
||||||
public static DoubleValue JEWELER_CHANCE;
|
public static DoubleValue JEWELER_CHANCE;
|
||||||
|
public static IntValue JEWELER_FREE_CUTS;
|
||||||
|
|
||||||
public static BooleanValue JEWELS_ENABLED;
|
public static BooleanValue JEWELS_ENABLED;
|
||||||
public static IntValue JEWELS_SIZE;
|
public static IntValue JEWELS_SIZE;
|
||||||
|
@ -96,8 +96,11 @@ public class Configuration {
|
||||||
.comment("Remove the Jeweler Expertise and change the default cutting chance accordingly")
|
.comment("Remove the Jeweler Expertise and change the default cutting chance accordingly")
|
||||||
.define("disableJeweler", false);
|
.define("disableJeweler", false);
|
||||||
JEWELER_CHANCE = builder
|
JEWELER_CHANCE = builder
|
||||||
.comment("Chance to break the jewel / remove a modifier")
|
.comment("Chance to break the jewel / remove a modifier (DEPRECATED since Vault Hunters 3.12.1)")
|
||||||
.defineInRange("breakChance", 0.25d, 0d, 0.5d);
|
.defineInRange("breakChance", 0.25d, 0d, 0.5d);
|
||||||
|
JEWELER_FREE_CUTS = builder
|
||||||
|
.comment("Number of free cuts (pack default: up to 3 with Jeweler Expetise)")
|
||||||
|
.defineInRange("free_cuts", 3, 0, 10);
|
||||||
builder.pop();
|
builder.pop();
|
||||||
|
|
||||||
// Budding Crystal
|
// Budding Crystal
|
||||||
|
|
|
@ -0,0 +1,50 @@
|
||||||
|
/**
|
||||||
|
* Copyright 2023 alterNERDtive.
|
||||||
|
*
|
||||||
|
* This file is part of Vault Mod Tweaks.
|
||||||
|
*
|
||||||
|
* Vault Mod Tweaks is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* Vault Mod Tweaks is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with Vault Mod Tweaks. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
package tv.alterNERD.VaultModTweaks.integration.mixin;
|
||||||
|
|
||||||
|
import org.spongepowered.asm.mixin.Mixin;
|
||||||
|
import org.spongepowered.asm.mixin.Shadow;
|
||||||
|
import org.spongepowered.asm.mixin.injection.At;
|
||||||
|
import org.spongepowered.asm.mixin.injection.Inject;
|
||||||
|
import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable;
|
||||||
|
|
||||||
|
import iskallia.vault.skill.expertise.type.JewelExpertise;
|
||||||
|
import tv.alterNERD.VaultModTweaks.Configuration;
|
||||||
|
import tv.alterNERD.VaultModTweaks.VaultModTweaks;
|
||||||
|
import tv.alterNERD.VaultModTweaks.util.I18n;
|
||||||
|
|
||||||
|
@Mixin(JewelExpertise.class)
|
||||||
|
public abstract class MixinJewelExpertise {
|
||||||
|
|
||||||
|
@Shadow
|
||||||
|
private int numberOfFreeCuts;
|
||||||
|
|
||||||
|
@Inject(
|
||||||
|
method = "getNumberOfFreeCuts()I",
|
||||||
|
at = @At("RETURN"),
|
||||||
|
cancellable = true,
|
||||||
|
remap = false
|
||||||
|
)
|
||||||
|
private void getNumberOfFreeCuts$return(CallbackInfoReturnable<Integer> ci) {
|
||||||
|
if (Configuration.JEWELER_ENABLED.get()) {
|
||||||
|
int cuts = Configuration.JEWELER_FREE_CUTS.get();
|
||||||
|
VaultModTweaks.LOGGER.info(I18n.get("the_vault_tweaks.log.inject.jewelcutting.freecuts", cuts));
|
||||||
|
ci.setReturnValue(cuts);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,42 @@
|
||||||
|
/**
|
||||||
|
* Copyright 2023 alterNERDtive.
|
||||||
|
*
|
||||||
|
* This file is part of Vault Mod Tweaks.
|
||||||
|
*
|
||||||
|
* Vault Mod Tweaks is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* Vault Mod Tweaks is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with Vault Mod Tweaks. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
package tv.alterNERD.VaultModTweaks.integration.mixin;
|
||||||
|
|
||||||
|
import java.util.UUID;
|
||||||
|
|
||||||
|
import org.spongepowered.asm.mixin.Mixin;
|
||||||
|
import org.spongepowered.asm.mixin.Overwrite;
|
||||||
|
import org.spongepowered.asm.mixin.Shadow;
|
||||||
|
import iskallia.vault.skill.tree.ExpertiseTree;
|
||||||
|
import iskallia.vault.world.data.PlayerExpertisesData;
|
||||||
|
import net.minecraft.world.entity.player.Player;
|
||||||
|
|
||||||
|
@Mixin(PlayerExpertisesData.class)
|
||||||
|
public abstract class MixinPlayerExpertisesData {
|
||||||
|
@Overwrite(remap=false)
|
||||||
|
ExpertiseTree getExpertises(Player player) {
|
||||||
|
// SkillContext.of(player)
|
||||||
|
// something something LearnableSkill.learn(context) auf den Expertise skill für jeweler
|
||||||
|
return this.getExpertises(player.getUUID());
|
||||||
|
}
|
||||||
|
|
||||||
|
@Shadow(remap=false)
|
||||||
|
ExpertiseTree getExpertises(UUID uuid) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
}
|
|
@ -35,6 +35,6 @@ There are some bug fixes and a lot of QoL and balance changes. See https://git.a
|
||||||
[[dependencies.the_vault_tweaks]]
|
[[dependencies.the_vault_tweaks]]
|
||||||
modId="the_vault"
|
modId="the_vault"
|
||||||
mandatory=true
|
mandatory=true
|
||||||
versionRange="[1.18.2-3.11.0.2820]"
|
versionRange="[1.18.2-3.11.0.3011]"
|
||||||
ordering="AFTER"
|
ordering="AFTER"
|
||||||
side="BOTH"
|
side="BOTH"
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
"the_vault_tweaks.log.inject.fortune.level": "Injecting maximum Fortune level: %1$d …",
|
"the_vault_tweaks.log.inject.fortune.level": "Injecting maximum Fortune level: %1$d …",
|
||||||
"the_vault_tweaks.log.inject.fortune.valid": "Overwriting validity check for Fortune …",
|
"the_vault_tweaks.log.inject.fortune.valid": "Overwriting validity check for Fortune …",
|
||||||
"the_vault_tweaks.log.inject.jewelcutting.failurechance": "Injecting jewel cutting failure chance: %1$.2f …",
|
"the_vault_tweaks.log.inject.jewelcutting.failurechance": "Injecting jewel cutting failure chance: %1$.2f …",
|
||||||
|
"the_vault_tweaks.log.inject.jewelcutting.freecuts": "Injecting free jewel cuts: %1$d …",
|
||||||
"the_vault_tweaks.log.inject.jewelcutting.sizes": "Injecting jewel cutting size values: %1$d–%2$d …",
|
"the_vault_tweaks.log.inject.jewelcutting.sizes": "Injecting jewel cutting size values: %1$d–%2$d …",
|
||||||
"the_vault_tweaks.log.inject.junkmgmt.upgrades": "Injecting Vault Junk Upgrade multipliers: %1$d, %2$d, %3$d, %4$d …",
|
"the_vault_tweaks.log.inject.junkmgmt.upgrades": "Injecting Vault Junk Upgrade multipliers: %1$d, %2$d, %3$d, %4$d …",
|
||||||
"the_vault_tweaks.log.inject.relicfragments": "Balancing relic fragment weights …",
|
"the_vault_tweaks.log.inject.relicfragments": "Balancing relic fragment weights …",
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
"MixinCrystalBuddingConfig",
|
"MixinCrystalBuddingConfig",
|
||||||
"MixinEnchantmentEntry",
|
"MixinEnchantmentEntry",
|
||||||
"MixinExpertisesGuiConfig",
|
"MixinExpertisesGuiConfig",
|
||||||
|
"MixinJewelExpertise",
|
||||||
"MixinPlayerResearchesData",
|
"MixinPlayerResearchesData",
|
||||||
"MixinStageManager",
|
"MixinStageManager",
|
||||||
"MixinToolType",
|
"MixinToolType",
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#Tue Jul 25 01:22:57 CEST 2023
|
#Sun Nov 19 15:47:56 CET 2023
|
||||||
MAJOR=3
|
MAJOR=3
|
||||||
MINOR=12
|
MINOR=13
|
||||||
PATCH=1
|
PATCH=0
|
||||||
PRE_RELEASE=
|
PRE_RELEASE=
|
||||||
BUILD=-1
|
BUILD=-1
|
||||||
CODE=1
|
CODE=1
|
||||||
|
|
Loading…
Reference in a new issue