Skip to content

Commit

Permalink
Adjust hardness levels of blocks (they mine quicker now)
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinSVK12 committed Dec 13, 2023
1 parent a6416e2 commit dc9f291
Showing 1 changed file with 36 additions and 36 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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));

Expand All @@ -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));

Expand Down Expand Up @@ -310,15 +310,15 @@ 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));

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));
Expand All @@ -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));
Expand All @@ -336,30 +336,30 @@ 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")
.setSideTextures("extractor_prototype_side_empty.png")
.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")
.setSideTextures("extractor_basic_side_empty.png")
.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")
Expand All @@ -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")
Expand All @@ -377,63 +377,63 @@ 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")
.setNorthTexture("alloy_smelter_prototype_inactive.png")
.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")
.setNorthTexture("alloy_smelter_basic_inactive.png")
.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")
.setNorthTexture("plate_former_prototype_inactive.png")
.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")
.setNorthTexture("crystal_cutter_prototype_inactive.png")
.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")
.setNorthTexture("crystal_cutter_basic_inactive.png")
.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")
.setNorthTexture("basic_crystal_chamber_side_inactive.png")
.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")
.setSideTextures("infuser_basic_side_inactive.png")
.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")
Expand All @@ -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")
Expand All @@ -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")
Expand All @@ -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")
Expand All @@ -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")
Expand All @@ -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")
Expand All @@ -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")
Expand All @@ -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")
Expand All @@ -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")
Expand All @@ -536,47 +536,47 @@ 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")
.build(new BlockEnergyConnector("reinforced.energyConnector",config.getInt("BlockIDs.reinforcedEnergyConnector"),Tier.REINFORCED,Material.metal));

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")
.build(new BlockFluidInputHatch("reinforced.fluidInputHatch",config.getInt("BlockIDs.reinforcedFluidInputHatch"),Tier.REINFORCED,Material.metal));

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")
.build(new BlockFluidOutputHatch("reinforced.fluidOutputHatch",config.getInt("BlockIDs.reinforcedFluidOutputHatch"),Tier.REINFORCED,Material.metal));

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")
.build(new BlockInputBus("reinforced.itemInputBus",config.getInt("BlockIDs.reinforcedItemInputBus"),Tier.REINFORCED,Material.metal));

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")
.build(new BlockOutputBus("reinforced.itemOutputBus",config.getInt("BlockIDs.reinforcedItemOutputBus"),Tier.REINFORCED,Material.metal));

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")))
Expand All @@ -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")))
Expand Down Expand Up @@ -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));
Expand Down

0 comments on commit dc9f291

Please sign in to comment.