Compare commits

..
7 Commits
Author SHA1 Message Date
Martin Robertz 77f61fd033 update 2025-12-09 15:09:35 +01:00
Martin Robertz 522ca71ef7 Merge remote-tracking branch 'origin/hazmat-protecting-bound-armor' into dev 2025-12-09 15:09:01 +01:00
Martin Robertz 8613e4ac0c Merge remote-tracking branch 'origin/recipe-tooltip' into dev 2025-12-09 15:08:56 +01:00
Martin Robertz ae7265cc99 Merge remote-tracking branch 'origin/calcinator' into dev 2025-12-09 15:08:43 +01:00
Worive b29dc7d66a Add hazmat protection to bound and omega armors 2025-12-09 11:40:25 +01:00
koolkrafter5 aa5cfa8a40 Remove "Press shift for Recipe" tooltip from alchemy items 2025-11-29 16:14:24 -05:00
koolkrafter5 f0e045061a Bind unbound blood orbs that are placed into the calcinator by players
Only allow reagents in the top slot and blood orbs in the bottom slot
Take the full reagent stack from the player's hand instead of only one item
2025-11-29 15:20:49 -05:00
23 changed files with 90 additions and 146 deletions

No files matched your search

+6 -6
View File
@@ -24,16 +24,16 @@
dependencies {
api("com.github.GTNewHorizons:waila:1.9.15:dev")
api("com.github.GTNewHorizons:NotEnoughItems:2.8.48-GTNH:dev")
api("com.github.GTNewHorizons:NotEnoughItems:2.8.40-GTNH:dev")
api("com.github.GTNewHorizons:GTNHLib:0.8.25:dev")
compileOnly("com.github.GTNewHorizons:GTNHLib:0.8.41:dev") {transitive = false }
compileOnly("com.github.GTNewHorizons:GT5-Unofficial:5.09.52.188:dev") {transitive = false }
compileOnly("com.github.GTNewHorizons:GT5-Unofficial:5.09.52.134:dev") {transitive = false }
compileOnly("com.github.GTNewHorizons:Botania:1.13.6-GTNH:api") {transitive = false }
compileOnly("com.github.GTNewHorizons:ForestryMC:4.11.4:api") {transitive = false }
compileOnly("com.github.GTNewHorizons:ForestryMC:4.11.2:api") {transitive = false }
compileOnly("com.github.GTNewHorizons:ForgeMultipart:1.7.2:dev") {transitive = false }
compileOnly("com.github.GTNewHorizons:Chisel:2.17.11-GTNH:api") {transitive = false }
compileOnly("com.github.GTNewHorizons:Chisel:2.17.7-GTNH:api") {transitive = false }
compileOnly("com.github.GTNewHorizons:ZenScript:1.0.0-GTNH") {transitive = false }
compileOnly("com.github.GTNewHorizons:CraftTweaker:3.4.2:dev") {transitive = false }
@@ -41,5 +41,5 @@ dependencies {
compileOnly("thaumcraft:Thaumcraft:1.7.10-4.2.3.5:dev") {transitive = false }
compileOnly("curse.maven:guide-api-228832:2287185") {transitive = false }
compileOnly("com.github.GTNewHorizons:StructureLib:1.4.25:dev")
compileOnly("com.github.GTNewHorizons:StructureLib:1.4.24:dev")
}
-7
View File
@@ -43,10 +43,6 @@ developmentEnvironmentUserName = Developer
# See https://github.com/bsideup/jabel for details on how this works.
enableModernJavaSyntax = true
# If set, ignores the above setting and compiles with the given toolchain. This may cause unexpected issues,
# and should *not* be used in most situations. -1 disables this.
# forceToolchainVersion = -1
# Enables injecting missing generics into the decompiled source code for a better coding experience.
# Turns most publicly visible List, Map, etc. into proper List<E>, Map<K, V> types.
enableGenericInjection = true
@@ -213,6 +209,3 @@ disableCheckstyle = true
# This is meant to be set in $HOME/.gradle/gradle.properties.
# ideaCheckSpotlessOnBuild = true
# Non-GTNH properties
org.gradle.configuration-cache = true
org.gradle.parallel = true
-12
View File
@@ -1,12 +0,0 @@
#This file is generated by updateDaemonJvm
toolchainUrl.FREE_BSD.AARCH64=https\://api.foojay.io/disco/v3.0/ids/df211d3c3eefdc408b462041881bc575/redirect
toolchainUrl.FREE_BSD.X86_64=https\://api.foojay.io/disco/v3.0/ids/b41931cf1e70bc8e08d7dd19c343ef00/redirect
toolchainUrl.LINUX.AARCH64=https\://api.foojay.io/disco/v3.0/ids/df211d3c3eefdc408b462041881bc575/redirect
toolchainUrl.LINUX.X86_64=https\://api.foojay.io/disco/v3.0/ids/b41931cf1e70bc8e08d7dd19c343ef00/redirect
toolchainUrl.MAC_OS.AARCH64=https\://api.foojay.io/disco/v3.0/ids/46949723aaa20c7b64d7ecfed7207034/redirect
toolchainUrl.MAC_OS.X86_64=https\://api.foojay.io/disco/v3.0/ids/d6690dfd71c4c91e08577437b5b2beb0/redirect
toolchainUrl.UNIX.AARCH64=https\://api.foojay.io/disco/v3.0/ids/df211d3c3eefdc408b462041881bc575/redirect
toolchainUrl.UNIX.X86_64=https\://api.foojay.io/disco/v3.0/ids/b41931cf1e70bc8e08d7dd19c343ef00/redirect
toolchainUrl.WINDOWS.AARCH64=https\://api.foojay.io/disco/v3.0/ids/3cd7045fca9a72cd9bc7d14a385e594c/redirect
toolchainUrl.WINDOWS.X86_64=https\://api.foojay.io/disco/v3.0/ids/552c7bffe0370c66410a51c55985b511/redirect
toolchainVersion=25
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-9.2.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Vendored
+4 -1
View File
@@ -1,7 +1,7 @@
#!/bin/sh
#
# Copyright © 2015 the original authors.
# Copyright © 2015-2021 the original authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -114,6 +114,7 @@ case "$( uname )" in #(
NONSTOP* ) nonstop=true ;;
esac
CLASSPATH="\\\"\\\""
# Determine the Java command to use to start the JVM.
@@ -171,6 +172,7 @@ fi
# For Cygwin or MSYS, switch paths to Windows format before running java
if "$cygwin" || "$msys" ; then
APP_HOME=$( cygpath --path --mixed "$APP_HOME" )
CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" )
JAVACMD=$( cygpath --unix "$JAVACMD" )
@@ -210,6 +212,7 @@ DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
set -- \
"-Dorg.gradle.appname=$APP_BASE_NAME" \
-classpath "$CLASSPATH" \
-jar "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" \
"$@"
Vendored
+2 -1
View File
@@ -70,10 +70,11 @@ goto fail
:execute
@rem Setup the command line
set CLASSPATH=
@rem Execute Gradle
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %*
"%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
+1 -1
View File
@@ -17,7 +17,7 @@ pluginManagement {
}
plugins {
id 'com.gtnewhorizons.gtnhsettingsconvention' version '2.0.9'
id 'com.gtnewhorizons.gtnhsettingsconvention' version '1.0.48'
}
@@ -3054,59 +3054,56 @@ public class AlchemicalWizardry {
stringStack);
GameRegistry.addRecipe(
new ShapedBloodOrbRecipe(
new ItemStack(ModBlocks.blockStabilityGlyph),
"1s1",
"grg",
"bob",
'o',
transcendentBloodOrbStack,
'r',
bloodRuneStack,
'1',
crepitousStack,
'g',
etherealSlateStack,
'b',
praesidiumStack,
's',
magicalesStack));
new ItemStack(ModBlocks.blockStabilityGlyph),
"1s1",
"grg",
"bob",
'o',
transcendentBloodOrbStack,
'r',
bloodRuneStack,
'1',
crepitousStack,
'g',
etherealSlateStack,
'b',
praesidiumStack,
's',
magicalesStack);
GameRegistry.addRecipe(
new ShapedBloodOrbRecipe(
new ItemStack(ModBlocks.blockEnchantmentGlyph, 1, 0),
"1s1",
"grg",
"bob",
'o',
transcendentBloodOrbStack,
'r',
bloodRuneStack,
'g',
etherealSlateStack,
'b',
magicalesStack,
'1',
offensaStack,
's',
lifeShardStack));
new ItemStack(ModBlocks.blockEnchantmentGlyph, 1, 0),
"1s1",
"grg",
"bob",
'o',
transcendentBloodOrbStack,
'r',
bloodRuneStack,
'g',
etherealSlateStack,
'b',
magicalesStack,
'1',
offensaStack,
's',
lifeShardStack);
GameRegistry.addRecipe(
new ShapedBloodOrbRecipe(
new ItemStack(ModBlocks.blockEnchantmentGlyph, 1, 1),
"1s1",
"grg",
"bob",
'o',
transcendentBloodOrbStack,
'r',
bloodRuneStack,
'g',
etherealSlateStack,
'b',
magicalesStack,
'1',
virtusStack,
's',
soulShardStack));
new ItemStack(ModBlocks.blockEnchantmentGlyph, 1, 1),
"1s1",
"grg",
"bob",
'o',
transcendentBloodOrbStack,
'r',
bloodRuneStack,
'g',
etherealSlateStack,
'b',
magicalesStack,
'1',
virtusStack,
's',
soulShardStack);
GameRegistry.addRecipe(
dawnRitualDivinerStack,
@@ -14,7 +14,6 @@ import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.nbt.NBTTagList;
import net.minecraft.util.ResourceLocation;
import net.minecraft.util.StatCollector;
import net.minecraftforge.common.util.Constants;
import org.lwjgl.opengl.GL11;
@@ -54,9 +53,7 @@ public class NEICalcinatorHandler extends TemplateRecipeHandler {
ItemStack[] orbStacks = NEIConfig.getBloodOrbs().stream().map(ItemStack::new).toArray(ItemStack[]::new);
this.orbs = new PositionedStack(orbStacks, 32, 33);
String formattedAmount = String.format("%,d", amount);
this.amountText = StatCollector
.translateToLocalFormatted("text.recipe.alchemicCalcinator.reagent", formattedAmount);
this.amountText = String.format("%,d AR", amount);
this.amountTextWidth = fontRenderer.getStringWidth(amountText);
this.nameText = this.reagent.name;
@@ -3,7 +3,6 @@ package WayofTime.alchemicalWizardry.common.demonVillage.tileEntity;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.tileentity.TileEntityChest;
import net.minecraft.util.StatCollector;
import WayofTime.alchemicalWizardry.api.Int3;
@@ -13,7 +12,7 @@ public class TEDemonChest extends TileEntityChest implements ITilePortalNode {
@Override
public String getInventoryName() {
return StatCollector.translateToLocal("gui.demonChest.title");
return "Demon's Chest";
}
@Override
@@ -28,7 +28,6 @@ import WayofTime.alchemicalWizardry.common.ItemType;
import WayofTime.alchemicalWizardry.common.spell.complex.effect.SpellHelper;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import gregtech.common.blocks.GTBlockOre;
public class BoundPickaxe extends ItemPickaxe implements IBindable {
@@ -119,20 +118,8 @@ public class BoundPickaxe extends ItemPickaxe implements IBindable {
.canSilkHarvest(par2World, par3EntityPlayer, posX + i, posY + j, posZ + k, meta)) {
dropMultiset.add(new ItemType(block, meta));
} else {
ArrayList<ItemStack> itemDropList;
if (AlchemicalWizardry.isGregTechLoaded && block instanceof GTBlockOre) {
itemDropList = ((GTBlockOre) block).getDropsForPlayer(
par2World,
posX + i,
posY + j,
posZ + k,
meta,
fortuneLvl,
par3EntityPlayer);
} else {
itemDropList = block
.getDrops(par2World, posX + i, posY + j, posZ + k, meta, fortuneLvl);
}
ArrayList<ItemStack> itemDropList = block
.getDrops(par2World, posX + i, posY + j, posZ + k, meta, fortuneLvl);
if (itemDropList != null) {
for (ItemStack stack : itemDropList)
@@ -25,7 +25,6 @@ import WayofTime.alchemicalWizardry.ModItems;
import WayofTime.alchemicalWizardry.api.alchemy.energy.IAlchemyGoggles;
import WayofTime.alchemicalWizardry.api.items.interfaces.ArmourUpgrade;
import WayofTime.alchemicalWizardry.api.items.interfaces.IBindable;
import WayofTime.alchemicalWizardry.api.items.interfaces.IBloodOrb;
import WayofTime.alchemicalWizardry.api.items.interfaces.ILPGauge;
import WayofTime.alchemicalWizardry.common.items.EnergyItems;
import WayofTime.alchemicalWizardry.common.items.sigil.SigilDivination;
@@ -609,17 +608,29 @@ public class BoundArmour extends ItemArmor implements IAlchemyGoggles, ISpecialA
}
for (ItemStack item : inv) {
if (item == null || !(item.getItem() instanceof IBloodOrb orb)) {
if (item == null) {
continue;
}
return switch (orb.getOrbLevel()) {
case 1 -> 0.75f;
case 2 -> 0.50f;
case 3 -> 0.25f;
case 4, 5, 6 -> 0;
default -> 1;
};
if (item.getItem().equals(ModItems.weakBloodOrb)) {
return 0.75f;
}
if (item.getItem().equals(ModItems.apprenticeBloodOrb)) {
return 0.50f;
}
if (item.getItem().equals(ModItems.magicianBloodOrb)) {
return 0.25f;
}
if (item.getItem().equals(ModItems.masterBloodOrb)) {
return 0.0f;
}
if (item.getItem().equals(ModItems.archmageBloodOrb)) {
return 0.0f;
}
}
return 1.0f;
@@ -21,7 +21,7 @@ public class GuiTeleposer extends GuiContainer {
@Override
protected void drawGuiContainerForegroundLayer(int param1, int param2) {
// the parameters for drawString are: string, x, y, color
fontRendererObj.drawString(StatCollector.translateToLocal("gui.bloodTeleposer.title"), 64, 5, 4210752);
fontRendererObj.drawString("Teleposer", 64, 5, 4210752);
// draws "Inventory" or your regional equivalent
fontRendererObj.drawString(StatCollector.translateToLocal("container.inventory"), 8, 29, 4210752);
}
@@ -22,7 +22,7 @@ public class GuiWritingTable extends GuiContainer {
protected void drawGuiContainerForegroundLayer(int param1, int param2) {
// draw text and stuff here
// the parameters for drawString are: string, x, y, color
fontRendererObj.drawString(StatCollector.translateToLocal("gui.blockWritingTable.title"), 8, 6, 4210752);
fontRendererObj.drawString("Alchemic Chemistry Set", 8, 6, 4210752);
// draws "Inventory" or your regional equivalent
fontRendererObj.drawString(StatCollector.translateToLocal("container.inventory"), 8, 130, 4210752);
}
@@ -174,12 +174,8 @@ item.itemFluidSigil.name=
itemGroup.tabBloodMagic=Blood Magic
#Extra Strings
gui.blockWritingTable.title=Alchemisches Chemieset
gui.demonChest.title=Demon's Chest
gui.bloodTeleposer.title=Teleposer
bm.string.consume=Verbrauch
bm.string.drain=Entzug
bm.string.tier=Stufe
bm.string.crafting.orb.shaped=Geformte Orb-Fertigung
bm.string.crafting.orb.shapeless=Formfreie Orb-Fertigung
text.recipe.alchemicCalcinator.reagent=%s AR
@@ -264,9 +264,6 @@ item.bloodMagicIncenseItem.Purpura.name=Purpura
itemGroup.tabBloodMagic=Blood Magic
#Extra Strings
gui.blockWritingTable.title=Alchemic Chemistry Set
gui.demonChest.title=Demon's Chest
gui.bloodTeleposer.title=Teleposer
bm.string.consume=Usage
bm.string.drain=Drain
bm.string.tier=Tier
@@ -277,7 +274,6 @@ text.recipe.altar=Blood Altar
text.recipe.altar.tier=Tier: %s
text.recipe.altar.bloodRequired=LP: %s
text.recipe.shapedOrb=Shaped Orb Recipe
text.recipe.alchemicCalcinator.reagent=%s AR
nei.recipe.meteor.category=Meteor Ritual
nei.recipe.meteor.cost=LP cost to summon this meteor
nei.recipe.meteor.tooExpensive=Insufficient LP in Soul Network
@@ -204,15 +204,11 @@ item.transcendentBloodOrb.name=Orbe Sanguinaire Transcendante
itemGroup.tabBloodMagic=Blood Magic
#Extra Strings
gui.blockWritingTable.title=Matériel d’Alchimie
gui.demonChest.title=Demon's Chest
gui.bloodTeleposer.title=Téléposeur
bm.string.consume=Exaction
bm.string.drain=Ponction Veineuse
bm.string.tier=Tiers
bm.string.crafting.orb.shaped=Fabrication Orbée Formée
bm.string.crafting.orb.shapeless=Fabrication Orbée Déformée
text.recipe.alchemicCalcinator.reagent=%s AR
#Entities
entity.AWWayofTime.EarthElemental.name=Elémenterrestre
@@ -174,12 +174,8 @@ item.itemFluidSigil.name=
itemGroup.tabBloodMagic=Magia del Sangue
#Extra Strings
gui.blockWritingTable.title=Set da Alchimista
gui.demonChest.title=Demon's Chest
gui.bloodTeleposer.title=Teleposer
bm.string.consume=Utilizzo
bm.string.drain=Drenaggio
bm.string.tier=Livello
bm.string.crafting.orb.shaped=Creazione di un Glodo Formato
bm.string.crafting.orb.shapeless=Creazione di un Globo Informe
text.recipe.alchemicCalcinator.reagent=%s AR
bm.string.crafting.orb.shapeless=Creazione di un Globo Informe
@@ -187,12 +187,8 @@ item.destinationClearer.name=Alchemic Cleanser
itemGroup.tabBloodMagic=선혈의마술[Blood Magic]
#Extra Strings
gui.blockWritingTable.title=Alchemic Chemistry Set
gui.demonChest.title=Demon's Chest
gui.bloodTeleposer.title=Teleposer
bm.string.consume=사용량
bm.string.drain=흡수량
bm.string.tier=티어
bm.string.crafting.orb.shaped=블러드매직 오브 조합법
bm.string.crafting.orb.shapeless=블러드매직 오브 조합법
text.recipe.alchemicCalcinator.reagent=%s AR
@@ -235,9 +235,6 @@ item.boundBootsWater.name=Водные омега ботинки
itemGroup.tabBloodMagic=Blood Magic
#Extra Strings
gui.blockWritingTable.title=Алхимическая и химическая установка
gui.demonChest.title=Сундук демона
gui.bloodTeleposer.title=Телепозер
bm.string.consume=Потребление
bm.string.drain=Опустошение
bm.string.tier=Уровень
@@ -247,7 +244,6 @@ text.recipe.altar=Кровавый алтарь
text.recipe.altar.tier=Уровень: %s
text.recipe.altar.bloodRequired=LP: %s
text.recipe.shapedOrb=Форменный рецепт шара
text.recipe.alchemicCalcinator.reagent=%s AR
#Entities
entity.AWWayofTime.EarthElemental.name=Элементаль земли
@@ -251,9 +251,6 @@ item.bloodMagicIncenseItem.Purpura.name=紫香粉末
itemGroup.tabBloodMagic=血魔法
#Extra Strings
gui.blockWritingTable.title=炼金术台
gui.demonChest.title=恶魔的箱子
gui.bloodTeleposer.title=传送器
bm.string.consume=使用
bm.string.drain=消耗
bm.string.tier=层数
@@ -264,7 +261,6 @@ text.recipe.altar=血之祭坛
text.recipe.altar.tier=层数: %s
text.recipe.altar.bloodRequired=LP: %s
text.recipe.shapedOrb=合适宝珠合成
text.recipe.alchemicCalcinator.reagent=%s AR
nei.recipe.meteor.category=陨星仪式
nei.recipe.meteor.cost=消耗: %s LP
nei.recipe.meteor.radius=半径: %s
@@ -609,4 +605,4 @@ bm.versioning.doneDownloading=已完成下载 %s 重新加载您的游戏以进
bm.versioning.error=下载mod时出错!
bm.versioning.downloadedAlready=你已经拥有最新版本,重新加载游戏以进行更新!
bm.versioning.downloadingAlready=正在下载! 耐心点!
bm.versioning.disabled=此功能已禁用.
bm.versioning.disabled=此功能已禁用.
@@ -247,9 +247,6 @@ item.bloodMagicIncenseItem.Purpura.name=Purpura
itemGroup.tabBloodMagic=血魔法
#Extra Strings
gui.blockWritingTable.title=煉金術台
gui.demonChest.title=Demon's Chest
gui.bloodTeleposer.title=傳送器
bm.string.consume=使用
bm.string.drain=消耗
bm.string.tier=層數
@@ -259,7 +256,6 @@ text.recipe.altar=Blood Altar
text.recipe.altar.tier=Tier: %s
text.recipe.altar.bloodRequired=LP: %s
text.recipe.shapedOrb=Shaped Orb Recipe
text.recipe.alchemicCalcinator.reagent=%s AR
#Entities
entity.AWWayofTime.EarthElemental.name=土之元素精靈