From dc9f291cc7840dd3a12228625b8121201d325f77 Mon Sep 17 00:00:00 2001 From: MartinSVK12 <37455793+MartinSVK12@users.noreply.github.com> Date: Wed, 13 Dec 2023 17:40:19 +0100 Subject: [PATCH] Adjust hardness levels of blocks (they mine quicker now) --- .../signalindustries/SignalIndustries.java | 72 +++++++++---------- 1 file changed, 36 insertions(+), 36 deletions(-) diff --git a/src/main/java/sunsetsatellite/signalindustries/SignalIndustries.java b/src/main/java/sunsetsatellite/signalindustries/SignalIndustries.java index 5dfdd945..a9ed2b50 100644 --- a/src/main/java/sunsetsatellite/signalindustries/SignalIndustries.java +++ b/src/main/java/sunsetsatellite/signalindustries/SignalIndustries.java @@ -197,7 +197,7 @@ public class SignalIndustries implements ModInitializer { .setTextures("machine_prototype.png") .setBlockSound(BlockSounds.STONE) .setLuminance(0) - .setHardness(2) + .setHardness(1) .setResistance(3) .build(new BlockTiered("prototype.machine",config.getInt("BlockIDs.prototypeMachineCore"), Tier.PROTOTYPE,Material.stone)); @@ -221,7 +221,7 @@ public class SignalIndustries implements ModInitializer { .setBlockSound(BlockSounds.METAL) .setTextures("machine_awakened.png") .setLuminance(1) - .setHardness(5) + .setHardness(1) .setResistance(50) .build(new BlockTiered("awakened.machine",config.getInt("BlockIDs.awakenedMachineCore"), Tier.AWAKENED,Material.metal)); @@ -310,7 +310,7 @@ public class SignalIndustries implements ModInitializer { public static final Block prototypeEnergyCell = new BlockBuilder(MOD_ID) .setTextures("cell_prototype.png") .setLuminance(1) - .setHardness(2) + .setHardness(1) .setResistance(5) .setBlockSound(BlockSounds.GLASS) .build(new BlockEnergyCell("prototype.energyCell",config.getInt("BlockIDs.prototypeEnergyCell"),Tier.PROTOTYPE,Material.glass)); @@ -318,7 +318,7 @@ public class SignalIndustries implements ModInitializer { public static final Block basicEnergyCell = new BlockBuilder(MOD_ID) .setTextures("cell_basic.png") .setLuminance(1) - .setHardness(2) + .setHardness(1) .setResistance(5) .setBlockSound(BlockSounds.GLASS) .build(new BlockEnergyCell("basic.energyCell",config.getInt("BlockIDs.basicEnergyCell"),Tier.BASIC,Material.glass)); @@ -327,7 +327,7 @@ public class SignalIndustries implements ModInitializer { public static final Block prototypeFluidTank = new BlockBuilder(MOD_ID) .setTextures("fluid_tank_prototype.png") .setLuminance(0) - .setHardness(2) + .setHardness(1) .setResistance(5) .setBlockSound(BlockSounds.GLASS) .build(new BlockSIFluidTank("prototype.fluidTank",config.getInt("BlockIDs.prototypeFluidTank"),Tier.PROTOTYPE,Material.glass)); @@ -336,14 +336,14 @@ public class SignalIndustries implements ModInitializer { public static final Block recipeMaker = new BlockBuilder(MOD_ID) .setTextures("prototype_connection.png") .setLuminance(0) - .setHardness(2) + .setHardness(1) .setResistance(5) .setBlockSound(BlockSounds.STONE) .build(new BlockRecipeMaker("recipeMaker",config.getInt("BlockIDs.recipeMaker"),Material.stone)); public static final Block prototypeExtractor = new BlockBuilder(MOD_ID) - .setHardness(2) + .setHardness(1) .setResistance(3) .setBlockSound(BlockSounds.STONE) .setTextures("prototype_blank.png") @@ -351,7 +351,7 @@ public class SignalIndustries implements ModInitializer { .build(new BlockExtractor("prototype.extractor",config.getInt("BlockIDs.prototypeExtractor"),Tier.PROTOTYPE,Material.stone)); public static final Block basicExtractor = new BlockBuilder(MOD_ID) - .setHardness(2) + .setHardness(1) .setResistance(3) .setBlockSound(BlockSounds.METAL) .setTextures("basic_blank.png") @@ -359,7 +359,7 @@ public class SignalIndustries implements ModInitializer { .build(new BlockExtractor("basic.extractor",config.getInt("BlockIDs.basicExtractor"),Tier.BASIC,Material.metal)); public static final Block prototypeCrusher = new BlockBuilder(MOD_ID) - .setHardness(2) + .setHardness(1) .setResistance(3) .setBlockSound(BlockSounds.STONE) .setTextures("prototype_blank.png") @@ -368,7 +368,7 @@ public class SignalIndustries implements ModInitializer { .build(new BlockCrusher("prototype.crusher",config.getInt("BlockIDs.prototypeCrusher"), Tier.PROTOTYPE,Material.stone)); public static final Block basicCrusher = new BlockBuilder(MOD_ID) - .setHardness(2) + .setHardness(1) .setResistance(3) .setBlockSound(BlockSounds.METAL) .setTextures("basic_blank.png") @@ -377,7 +377,7 @@ public class SignalIndustries implements ModInitializer { .build(new BlockCrusher("basic.crusher",config.getInt("BlockIDs.basicCrusher"), Tier.BASIC,Material.metal)); public static final Block prototypeAlloySmelter = new BlockBuilder(MOD_ID) - .setHardness(2) + .setHardness(1) .setResistance(3) .setBlockSound(BlockSounds.STONE) .setTextures("prototype_blank.png") @@ -385,7 +385,7 @@ public class SignalIndustries implements ModInitializer { .build(new BlockAlloySmelter("prototype.alloySmelter",config.getInt("BlockIDs.prototypeAlloySmelter"), Tier.PROTOTYPE,Material.stone)); public static final Block basicAlloySmelter = new BlockBuilder(MOD_ID) - .setHardness(2) + .setHardness(1) .setResistance(3) .setBlockSound(BlockSounds.METAL) .setTextures("basic_blank.png") @@ -393,7 +393,7 @@ public class SignalIndustries implements ModInitializer { .build(new BlockAlloySmelter("basic.alloySmelter",config.getInt("BlockIDs.basicAlloySmelter"), Tier.BASIC,Material.metal)); public static final Block prototypePlateFormer = new BlockBuilder(MOD_ID) - .setHardness(2) + .setHardness(1) .setResistance(3) .setBlockSound(BlockSounds.STONE) .setTextures("prototype_blank.png") @@ -401,7 +401,7 @@ public class SignalIndustries implements ModInitializer { .build(new BlockPlateFormer("prototype.plateFormer",config.getInt("BlockIDs.prototypePlateFormer"), Tier.PROTOTYPE,Material.stone)); public static final Block prototypeCrystalCutter = new BlockBuilder(MOD_ID) - .setHardness(2) + .setHardness(1) .setResistance(3) .setBlockSound(BlockSounds.STONE) .setTextures("prototype_blank.png") @@ -409,7 +409,7 @@ public class SignalIndustries implements ModInitializer { .build(new BlockCrystalCutter("prototype.crystalCutter",config.getInt("BlockIDs.prototypeCrystalCutter"), Tier.PROTOTYPE,Material.stone)); public static final Block basicCrystalCutter = new BlockBuilder(MOD_ID) - .setHardness(2) + .setHardness(1) .setResistance(3) .setBlockSound(BlockSounds.STONE) .setTextures("basic_blank.png") @@ -417,7 +417,7 @@ public class SignalIndustries implements ModInitializer { .build(new BlockCrystalCutter("basic.crystalCutter",config.getInt("BlockIDs.basicCrystalCutter"), Tier.BASIC,Material.stone)); public static final Block basicCrystalChamber = new BlockBuilder(MOD_ID) - .setHardness(2) + .setHardness(1) .setResistance(3) .setBlockSound(BlockSounds.METAL) .setTextures("basic_blank.png") @@ -425,7 +425,7 @@ public class SignalIndustries implements ModInitializer { .build(new BlockCrystalChamber("basic.crystalChamber",config.getInt("BlockIDs.basicCrystalChamber"), Tier.BASIC,Material.stone)); public static final Block basicInfuser = new BlockBuilder(MOD_ID) - .setHardness(2) + .setHardness(1) .setResistance(3) .setBlockSound(BlockSounds.METAL) .setTextures("basic_blank.png") @@ -433,7 +433,7 @@ public class SignalIndustries implements ModInitializer { .build(new BlockInfuser("basic.infuser",config.getInt("BlockIDs.basicInfuser"), Tier.BASIC,Material.metal)); public static final Block basicWrathBeacon = new BlockBuilder(MOD_ID) - .setHardness(10) + .setHardness(2) .setResistance(500) .setBlockSound(BlockSounds.METAL) .setTextures("basic_blank.png") @@ -444,7 +444,7 @@ public class SignalIndustries implements ModInitializer { public static final int[][] wrathBeaconTex = new int[][]{TextureHelper.getOrCreateBlockTexture(MOD_ID,"wrath_beacon.png"),TextureHelper.getOrCreateBlockTexture(MOD_ID,"wrath_beacon_active.png")}; public static final Block dimensionalAnchor = new BlockBuilder(MOD_ID) - .setHardness(2) + .setHardness(1) .setResistance(3) .setBlockSound(BlockSounds.METAL) .setTextures("reinforced_blank.png") @@ -453,7 +453,7 @@ public class SignalIndustries implements ModInitializer { .build(new BlockDimensionalAnchor("reinforced.dimensionalAnchor",config.getInt("BlockIDs.dimensionalAnchor"), Tier.REINFORCED,Material.metal)); public static final Block dilithiumStabilizer = new BlockBuilder(MOD_ID) - .setHardness(2) + .setHardness(1) .setResistance(3) .setBlockSound(BlockSounds.METAL) .setTextures("reinforced_blank.png") @@ -462,7 +462,7 @@ public class SignalIndustries implements ModInitializer { .build(new BlockDilithiumStabilizer("reinforced.dilithiumStabilizer",config.getInt("BlockIDs.dilithiumStabilizer"), Tier.REINFORCED,Material.metal)); public static final Block dilithiumBooster = new BlockBuilder(MOD_ID) //BlockHelper.createBlock(MOD_ID,new BlockDilithiumBooster("reinforced.dilithiumBooster",config.getInt("BlockIDs.dilithiumBooster"), Tier.REINFORCED,Material.metal),"reinforced_blank.png","reinforced_blank.png","dilithium_top_inactive.png","dilithium_booster_side_inactive.png","dilithium_booster_side_inactive.png","dilithium_booster_side_inactive.png",BlockSounds.METAL,5f,20f,1); - .setHardness(2) + .setHardness(1) .setResistance(3) .setBlockSound(BlockSounds.METAL) .setTextures("reinforced_blank.png") @@ -471,7 +471,7 @@ public class SignalIndustries implements ModInitializer { .build(new BlockDilithiumBooster("reinforced.dilithiumBooster",config.getInt("BlockIDs.dilithiumBooster"), Tier.REINFORCED,Material.metal)); public static final Block prototypePump = new BlockBuilder(MOD_ID) //BlockHelper.createBlock(MOD_ID,new BlockPump("prototype.pump",config.getInt("BlockIDs.prototypePump"), Tier.PROTOTYPE,Material.stone),"prototype_pump_top_empty.png","prototype_blank.png","prototype_pump_side_empty.png","prototype_pump_side_empty.png","prototype_pump_side_empty.png","prototype_pump_side_empty.png",BlockSounds.STONE,2,3,0); - .setHardness(2) + .setHardness(1) .setResistance(3) .setBlockSound(BlockSounds.STONE) .setTextures("prototype_blank.png") @@ -480,7 +480,7 @@ public class SignalIndustries implements ModInitializer { .build(new BlockPump("prototype.pump",config.getInt("BlockIDs.prototypePump"), Tier.PROTOTYPE,Material.stone)); /*public static final Block prototypeBlockBreaker = new BlockBuilder(MOD_ID) - .setHardness(2) + .setHardness(1) .setResistance(3) .setBlockSound(BlockSounds.STONE) .setTextures("prototype_blank.png") @@ -492,21 +492,21 @@ public class SignalIndustries implements ModInitializer { public static final int[][] breakerTex = new int[][]{TextureHelper.getOrCreateBlockTexture(MOD_ID,"prototype_block_breaker.png"),TextureHelper.getOrCreateBlockTexture(MOD_ID,"prototype_block_breaker_active.png"),TextureHelper.getOrCreateBlockTexture(MOD_ID,"prototype_block_breaker_side.png"),TextureHelper.getOrCreateBlockTexture(MOD_ID,"prototype_block_breaker_side_active.png"),TextureHelper.getOrCreateBlockTexture(MOD_ID,"prototype_block_breaker_side_2.png"),TextureHelper.getOrCreateBlockTexture(MOD_ID,"prototype_block_breaker_side_2_active.png"),TextureHelper.getOrCreateBlockTexture(MOD_ID,"inserteroutput.png")}; public static final Block basicAutomaticMiner = new BlockBuilder(MOD_ID) .setBlockSound(BlockSounds.METAL) - .setHardness(2) + .setHardness(1) .setResistance(3) .setTextures("basic_blank.png") .setNorthTexture("basic_automatic_miner.png") .build(new BlockAutoMiner("basic.automaticMiner",config.getInt("BlockIDs.basicAutomaticMiner"),Tier.BASIC,Material.metal)); public static final Block externalIo = new BlockBuilder(MOD_ID) .setBlockSound(BlockSounds.METAL) - .setHardness(2) + .setHardness(1) .setResistance(3) .setTextures("external_io_blank.png") .build(new BlockExternalIO("basic.externalIO",config.getInt("BlockIDs.externalIo"),Tier.BASIC,Material.metal)); public static final Block reinforcedCentrifuge = new BlockBuilder(MOD_ID) .setBlockSound(BlockSounds.METAL) - .setHardness(5) + .setHardness(1) .setResistance(20) .setLuminance(1) .setTextures("reinforced_blank.png") @@ -516,7 +516,7 @@ public class SignalIndustries implements ModInitializer { public static final Block reinforcedIgnitor = new BlockBuilder(MOD_ID) .setBlockSound(BlockSounds.METAL) - .setHardness(5) + .setHardness(1) .setResistance(20) .setLuminance(1) .setSideTextures("reinforced_ignitor_inactive.png") @@ -526,7 +526,7 @@ public class SignalIndustries implements ModInitializer { public static final Block signalumReactorCore = new BlockBuilder(MOD_ID) .setBlockSound(BlockSounds.METAL) - .setHardness(5) + .setHardness(1) .setResistance(20) .setLuminance(1) .setTextures("reinforced_blank.png") @@ -536,7 +536,7 @@ public class SignalIndustries implements ModInitializer { public static final Block reinforcedEnergyConnector = new BlockBuilder(MOD_ID) .setBlockSound(BlockSounds.METAL) - .setHardness(5) + .setHardness(1) .setResistance(20) .setLuminance(1) .setTextures("reinforced_energy_connector.png") @@ -544,7 +544,7 @@ public class SignalIndustries implements ModInitializer { public static final Block reinforcedFluidInputHatch = new BlockBuilder(MOD_ID) .setBlockSound(BlockSounds.METAL) - .setHardness(5) + .setHardness(1) .setResistance(20) .setLuminance(0) .setTextures("reinforced_fluid_input_hatch.png") @@ -552,7 +552,7 @@ public class SignalIndustries implements ModInitializer { public static final Block reinforcedFluidOutputHatch = new BlockBuilder(MOD_ID) .setBlockSound(BlockSounds.METAL) - .setHardness(5) + .setHardness(1) .setResistance(20) .setLuminance(0) .setTextures("reinforced_fluid_output_hatch.png") @@ -560,7 +560,7 @@ public class SignalIndustries implements ModInitializer { public static final Block reinforcedItemInputBus = new BlockBuilder(MOD_ID) .setBlockSound(BlockSounds.METAL) - .setHardness(5) + .setHardness(1) .setResistance(20) .setLuminance(0) .setTextures("reinforced_input_bus.png") @@ -568,7 +568,7 @@ public class SignalIndustries implements ModInitializer { public static final Block reinforcedItemOutputBus = new BlockBuilder(MOD_ID) .setBlockSound(BlockSounds.METAL) - .setHardness(5) + .setHardness(1) .setResistance(20) .setLuminance(0) .setTextures("reinforced_output_bus.png") @@ -576,7 +576,7 @@ public class SignalIndustries implements ModInitializer { public static final Block basicEnergyInjector = new BlockBuilder(MOD_ID) .setBlockSound(BlockSounds.METAL) - .setHardness(5) + .setHardness(1) .setResistance(20) .setLuminance(0) .setBlockModel(new BlockModelDragonFly(ModelHelper.getOrCreateBlockModel(MOD_ID,"basic_energy_injector.json"))) @@ -585,7 +585,7 @@ public class SignalIndustries implements ModInitializer { public static final Block basicSignalumDynamo = new BlockBuilder(MOD_ID) .setBlockSound(BlockSounds.METAL) - .setHardness(5) + .setHardness(1) .setResistance(20) .setLuminance(0) .setBlockModel(new BlockModelDragonFly(ModelHelper.getOrCreateBlockModel(MOD_ID,"signalum_dynamo.json"))) @@ -696,7 +696,7 @@ public class SignalIndustries implements ModInitializer { public static final Block glowingObsidian = new BlockBuilder(MOD_ID) .setTextures("glowing_obsidian.png") .setBlockSound(BlockSounds.STONE) - .setHardness(50) + .setHardness(2) .setResistance(1200) .setLuminance(1) .build(new Block("glowingObsidian",config.getInt("BlockIDs.glowingObsidian"),Material.stone));