From f2991e4518310cfd394d07f4b49d9ea7de2fe8de Mon Sep 17 00:00:00 2001 From: Bob Date: Tue, 10 Jun 2025 22:59:04 +0200 Subject: [PATCH] dagoth ur yaoi --- changelog | 12 ++---------- .../machine/TileEntityMachineChemicalPlant.java | 10 ++++++++++ .../java/com/hbm/util/DamageResistanceHandler.java | 2 +- 3 files changed, 13 insertions(+), 11 deletions(-) diff --git a/changelog b/changelog index 52000176e..5fcf22212 100644 --- a/changelog +++ b/changelog @@ -1,13 +1,5 @@ ## Changed -* Opening the tool ability configuration menu is now its own keybind instead of using the copy tool's alt keybind + right click -* Cycling though tool abilities is now a custom keybind (still right click by default) -* Removed legacy hardron cooler -* Removed 20hz transformers -* High-octane diesel is now called high-cetane diesel +* The DNT suit now has a damage threshold of 1,000 ## Fixed -* Fixed new chemical plant ports not initializing their proxies properly -* Fixed chunkloading entities immediately throwing away their loader ticket -* Fixed builder jetpack not resetting flight time properly -* Fixed new chemplant's ferric schrabidate recipe -* Fixed single reload guns reloading multiple rounds at once when having multiple valid ammo stacks \ No newline at end of file +* Chemical plant ports. For real this time. \ No newline at end of file diff --git a/src/main/java/com/hbm/tileentity/machine/TileEntityMachineChemicalPlant.java b/src/main/java/com/hbm/tileentity/machine/TileEntityMachineChemicalPlant.java index 8e933c2f9..ef7bdd827 100644 --- a/src/main/java/com/hbm/tileentity/machine/TileEntityMachineChemicalPlant.java +++ b/src/main/java/com/hbm/tileentity/machine/TileEntityMachineChemicalPlant.java @@ -184,6 +184,16 @@ public class TileEntityMachineChemicalPlant extends TileEntityMachineBase implem return false; } + @Override + public boolean canExtractItem(int i, ItemStack itemStack, int j) { + return i >= 7 && i <= 9; + } + + @Override + public int[] getAccessibleSlotsFromSide(int side) { + return new int[] {4, 5, 6, 7, 8, 9}; + } + @Override public long getPower() { return power; } @Override public void setPower(long power) { this.power = power; } @Override public long getMaxPower() { return maxPower; } diff --git a/src/main/java/com/hbm/util/DamageResistanceHandler.java b/src/main/java/com/hbm/util/DamageResistanceHandler.java index 559d6a578..d5e475de9 100644 --- a/src/main/java/com/hbm/util/DamageResistanceHandler.java +++ b/src/main/java/com/hbm/util/DamageResistanceHandler.java @@ -218,7 +218,7 @@ public class DamageResistanceHandler { registerSet(ModItems.dns_helmet, ModItems.dns_plate, ModItems.dns_legs, ModItems.dns_boots, new ResistanceStats() .addCategory(CATEGORY_EXPLOSION, 100F, 0.99F) .addCategory(CATEGORY_FIRE, 0F, 1F) - .setOther(100F, 1F)); + .setOther(1000F, 1F)); registerSet(ModItems.taurun_helmet, ModItems.taurun_plate, ModItems.taurun_legs, ModItems.taurun_boots, new ResistanceStats() .addCategory(CATEGORY_PROJECTILE, 2F, 0.15F) .addCategory(CATEGORY_FIRE, 0F, 0.25F)