public void render()
	{
		Render.drawImage(block.getImage(), (int) x - (int) Main.sX - 3, (int) y - (int) Main.sY - 2);
		if(light != null)
		{
			if(light.getR() != -1 && light.getB() != -1 && light.getG() != -1) Render.setColor(light.getR(), light.getG(), light.getB(), light.getAlpha());
			else Render.setColor(light.getBrightness(), light.getBrightness(), light.getBrightness(), light.getAlpha());
		}
		Render.fillRect((int) x - (int) Main.sX - 3, (int) y - (int) Main.sY - 2, Tile.tileSize, Tile.tileSize);
		if(Options.BLOCK_BORDERS)
		{
			Render.setColor(0x000000);
			if(Main.world.getBlockID((int)(x / Tile.tileSize), (int)(y / Tile.tileSize) - 1) == 0) Render.drawLine((int)x - (int)Main.sX - 3, (int)y - (int)Main.sY - 3, (int)x - (int)Main.sX + (Tile.tileSize - 1) - 3, (int)y - (int)Main.sY - 3);
			if(Main.world.getBlockID((int)(x / Tile.tileSize) + 1, (int)(y / Tile.tileSize)) == 0) Render.drawLine((int)x - (int)Main.sX + (Tile.tileSize - 1) - 2, (int)y - (int)Main.sY - 2, (int)x - (int)Main.sX + (Tile.tileSize - 1) - 2, (int)y - (int)Main.sY + (Tile.tileSize - 1) - 2);
			if(Main.world.getBlockID((int)(x / Tile.tileSize) - 1, (int)(y / Tile.tileSize)) == 0) Render.drawLine((int)x - (int)Main.sX - 4, (int)y - (int)Main.sY - 2, (int)x - (int)Main.sX - 4, (int)y - (int)Main.sY + (Tile.tileSize - 1) - 2);
			if(Main.world.getBlockID((int)(x / Tile.tileSize), (int)(y / Tile.tileSize) + 1) == 0) Render.drawLine((int)x - (int)Main.sX - 3, (int)y - (int)Main.sY + (Tile.tileSize - 1) - 1, (int)x - (int)Main.sX + (Tile.tileSize - 1) - 3, (int)y - (int)Main.sY + (Tile.tileSize - 1) - 1);
		}
	}