mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 14:24:35 +00:00
<1000 errors
This commit is contained in:
1 parent
c6a09b5658
commit
af008b9395
99 files changed
+470
-484
No files matched your search
@@ -7,6 +7,7 @@ import mekanism.common.block.states.BlockStateOre;
|
||||
import mekanism.common.block.states.BlockStateOre.EnumOreType;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.block.state.BlockStateContainer;
|
||||
import net.minecraft.block.state.IBlockState;
|
||||
import net.minecraft.creativetab.CreativeTabs;
|
||||
import net.minecraft.item.Item;
|
||||
@@ -26,14 +27,14 @@ public class BlockOre extends Block
|
||||
{
|
||||
public BlockOre()
|
||||
{
|
||||
super(Material.rock);
|
||||
super(Material.ROCK);
|
||||
setHardness(3F);
|
||||
setResistance(5F);
|
||||
setCreativeTab(Mekanism.tabMekanism);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected BlockState createBlockState()
|
||||
protected BlockStateContainer createBlockState()
|
||||
{
|
||||
return new BlockStateOre(this);
|
||||
}
|
||||
@@ -41,7 +42,7 @@ public class BlockOre extends Block
|
||||
@Override
|
||||
public IBlockState getStateFromMeta(int meta)
|
||||
{
|
||||
return this.getDefaultState().withProperty(BlockStateOre.typeProperty, EnumOreType.values()[meta]);
|
||||
return getDefaultState().withProperty(BlockStateOre.typeProperty, EnumOreType.values()[meta]);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user