Upload my Code Changes/Format/imports

This commit is contained in:
Alexander committed 2014-02-16 14:23:50 -05:00
1 parent 5bcdb7ca46
commit 5d4e38c0cb
264 files changed
+4014 -3972

No files matched your search

@@ -73,7 +73,7 @@ public class SlimeGel extends TConstructBlock
{
par3List.add(new ItemStack(b, 1, 0));
par3List.add(new ItemStack(b, 1, 1));
//par3List.add(new ItemStack(par1, 1, 2));
// par3List.add(new ItemStack(par1, 1, 2));
}
public boolean canSustainLeaves (World world, int x, int y, int z)
@@ -24,7 +24,8 @@ import cpw.mods.fml.relauncher.SideOnly;
public class SlimeGrass extends MantleBlock
{
public String[] textureNames = { "slimegrass_green_top", "slimedirt_blue", "slimegrass_green_blue_side", "slimegrass_green_dirt_side" };//green, purple
public String[] textureNames = { "slimegrass_green_top", "slimedirt_blue", "slimegrass_green_blue_side", "slimegrass_green_dirt_side" };// green,
// purple
public IIcon[] icons;
public SlimeGrass()
@@ -38,11 +39,11 @@ public class SlimeGrass extends MantleBlock
@Override
public int damageDropped (int meta)
{
if (meta == 1) //dirt
if (meta == 1) // dirt
return 0;
else
//slime dirt
// slime dirt
return 5;
}
@@ -103,7 +103,8 @@ public class SlimeLeaves extends BlockLeaves
}
/**
* Drops the block items with a specified chance of dropping the specified items
* Drops the block items with a specified chance of dropping the specified
* items
*/
public void dropBlockAsItemWithChance (World world, int x, int y, int z, int meta, float chance, int fortune)
{
@@ -111,10 +112,9 @@ public class SlimeLeaves extends BlockLeaves
{
int dropChance = 35;
/*if ((meta & 3) == 3)
{
j1 = 40;
}*/
/*
* if ((meta & 3) == 3) { j1 = 40; }
*/
if (fortune > 0)
{
@@ -39,10 +39,9 @@ public class SlimeTallGrass extends BlockBush implements IShearable
*/
public IIcon getIcon (int side, int meta)
{
/*if (meta >= this.iconArray.length)
{
meta = 0;
}*/
/*
* if (meta >= this.iconArray.length) { meta = 0; }
*/
return this.iconArray[meta];
}
@@ -56,7 +55,8 @@ public class SlimeTallGrass extends BlockBush implements IShearable
}
/**
* Returns the usual quantity dropped by the block plus a bonus of 1 to 'i' (inclusive).
* Returns the usual quantity dropped by the block plus a bonus of 1 to 'i'
* (inclusive).
*/
public int quantityDroppedWithBonus (int par1, Random par2Random)
{