mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-15 10:21:45 -04:00
Cleanup.
This commit is contained in:
parent
3625626fe5
commit
a906759283
@ -1,7 +1,6 @@
|
||||
package li.cil.oc.client.renderer.block
|
||||
|
||||
import cpw.mods.fml.client.registry.ISimpleBlockRenderingHandler
|
||||
import cpw.mods.fml.common.Loader
|
||||
import li.cil.oc.Settings
|
||||
import li.cil.oc.client.renderer.tileentity.RobotRenderer
|
||||
import li.cil.oc.common.block._
|
||||
@ -141,8 +140,6 @@ object BlockRenderer extends ISimpleBlockRenderingHandler {
|
||||
}
|
||||
}
|
||||
|
||||
val isOneSevenTwo = Loader.instance.getMinecraftModContainer.getVersion == "1.7.2"
|
||||
|
||||
// I can't be bothered to adjust the screen rendering logic... so special case ahoy.
|
||||
def patchedRenderer(renderer: RenderBlocks, block: Block) = if (!block.isInstanceOf[Screen]) {
|
||||
PatchedRenderBlocks.blockAccess = renderer.blockAccess
|
||||
|
@ -22,6 +22,7 @@ import scala.reflect.ClassTag
|
||||
|
||||
class Print(protected implicit val tileTag: ClassTag[tileentity.Print]) extends RedstoneAware with traits.SpecialBlock with traits.CustomDrops[tileentity.Print] {
|
||||
setLightOpacity(0)
|
||||
setHardness(1)
|
||||
setCreativeTab(null)
|
||||
NEI.hide(this)
|
||||
setBlockTextureName(Settings.resourceDomain + "GenericTop")
|
||||
|
@ -27,6 +27,7 @@ import net.minecraftforge.common.util.ForgeDirection
|
||||
|
||||
class SimpleBlock(material: Material = Material.iron) extends Block(material) {
|
||||
setHardness(2f)
|
||||
setResistance(5)
|
||||
setCreativeTab(CreativeTab)
|
||||
|
||||
var showInItemList = true
|
||||
|
Loading…
x
Reference in New Issue
Block a user