Compare commits

..
20 Commits
Author SHA1 Message Date
Martin Robertz eac7d41da2 Merge branch 'master' into dev 2025-10-31 19:57:20 +01:00
Martin Robertz 824b6bc3b4 update 2025-10-31 19:54:43 +01:00
JohnandDream Master 83ef9ce92c Fix tooltip for Vis Discount on Nano and Quantum Wings (#108)
Co-authored-by: Dream Master <[email protected]>
2025-10-31 16:16:00 +01:00
Dream Master bbb2858058 Merge branch 'master2' into dev 2025-10-31 13:47:06 +01:00
Dream Master e1fffc8eb6 update 2025-10-31 13:46:57 +01:00
Dream Master 76e308bd70 sa 2025-10-31 13:46:28 +01:00
John 5d6ef59f52 Fix tooltip for Vis Discount on Nano Wings, which propogates to Quantum Wings as well. 2025-10-30 15:41:00 -04:00
Dream Master 2c76ed22b6 Merge branch 'master' into dev 2025-10-30 13:45:57 +01:00
Dream Master c1642ad8e1 update 2025-10-30 13:45:36 +01:00
Dream Master f769825006 update 2025-10-30 13:24:32 +01:00
SST-03 facfe682c5 Omni Mode like Thaumic Boots 2025-10-29 19:03:55 +08:00
SST-03 8dba364e25 Spotless 2 2025-10-28 22:34:37 +08:00
SST-03 fd8e0dff3f Spotless 2025-10-28 21:48:27 +08:00
SST-03 731f565f30 Update ItemElectricBootsTraveller.java 2025-10-28 21:17:10 +08:00
SST-03 8ee6a81a08 Update ItemElectricBootsTraveller.java 2025-10-28 19:20:27 +08:00
SST-03 a8b75eb35a Rebalance jumpMovement Speed 2025-10-28 19:19:53 +08:00
Martin Robertz 9a51e36a33 update 2025-10-16 11:04:42 +02:00
WanderingHero 41ba26b62d Fix dungeon chests spawning with the one ring. (#105) 2025-10-16 09:03:14 +00:00
Julia d16c3f27d4 Update for Deprecated Tier Removal PR #5085 (#106) 2025-10-16 10:26:55 +02:00
Woriveandsisyphussy 46fa64f4f7 Fix(ItemElectricGoggles): ic2 energy bar not being displayed nor updated (#104)
Co-authored-by: sisyphussy <[email protected]>
2025-09-07 17:56:53 +00:00
13 changed files with 67 additions and 33 deletions

No files matched your search

+4 -4
View File
@@ -1,9 +1,9 @@
// Add your dependencies here
dependencies {
api('com.github.GTNewHorizons:Baubles-Expanded:2.1.13-GTNH:dev')
api('com.github.GTNewHorizons:ModularUI:1.2.20:dev')
api('com.github.GTNewHorizons:ThaumicBoots:1.4.14:dev') {
api('com.github.GTNewHorizons:Baubles-Expanded:2.2.2-GTNH:dev')
api('com.github.GTNewHorizons:ModularUI:1.3.0:dev')
api('com.github.GTNewHorizons:ThaumicBoots:1.5.0:dev') {
exclude group: 'com.github.GTNewHorizons', module: 'Electro-Magic-Tools'
exclude module: 'Baubles'
}
@@ -11,5 +11,5 @@ dependencies {
api('net.industrial-craft:industrialcraft-2:2.2.828-experimental:dev')
api('thaumcraft:Thaumcraft:1.7.10-4.2.3.5:dev')
compileOnly('com.github.GTNewHorizons:GT5-Unofficial:5.09.51.448:dev')
compileOnly('com.github.GTNewHorizons:GT5-Unofficial:5.09.52.87:dev')
}
+9 -1
View File
@@ -96,7 +96,9 @@ usesMixinDebug = false
# Specify the location of your implementation of IMixinConfigPlugin. Leave it empty otherwise.
mixinPlugin =
# Specify the package that contains all of your Mixins. You may only place Mixins in this package or the build will fail!
# Specify the package that contains all of your Mixins. The package must exist or
# the build will fail. If you have a package property defined in your mixins.<modid>.json,
# it must match with this or the build will fail.
mixinsPackage =
# Specify the core mod entry class if you use a core mod. This class must implement IFMLLoadingPlugin!
@@ -172,6 +174,12 @@ curseForgeRelations =
# projects. New projects should not use this parameter.
# customArchiveBaseName =
# Optional parameter to customize the default working directory used by the runClient* tasks. Relative to the project directory.
# runClientWorkingDirectory = run/client
# Optional parameter to customize the default working directory used by the runServer* tasks. Relative to the project directory.
# runServerWorkingDirectory = run/server
# Optional parameter to have the build automatically fail if an illegal version is used.
# This can be useful if you e.g. only want to allow versions in the form of '1.1.xxx'.
# The check is ONLY performed if the version is a git tag.
Binary file not shown.
+1 -1
View File
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Vendored
+2 -2
View File
@@ -114,7 +114,7 @@ case "$( uname )" in #(
NONSTOP* ) nonstop=true ;;
esac
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
CLASSPATH="\\\"\\\""
# Determine the Java command to use to start the JVM.
@@ -213,7 +213,7 @@ DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
set -- \
"-Dorg.gradle.appname=$APP_BASE_NAME" \
-classpath "$CLASSPATH" \
org.gradle.wrapper.GradleWrapperMain \
-jar "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" \
"$@"
# Stop when "xargs" is not available.
Vendored
+2 -2
View File
@@ -70,11 +70,11 @@ goto fail
:execute
@rem Setup the command line
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
set CLASSPATH=
@rem Execute Gradle
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %*
:end
@rem End local scope for the variables with windows NT shell
+11
View File
@@ -1,4 +1,15 @@
// Add any additional repositories for your dependencies here
repositories {
exclusiveContent {
forRepository {
maven {
name = 'glease'
url = 'https://maven.glease.net/repos/releases/'
}
}
filter {
includeGroup('net.glease')
}
}
}
+1 -1
View File
@@ -17,7 +17,7 @@ pluginManagement {
}
plugins {
id 'com.gtnewhorizons.gtnhsettingsconvention' version '1.0.42'
id 'com.gtnewhorizons.gtnhsettingsconvention' version '1.0.48'
}
@@ -21,7 +21,7 @@ public class EMT_GT_Loader {
GTValues.RA.stdBuilder()
.itemInputs(
new ItemStack(Items.book),
GTOreDictUnificator.get(OrePrefixes.circuit, Materials.Basic, 1L),
GTOreDictUnificator.get(OrePrefixes.circuit, Materials.LV, 1L),
new ItemStack(ConfigItems.itemShard, 1, OreDictionary.WILDCARD_VALUE))
.itemOutputs(mkbook()).duration(6 * SECONDS).eut(TierEU.RECIPE_MV / 2).addTo(assemblerRecipes);
}
@@ -24,7 +24,6 @@ import cpw.mods.fml.common.eventhandler.SubscribeEvent;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import emt.EMT;
import emt.init.EMTItems;
import emt.util.EMTConfigHandler;
import emt.util.EMTTextHelper;
import ic2.api.item.ElectricItem;
@@ -36,6 +35,7 @@ import thaumcraft.api.aspects.Aspect;
import thaumcraft.common.Thaumcraft;
import thaumcraft.common.items.armor.Hover;
import thaumicboots.api.IBoots;
import thaumicboots.mixins.early.minecraft.EntityLivingBaseAccessor;
@Interface(iface = "thaumicboots.api.IBoots", modid = "thaumicboots")
public class ItemElectricBootsTraveller extends ItemArmor
@@ -46,7 +46,8 @@ public class ItemElectricBootsTraveller extends ItemArmor
public int visDiscount = 2;
public float speedBonus = 0.055F;
// constant from Thaumcraft's EventHandlerEntity#playerJumps for basic Traveller Boots
public float jumpBonus = 0.2750000059604645F;
public static final float BASE_JUMP_BONUS = 0.2750000059604645F;
public float jumpBonus = BASE_JUMP_BONUS;
public double transferLimit = 100;
public ItemElectricBootsTraveller(ArmorMaterial material, int par3, int par4) {
@@ -165,15 +166,9 @@ public class ItemElectricBootsTraveller extends ItemArmor
} else if (Hover.getHover(player.getEntityId())) {
// Base ItemBootsTraveller jumpBonus equals to jumpBonus of Electric Boots,
// so any other boots factor can be calculated via proportion method
player.jumpMovementFactor = 0.03F
/ ((ItemElectricBootsTraveller) EMTItems.electricBootsTraveller).jumpBonus
* jumpBonus
* speedMod;
player.jumpMovementFactor = (0.03F / BASE_JUMP_BONUS * jumpBonus - 0.02F) * speedMod + 0.02F;
} else {
player.jumpMovementFactor = 0.05F
/ ((ItemElectricBootsTraveller) EMTItems.electricBootsTraveller).jumpBonus
* jumpBonus
* speedMod;
player.jumpMovementFactor = (0.05F / BASE_JUMP_BONUS * jumpBonus - 0.02F) * speedMod + 0.02F;
}
}
}
@@ -183,8 +178,15 @@ public class ItemElectricBootsTraveller extends ItemArmor
if (player.moveForward != 0.0) {
player.moveFlying(0.0F, player.moveForward, bonus);
}
if (player.moveStrafing != 0.0 && getOmniState(itemStack)) {
player.moveFlying(player.moveStrafing, 0.0F, bonus);
if (getOmniState(itemStack)) {
if (player.moveStrafing != 0.0) player.moveFlying(player.moveStrafing, 0.0F, bonus);
boolean jumping = ((EntityLivingBaseAccessor) player).getIsJumping();
boolean sneaking = player.isSneaking();
if (sneaking && !jumping && !player.onGround) {
player.motionY -= bonus;
} else if (jumping && !sneaking) {
player.motionY += bonus;
}
}
}
@@ -43,8 +43,27 @@ public class ItemElectricGoggles extends ItemArmor
this.setCreativeTab(EMT.TAB);
}
/**
* Allow damage to be set to avoid breaking IC2 Energy bar or other features, while preventing the item from
* breaking.
*
* @param stack the item stack
* @param damage the new damage value
*/
@Override
public void setDamage(ItemStack stack, int damage) {}
public void setDamage(ItemStack stack, int damage) {
int max = stack.getMaxDamage();
if (max > 0) {
if (damage >= max) {
damage = max - 1;
} else if (damage < 0) {
damage = 0;
}
}
super.setDamage(stack, damage);
}
@SideOnly(Side.CLIENT)
@Override
@@ -19,6 +19,7 @@ import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import emt.EMT;
import emt.util.EMTConfigHandler;
import emt.util.EMTTextHelper;
import gregtech.api.hazards.Hazard;
import gregtech.api.hazards.IHazardProtector;
import ic2.api.item.ElectricItem;
@@ -140,6 +141,7 @@ public class ItemNanoWing extends ItemThaumiumReinforcedWing
@Override
public void addInformation(ItemStack stack, EntityPlayer par2EntityPlayer, List<String> list, boolean par4) {
list.add(StatCollector.translateToLocal("ic2.item.tooltip.PowerTier") + " " + getTier(new ItemStack(this)));
list.add(EMTTextHelper.PURPLE + EMTTextHelper.localize("tooltip.EMT.visDiscount") + ": " + visDiscount + "%");
}
public double getDamageAbsorptionRatio() {
@@ -17,13 +17,5 @@ public class EMTDungeonChestGenerator {
1,
EMTConfigHandler.chanceTaintedMjolnir));
}
if (!EMTConfigHandler.oneRingSpawn) {
ChestGenHooks.getInfo(ChestGenHooks.DUNGEON_CHEST).addItem(
new WeightedRandomChestContent(
new ItemStack(EMTItems.onering),
0,
1,
EMTConfigHandler.chanceOneRing));
}
}
}