mirror of
https://github.com/GTNewHorizons/ThaumicTinkerer.git
synced 2026-11-28 16:06:07 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
47ffee8cd3 |
No files matched your search
+5
-6
@@ -1,4 +1,4 @@
|
||||
//version: 1696265388
|
||||
//version: 1699290261
|
||||
/*
|
||||
DO NOT CHANGE THIS FILE!
|
||||
Also, you may replace this file at any time if there is an update available.
|
||||
@@ -646,7 +646,7 @@ repositories {
|
||||
|
||||
def mixinProviderGroup = "io.github.legacymoddingmc"
|
||||
def mixinProviderModule = "unimixins"
|
||||
def mixinProviderVersion = "0.1.7.1"
|
||||
def mixinProviderVersion = "0.1.13"
|
||||
def mixinProviderSpecNoClassifer = "${mixinProviderGroup}:${mixinProviderModule}:${mixinProviderVersion}"
|
||||
def mixinProviderSpec = "${mixinProviderSpecNoClassifer}:dev"
|
||||
ext.mixinProviderSpec = mixinProviderSpec
|
||||
@@ -793,12 +793,12 @@ ext.java17PatchDependenciesCfg = configurations.create("java17PatchDependencies"
|
||||
}
|
||||
|
||||
dependencies {
|
||||
def lwjgl3ifyVersion = '1.5.0'
|
||||
def lwjgl3ifyVersion = '1.5.1'
|
||||
if (modId != 'lwjgl3ify') {
|
||||
java17Dependencies("com.github.GTNewHorizons:lwjgl3ify:${lwjgl3ifyVersion}")
|
||||
}
|
||||
if (modId != 'hodgepodge') {
|
||||
java17Dependencies('com.github.GTNewHorizons:Hodgepodge:2.3.7')
|
||||
java17Dependencies('com.github.GTNewHorizons:Hodgepodge:2.3.17')
|
||||
}
|
||||
|
||||
java17PatchDependencies("com.github.GTNewHorizons:lwjgl3ify:${lwjgl3ifyVersion}:forgePatches") {transitive = false}
|
||||
@@ -1187,9 +1187,8 @@ publishing {
|
||||
version = System.getenv("RELEASE_VERSION") ?: identifiedVersion
|
||||
}
|
||||
}
|
||||
|
||||
repositories {
|
||||
if (usesMavenPublishing.toBoolean()) {
|
||||
if (usesMavenPublishing.toBoolean() && System.getenv("MAVEN_USER") != null) {
|
||||
maven {
|
||||
url = mavenPublishUrl
|
||||
allowInsecureProtocol = mavenPublishUrl.startsWith("http://") // Mostly for the GTNH maven
|
||||
|
||||
@@ -50,6 +50,11 @@ public final class ConfigHandler {
|
||||
|
||||
public static int soulHeartHeight;
|
||||
|
||||
public static int visShadowbeamOrder;
|
||||
public static int visShadowbeamAir;
|
||||
public static int visShadowbeamEntropy;
|
||||
public static int baseDamageShadowbeam;
|
||||
|
||||
private static Configuration config;
|
||||
|
||||
public static void loadConfig(File configFile) {
|
||||
@@ -59,6 +64,8 @@ public final class ConfigHandler {
|
||||
new ConfigCategory("enchantments");
|
||||
new ConfigCategory("general.kami");
|
||||
|
||||
new ConfigCategory("balance.shadowbeam");
|
||||
|
||||
config.addCustomCategoryComment("general.kami", "These will only be used if KAMI is enabled.");
|
||||
|
||||
config.load();
|
||||
@@ -143,6 +150,39 @@ public final class ConfigHandler {
|
||||
.getInt("Water Potion id", "potions", 89, 30, 1023, "Set to the potion id for water potion");
|
||||
potionAirId = config.getInt("Air Potion id", "potions", 86, 30, 1023, "Set to the potion id for air potion");
|
||||
|
||||
// Shadowbeam Balance
|
||||
visShadowbeamAir = config.getInt(
|
||||
"aer vis cost",
|
||||
"balance.shadowbeam",
|
||||
15,
|
||||
Integer.MIN_VALUE,
|
||||
Integer.MAX_VALUE,
|
||||
"vis cost for the aer aspect, 1/100th in-game");
|
||||
|
||||
visShadowbeamOrder = config.getInt(
|
||||
"ordo vis cost",
|
||||
"balance.shadowbeam",
|
||||
25,
|
||||
Integer.MIN_VALUE,
|
||||
Integer.MAX_VALUE,
|
||||
"vis cost for the ordo aspect, 1/100th in-game");
|
||||
|
||||
visShadowbeamEntropy = config.getInt(
|
||||
"perditio vis cost",
|
||||
"balance.shadowbeam",
|
||||
25,
|
||||
Integer.MIN_VALUE,
|
||||
Integer.MAX_VALUE,
|
||||
"vis cost for the perditio aspect, 1/100th in-game");
|
||||
|
||||
baseDamageShadowbeam = config.getInt(
|
||||
"shadowbeam base damage",
|
||||
"balance.shadowbeam",
|
||||
8,
|
||||
Integer.MIN_VALUE,
|
||||
Integer.MAX_VALUE,
|
||||
"base damage of the shadowbeam focus");
|
||||
|
||||
if (enableKami) {
|
||||
|
||||
bedrockDimensionID = config.getInt(
|
||||
|
||||
@@ -37,10 +37,10 @@ import thaumic.tinkerer.common.research.ResearchHelper;
|
||||
|
||||
public class ItemFocusShadowbeam extends ItemModKamiFocus {
|
||||
|
||||
private static final AspectList visUsage = new AspectList().add(Aspect.ORDER, 500).add(Aspect.ENTROPY, 500)
|
||||
.add(Aspect.AIR, 300);
|
||||
private static final AspectList visUsage = new AspectList().add(Aspect.ORDER, ConfigHandler.visShadowbeamOrder)
|
||||
.add(Aspect.ENTROPY, ConfigHandler.visShadowbeamEntropy).add(Aspect.AIR, ConfigHandler.visShadowbeamAir);
|
||||
|
||||
private static final int DAMAGE = 100;
|
||||
private static final int DAMAGE = ConfigHandler.baseDamageShadowbeam;
|
||||
|
||||
public ItemFocusShadowbeam() {
|
||||
super();
|
||||
|
||||
Reference in new issue
Block a user