The great format and clean up. IMPORTANT: Read below.

All devs and contributors should use the provided formatter settings. 
If your IDE does not support the format, the rules are simple, it is the
default java formatting rules, with 200char line lengths and 1 extra
line after class definitions.
This commit is contained in:
tterrag1098 committed 2015-01-07 19:50:18 -05:00
1 parent 06c5f5930f
commit 82792ed22e
136 files changed
+10365 -11272

No files matched your search

@@ -5,58 +5,51 @@ import net.minecraft.block.material.Material;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.util.IIcon;
public class BlockTexturedOre extends Block
{
int currentPass;
Block base;
IIcon icon;
String iconFile;
public class BlockTexturedOre extends Block {
public BlockTexturedOre(Material mat, Block base)
{
super(mat);
int currentPass;
Block base;
IIcon icon;
String iconFile;
this.base = base;
}
public BlockTexturedOre(Material mat, Block base) {
super(mat);
public BlockTexturedOre(Material mat, String iconFile)
{
super(mat);
this.base = base;
}
this.iconFile = iconFile;
}
public BlockTexturedOre(Material mat, String iconFile) {
super(mat);
@Override
public boolean renderAsNormalBlock()
{
return false;
}
this.iconFile = iconFile;
}
@Override
public int getRenderType()
{
return BlockTexturedOreRenderer.id;
}
@Override
public boolean renderAsNormalBlock() {
return false;
}
@Override
public int getRenderBlockPass()
{
return 1;
}
@Override
public int getRenderType() {
return BlockTexturedOreRenderer.id;
}
@Override
public boolean canRenderInPass(int pass)
{
currentPass = pass;
@Override
public int getRenderBlockPass() {
return 1;
}
return pass == 1 || pass == 0;
}
@Override
public boolean canRenderInPass(int pass) {
currentPass = pass;
@Override
public void registerBlockIcons(IIconRegister register)
{
if(iconFile != null)
icon = register.registerIcon(iconFile);
}
return pass == 1 || pass == 0;
}
@Override
public void registerBlockIcons(IIconRegister register) {
if (iconFile != null)
icon = register.registerIcon(iconFile);
}
}