get rid of some orphaned classes

This commit is contained in:
Progwml6 committed 2013-12-31 16:56:55 -05:00
1 parent 3c23d27cf7
commit b9cdef8209
11 files changed
+16 -1976

No files matched your search

@@ -4,12 +4,13 @@ import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import net.minecraft.block.Block;
import net.minecraft.block.BlockFlower;
import net.minecraft.block.material.Material;
import net.minecraft.client.renderer.texture.IconRegister;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.item.ItemStack;
import net.minecraft.util.Icon;
import net.minecraft.util.IIcon;
import net.minecraft.world.World;
import net.minecraftforge.common.ForgeHooks;
import net.minecraftforge.common.IShearable;
@@ -21,11 +22,11 @@ public class SlimeTallGrass extends BlockFlower implements IShearable
{
private static final String[] grassTypes = new String[] { "slimegrass_blue_tall" };
@SideOnly(Side.CLIENT)
private Icon[] iconArray;
private IIcon[] iconArray;
public SlimeTallGrass(int par1)
public SlimeTallGrass()
{
super(par1, Material.vine);
super(Material.vine);
float f = 0.4F;
this.setBlockBounds(0.5F - f, 0.0F, 0.5F - f, 0.5F + f, 0.8F, 0.5F + f);
setCreativeTab(TConstructRegistry.blockTab);
@@ -35,7 +36,7 @@ public class SlimeTallGrass extends BlockFlower implements IShearable
/**
* From the specified side and block metadata retrieves the blocks texture. Args: side, metadata
*/
public Icon getIcon (int side, int meta)
public IIcon getIcon (int side, int meta)
{
/*if (meta >= this.iconArray.length)
{
@@ -73,11 +74,11 @@ public class SlimeTallGrass extends BlockFlower implements IShearable
/**
* returns a list of blocks with the same ID, but different meta (eg: wood returns 4 blocks)
*/
public void getSubBlocks (int par1, CreativeTabs par2CreativeTabs, List par3List)
public void getSubBlocks (Block b, CreativeTabs par2CreativeTabs, List par3List)
{
for (int j = 0; j < 1; ++j)
{
par3List.add(new ItemStack(par1, 1, j));
par3List.add(new ItemStack(b, 1, j));
}
}
@@ -86,9 +87,9 @@ public class SlimeTallGrass extends BlockFlower implements IShearable
* When this method is called, your block should register all the icons it needs with the given IconRegister. This
* is the only chance you get to register icons.
*/
public void registerIcons (IconRegister par1IconRegister)
public void registerIcons (IIconRegister par1IconRegister)
{
this.iconArray = new Icon[grassTypes.length];
this.iconArray = new IIcon[grassTypes.length];
for (int i = 0; i < this.iconArray.length; ++i)
{