
Untitled
By: a guest on
May 5th, 2012 | syntax:
None | size: 0.52 KB | hits: 12 | expires: Never
Block.blocksList[18] = null;
Item.itemsList[18] = null;
Block foliage = (BlockFoliage)(new BlockFoliage(18, 52)).setHardness(0.2F).setLightOpacity(1).setStepSound(Block.soundGrassFootstep).setBlockName("leaves");
ModLoader.RegisterBlock(foliage);
try
{
ModLoader.setPrivateValue(Block.class, null, "L", foliage);
} catch (Throwable gg)
{
System.err.println(gg);
try
{
ModLoader.setPrivateValue(Block.class, null, "leaves", foliage);
} catch (Throwable hh)
{
System.err.println(hh);
}
}