Fixed door sound type
This commit is contained in:
parent
27bc50ca78
commit
f3a0aad4a4
1 changed files with 2 additions and 0 deletions
|
@ -14,6 +14,7 @@ import java.util.Random;
|
||||||
|
|
||||||
import biomesoplenty.common.enums.BOPWoods;
|
import biomesoplenty.common.enums.BOPWoods;
|
||||||
import net.minecraft.block.BlockDoor;
|
import net.minecraft.block.BlockDoor;
|
||||||
|
import net.minecraft.block.SoundType;
|
||||||
import net.minecraft.block.material.Material;
|
import net.minecraft.block.material.Material;
|
||||||
import net.minecraft.block.properties.IProperty;
|
import net.minecraft.block.properties.IProperty;
|
||||||
import net.minecraft.block.state.IBlockState;
|
import net.minecraft.block.state.IBlockState;
|
||||||
|
@ -71,6 +72,7 @@ public class BlockBOPDoor extends BlockDoor implements IBOPBlock
|
||||||
super(Material.WOOD);
|
super(Material.WOOD);
|
||||||
this.setHardness(3.0F);
|
this.setHardness(3.0F);
|
||||||
this.setHarvestLevel("axe", 0);
|
this.setHarvestLevel("axe", 0);
|
||||||
|
this.setSoundType(SoundType.WOOD);
|
||||||
|
|
||||||
this.wood = wood;
|
this.wood = wood;
|
||||||
variantToBlock.put(wood, this);
|
variantToBlock.put(wood, this);
|
||||||
|
|
Loading…
Reference in a new issue