fix chest materials
This commit is contained in:
parent
2eda9771ad
commit
0a95fbaaad
1 changed files with 2 additions and 2 deletions
|
@ -52,14 +52,14 @@ public class BlockChest extends Block implements ITileEntityProvider, Rotatable
|
|||
|
||||
public BlockChest(int width, int height)
|
||||
{
|
||||
super(Material.WOOD);
|
||||
super(width == 9 && height == 3 ? Material.WOOD : Material.SOLID);
|
||||
this.setDefaultState(this.getBaseState().withProperty(FACING, Facing.NORTH).withProperty(OPEN, false));
|
||||
this.width = width;
|
||||
this.height = height;
|
||||
this.setTab(CheatTab.TECHNOLOGY);
|
||||
this.setBlockBounds(0.0625F, 0.0F, 0.0625F, 0.9375F, 0.875F, 0.9375F);
|
||||
this.setHardness(2.5F);
|
||||
this.setSound(SoundType.WOOD);
|
||||
this.setSound(width == 9 && height == 3 ? SoundType.WOOD : SoundType.STONE);
|
||||
CHESTS.put(this.width * this.height, this);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue