mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-22 07:13:28 +01:00
Changed Hardness Settings of the Blocks
This commit is contained in:
parent
c1eeebd50b
commit
14dea930a0
27 changed files with 51 additions and 23 deletions
|
@ -35,7 +35,8 @@ public class BlockBreaker extends BlockContainerBase implements INameableItem{
|
|||
super(Material.rock);
|
||||
this.isPlacer = isPlacer;
|
||||
this.setHarvestLevel("pickaxe", 0);
|
||||
this.setHardness(1.0F);
|
||||
this.setHardness(1.5F);
|
||||
this.setResistance(10.0F);
|
||||
this.setStepSound(soundTypeStone);
|
||||
}
|
||||
|
||||
|
|
|
@ -28,7 +28,8 @@ public class BlockCanolaPress extends BlockContainerBase implements INameableIte
|
|||
public BlockCanolaPress(){
|
||||
super(Material.rock);
|
||||
this.setHarvestLevel("pickaxe", 0);
|
||||
this.setHardness(1.0F);
|
||||
this.setHardness(1.5F);
|
||||
this.setResistance(10.0F);
|
||||
this.setStepSound(soundTypeStone);
|
||||
}
|
||||
|
||||
|
|
|
@ -30,7 +30,8 @@ public class BlockCoalGenerator extends BlockContainerBase implements INameableI
|
|||
public BlockCoalGenerator(){
|
||||
super(Material.rock);
|
||||
this.setHarvestLevel("pickaxe", 0);
|
||||
this.setHardness(1.0F);
|
||||
this.setHardness(1.5F);
|
||||
this.setResistance(10.0F);
|
||||
this.setStepSound(soundTypeStone);
|
||||
this.setTickRandomly(true);
|
||||
}
|
||||
|
|
|
@ -29,7 +29,8 @@ public class BlockCoffeeMachine extends BlockContainerBase implements INameableI
|
|||
public BlockCoffeeMachine(){
|
||||
super(Material.rock);
|
||||
this.setHarvestLevel("pickaxe", 0);
|
||||
this.setHardness(1.0F);
|
||||
this.setHardness(1.5F);
|
||||
this.setResistance(10.0F);
|
||||
this.setStepSound(soundTypeStone);
|
||||
|
||||
float f = 1/16F;
|
||||
|
|
|
@ -36,6 +36,7 @@ public class BlockColoredLamp extends Block implements INameableItem{
|
|||
super(Material.redstoneLight);
|
||||
this.setHarvestLevel("pickaxe", 0);
|
||||
this.setHardness(0.5F);
|
||||
this.setResistance(3.0F);
|
||||
this.isOn = isOn;
|
||||
}
|
||||
|
||||
|
|
|
@ -31,7 +31,8 @@ public class BlockCompost extends BlockContainerBase implements INameableItem{
|
|||
public BlockCompost(){
|
||||
super(Material.wood);
|
||||
this.setHarvestLevel("axe", 0);
|
||||
this.setHardness(1.0F);
|
||||
this.setHardness(0.5F);
|
||||
this.setResistance(5.0F);
|
||||
this.setStepSound(soundTypeWood);
|
||||
|
||||
this.setBlockBoundsForItemRender();
|
||||
|
|
|
@ -32,7 +32,8 @@ public class BlockDropper extends BlockContainerBase implements INameableItem{
|
|||
public BlockDropper(){
|
||||
super(Material.rock);
|
||||
this.setHarvestLevel("pickaxe", 0);
|
||||
this.setHardness(1.0F);
|
||||
this.setHardness(1.5F);
|
||||
this.setResistance(10.0F);
|
||||
this.setStepSound(soundTypeStone);
|
||||
}
|
||||
|
||||
|
|
|
@ -33,6 +33,7 @@ public class BlockEnergizer extends BlockContainerBase implements INameableItem{
|
|||
this.isEnergizer = isEnergizer;
|
||||
this.setHarvestLevel("pickaxe", 0);
|
||||
this.setHardness(2.0F);
|
||||
this.setResistance(10.0F);
|
||||
this.setStepSound(soundTypeStone);
|
||||
}
|
||||
|
||||
|
|
|
@ -28,7 +28,8 @@ public class BlockFeeder extends BlockContainerBase implements INameableItem{
|
|||
public BlockFeeder(){
|
||||
super(Material.rock);
|
||||
this.setHarvestLevel("pickaxe", 0);
|
||||
this.setHardness(1.0F);
|
||||
this.setHardness(0.5F);
|
||||
this.setResistance(6.0F);
|
||||
this.setStepSound(soundTypeStone);
|
||||
}
|
||||
|
||||
|
|
|
@ -28,7 +28,8 @@ public class BlockFermentingBarrel extends BlockContainerBase implements INameab
|
|||
public BlockFermentingBarrel(){
|
||||
super(Material.wood);
|
||||
this.setHarvestLevel("axe", 0);
|
||||
this.setHardness(1.0F);
|
||||
this.setHardness(0.5F);
|
||||
this.setResistance(5.0F);
|
||||
this.setStepSound(soundTypeWood);
|
||||
}
|
||||
|
||||
|
|
|
@ -25,7 +25,8 @@ public class BlockFishingNet extends BlockContainerBase implements INameableItem
|
|||
public BlockFishingNet(){
|
||||
super(Material.wood);
|
||||
this.setHarvestLevel("axe", 0);
|
||||
this.setHardness(1.0F);
|
||||
this.setHardness(0.5F);
|
||||
this.setResistance(3.0F);
|
||||
this.setStepSound(soundTypeWood);
|
||||
this.setBlockBounds(0F, 0F, 0F, 1F, 1F/16F, 1F);
|
||||
}
|
||||
|
|
|
@ -35,7 +35,8 @@ public class BlockFluidCollector extends BlockContainerBase implements INameable
|
|||
super(Material.rock);
|
||||
this.isPlacer = isPlacer;
|
||||
this.setHarvestLevel("pickaxe", 0);
|
||||
this.setHardness(1.0F);
|
||||
this.setHardness(1.5F);
|
||||
this.setResistance(10.0F);
|
||||
this.setStepSound(soundTypeStone);
|
||||
}
|
||||
|
||||
|
|
|
@ -35,7 +35,8 @@ public class BlockFurnaceDouble extends BlockContainerBase implements INameableI
|
|||
public BlockFurnaceDouble(){
|
||||
super(Material.rock);
|
||||
this.setHarvestLevel("pickaxe", 0);
|
||||
this.setHardness(1.0F);
|
||||
this.setHardness(1.5F);
|
||||
this.setResistance(10.0F);
|
||||
this.setStepSound(soundTypeStone);
|
||||
this.setTickRandomly(true);
|
||||
}
|
||||
|
|
|
@ -25,7 +25,8 @@ public class BlockFurnaceSolar extends BlockContainerBase implements INameableIt
|
|||
public BlockFurnaceSolar(){
|
||||
super(Material.rock);
|
||||
this.setHarvestLevel("pickaxe", 0);
|
||||
this.setHardness(1.0F);
|
||||
this.setHardness(1.5F);
|
||||
this.setResistance(10.0F);
|
||||
this.setStepSound(soundTypeStone);
|
||||
this.setBlockBounds(0F, 0F, 0F, 1F, 3F/16F, 1F);
|
||||
}
|
||||
|
|
|
@ -24,7 +24,8 @@ public class BlockGeneric extends Block implements INameableItem{
|
|||
super(Material.rock);
|
||||
this.name = name;
|
||||
this.setHarvestLevel("pickaxe", 0);
|
||||
this.setHardness(1.0F);
|
||||
this.setHardness(1.5F);
|
||||
this.setResistance(10.0F);
|
||||
this.setStepSound(soundTypeStone);
|
||||
}
|
||||
|
||||
|
|
|
@ -29,7 +29,8 @@ public class BlockGiantChest extends BlockContainerBase implements INameableItem
|
|||
public BlockGiantChest(){
|
||||
super(Material.wood);
|
||||
this.setHarvestLevel("axe", 0);
|
||||
this.setHardness(1.0F);
|
||||
this.setHardness(0.5F);
|
||||
this.setResistance(15.0F);
|
||||
this.setStepSound(soundTypeWood);
|
||||
}
|
||||
|
||||
|
|
|
@ -26,7 +26,8 @@ public class BlockGreenhouseGlass extends BlockContainerBase implements INameabl
|
|||
public BlockGreenhouseGlass(){
|
||||
super(Material.rock);
|
||||
this.setHarvestLevel("pickaxe", 0);
|
||||
this.setHardness(1.0F);
|
||||
this.setHardness(0.5F);
|
||||
this.setResistance(10.0F);
|
||||
this.setStepSound(soundTypeStone);
|
||||
}
|
||||
|
||||
|
|
|
@ -36,7 +36,8 @@ public class BlockGrinder extends BlockContainerBase implements INameableItem{
|
|||
super(Material.rock);
|
||||
this.isDouble = isDouble;
|
||||
this.setHarvestLevel("pickaxe", 0);
|
||||
this.setHardness(1.0F);
|
||||
this.setHardness(1.5F);
|
||||
this.setResistance(10.0F);
|
||||
this.setStepSound(soundTypeStone);
|
||||
this.setTickRandomly(true);
|
||||
}
|
||||
|
|
|
@ -27,7 +27,8 @@ public class BlockHeatCollector extends BlockContainerBase implements INameableI
|
|||
public BlockHeatCollector(){
|
||||
super(Material.rock);
|
||||
this.setHarvestLevel("pickaxe", 0);
|
||||
this.setHardness(1.0F);
|
||||
this.setHardness(2.5F);
|
||||
this.setResistance(10.0F);
|
||||
this.setStepSound(soundTypeStone);
|
||||
}
|
||||
|
||||
|
|
|
@ -30,7 +30,8 @@ public class BlockInputter extends BlockContainerBase implements INameableItem{
|
|||
public BlockInputter(boolean isAdvanced){
|
||||
super(Material.rock);
|
||||
this.setHarvestLevel("pickaxe", 0);
|
||||
this.setHardness(1.0F);
|
||||
this.setHardness(1.5F);
|
||||
this.setResistance(10.0F);
|
||||
this.setStepSound(soundTypeStone);
|
||||
this.setTickRandomly(true);
|
||||
this.isAdvanced = isAdvanced;
|
||||
|
|
|
@ -30,7 +30,8 @@ public class BlockItemRepairer extends BlockContainerBase implements INameableIt
|
|||
public BlockItemRepairer(){
|
||||
super(Material.rock);
|
||||
this.setHarvestLevel("pickaxe", 0);
|
||||
this.setHardness(1.0F);
|
||||
this.setHardness(20.0F);
|
||||
this.setResistance(15.0F);
|
||||
this.setStepSound(soundTypeStone);
|
||||
this.setTickRandomly(true);
|
||||
}
|
||||
|
|
|
@ -29,7 +29,8 @@ public class BlockLavaFactoryController extends BlockContainerBase implements IN
|
|||
public BlockLavaFactoryController(){
|
||||
super(Material.rock);
|
||||
this.setHarvestLevel("pickaxe", 0);
|
||||
this.setHardness(1.0F);
|
||||
this.setHardness(4.5F);
|
||||
this.setResistance(20.0F);
|
||||
this.setStepSound(soundTypeStone);
|
||||
}
|
||||
|
||||
|
|
|
@ -27,6 +27,7 @@ public class BlockMisc extends Block implements INameableItem{
|
|||
public BlockMisc(){
|
||||
super(Material.rock);
|
||||
this.setHardness(1.5F);
|
||||
this.setResistance(10.0F);
|
||||
this.setHarvestLevel("pickaxe", 1);
|
||||
}
|
||||
|
||||
|
|
|
@ -30,7 +30,8 @@ public class BlockOilGenerator extends BlockContainerBase implements INameableIt
|
|||
public BlockOilGenerator(){
|
||||
super(Material.rock);
|
||||
this.setHarvestLevel("pickaxe", 0);
|
||||
this.setHardness(1.0F);
|
||||
this.setHardness(1.5F);
|
||||
this.setResistance(10.0F);
|
||||
this.setStepSound(soundTypeStone);
|
||||
this.setTickRandomly(true);
|
||||
}
|
||||
|
|
|
@ -25,7 +25,8 @@ public class BlockPhantomBooster extends BlockContainerBase implements INameable
|
|||
public BlockPhantomBooster(){
|
||||
super(Material.rock);
|
||||
this.setHarvestLevel("pickaxe", 0);
|
||||
this.setHardness(1.0F);
|
||||
this.setHardness(1.5F);
|
||||
this.setResistance(10.0F);
|
||||
this.setStepSound(soundTypeStone);
|
||||
|
||||
float f = 1F/16F;
|
||||
|
|
|
@ -38,7 +38,8 @@ public class BlockPhantomface extends BlockContainerBase implements INameableIte
|
|||
super(Material.rock);
|
||||
this.type = type;
|
||||
this.setHarvestLevel("pickaxe", 0);
|
||||
this.setHardness(1.0F);
|
||||
this.setHardness(4.5F);
|
||||
this.setResistance(10.0F);
|
||||
this.setStepSound(soundTypeStone);
|
||||
|
||||
if(type == FACE || type == LIQUIFACE || type == ENERGYFACE) this.range = ConfigIntValues.PHANTOMFACE_RANGE.getValue();
|
||||
|
|
|
@ -26,6 +26,8 @@ public class BlockSlabs extends Block implements INameableItem{
|
|||
|
||||
public BlockSlabs(String name, Block fullBlock){
|
||||
super(Material.rock);
|
||||
this.setHardness(1.5F);
|
||||
this.setResistance(10.0F);
|
||||
this.fullBlock = fullBlock;
|
||||
this.name = name;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue