add "out" to gitignore seems to be used by idea run environement. Add BlockRenderType to Firebox block class.

This commit is contained in:
srw
2016-12-02 21:23:25 -08:00
parent eba9d565d9
commit bf23fa29f7
2 changed files with 8 additions and 0 deletions

1
.gitignore vendored
View File

@@ -20,3 +20,4 @@ build
# other
eclipse
run
out

View File

@@ -12,6 +12,7 @@ import net.minecraft.inventory.InventoryHelper;
import net.minecraft.item.ItemStack;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.tileentity.TileEntityFurnace;
import net.minecraft.util.EnumBlockRenderType;
import net.minecraft.util.EnumFacing;
import net.minecraft.util.EnumHand;
import net.minecraft.util.math.BlockPos;
@@ -121,6 +122,12 @@ public class Firebox extends BlockContainer implements ITileEntityProvider {
{
return true;
}
@Override
public EnumBlockRenderType getRenderType(IBlockState state)
{
return EnumBlockRenderType.MODEL;
}
}
/*