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