Raspberry Bush, New GUI Handling system and Ore Dictionary. 


![2013-05-07_16 07 14](https://f.cloud.github.com/assets/3749465/489566/bf8e3490-b99f-11e2-80c6-7b32dbf65f4f.png)

There wasn't a way to get the raspberries without creative mode, so I thought I can easily implement that. It grows properly and works with bonemeal. It can be harvested for 1-4 raspberries. Now It only needs to generate naturally.

I've also improved the GUI Handling system, all the if statements looked a little messy. So I thought I can make a better, modular GUI Handling system. This is my idea.
Now you have to implement the interface IGuiTile in the TileEntity:

   public class TileEntityLogger extends TileEntity implements IInventory, IGuiTile {

And then you just need a couple of methods:

   	@Override
	public Container getContainer(World world, int x, int y, int z,
			EntityPlayer player) {
		TileEntity tile = world.getBlockTileEntity(x, y, z);
		
		if (tile instanceof TileEntityLogger) {
			return new ContainerLogger((TileEntityLogger) tile,
					player.inventory);
		}
		return null;
	}

	@Override
	public GuiContainer getGuiContainer(World world, int x, int y, int z,
			EntityPlayer player) {
		TileEntity tile = world.getBlockTileEntity(x, y, z);
		
		if (tile instanceof TileEntityLogger) {
			return new GuiLogger((TileEntityLogger) tile,
					player.inventory);
		}
		return null;
	}

Then you need to register the IGuiTile to the GuiHandler

    GuiHanlder.registerGuiTile((IGuiTile)new TileEntityLogger());

And it's done, should work properly.

I've also started to register some of the metals ingots and ores to the Forge Ore Dictionary.