Add some hardness to more blocks, Fixes #1779

This commit is contained in:
modmuss50 2019-08-13 16:28:21 +01:00
parent eca7aaa34f
commit 442dfde50f
3 changed files with 3 additions and 3 deletions

View file

@ -61,7 +61,7 @@ public class BlockLamp extends BaseBlockEntityProvider {
private int brightness;
public BlockLamp(int brightness, int cost, double depth, double width) {
super(Block.Settings.of(Material.REDSTONE_LAMP));
super(Block.Settings.of(Material.REDSTONE_LAMP).strength(2f, 2f));
this.setDefaultState(this.stateFactory.getDefaultState().with(FACING, Direction.NORTH).with(ACTIVE, false));
this.shape = GenCuboidShapes(depth, width);
this.cost = cost;