package net.minecraft.world.chunk;

import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import java.util.List;
import java.util.Random;
import net.minecraft.block.Block;
import net.minecraft.command.IEntitySelector;
import net.minecraft.entity.Entity;
import net.minecraft.init.Blocks;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.AxisAlignedBB;
import net.minecraft.world.EnumSkyBlock;
import net.minecraft.world.World;

public class EmptyChunk extends Chunk
{
	private static final String __OBFID = "CL_00000372";

	public EmptyChunk(World par1World, int par2, int par3)
	{
		super(par1World, par2, par3);
	}

	public boolean isAtLocation(int par1, int par2)
	{
		return par1 == this.xPosition && par2 == this.zPosition;
	}

	public int getHeightValue(int par1, int par2)
	{
		return 0;
	}

	public void generateSkylightMap() {}

	@SideOnly(Side.CLIENT)
	public void generateHeightMap() {}

	public Block getBlock(int p_150810_1_, int p_150810_2_, int p_150810_3_)
	{
		return Blocks.air;
	}

	public int func_150808_b(int p_150808_1_, int p_150808_2_, int p_150808_3_)
	{
		return 255;
	}

	public boolean func_150807_a(int p_150807_1_, int p_150807_2_, int p_150807_3_, Block p_150807_4_, int p_150807_5_)
	{
		return true;
	}

	public int getBlockMetadata(int par1, int par2, int par3)
	{
		return 0;
	}

	public boolean setBlockMetadata(int par1, int par2, int par3, int par4)
	{
		return false;
	}

	public int getSavedLightValue(EnumSkyBlock par1EnumSkyBlock, int par2, int par3, int par4)
	{
		return 0;
	}

	public void setLightValue(EnumSkyBlock par1EnumSkyBlock, int par2, int par3, int par4, int par5) {}

	public int getBlockLightValue(int par1, int par2, int par3, int par4)
	{
		return 0;
	}

	public void addEntity(Entity par1Entity) {}

	public void removeEntity(Entity par1Entity) {}

	public void removeEntityAtIndex(Entity par1Entity, int par2) {}

	public boolean canBlockSeeTheSky(int par1, int par2, int par3)
	{
		return false;
	}

	public TileEntity func_150806_e(int p_150806_1_, int p_150806_2_, int p_150806_3_)
	{
		return null;
	}

	public void addTileEntity(TileEntity p_150813_1_) {}

	public void func_150812_a(int p_150812_1_, int p_150812_2_, int p_150812_3_, TileEntity p_150812_4_) {}

	public void removeTileEntity(int p_150805_1_, int p_150805_2_, int p_150805_3_) {}

	public void onChunkLoad() {}

	public void onChunkUnload() {}

	public void setChunkModified() {}

	public void getEntitiesWithinAABBForEntity(Entity par1Entity, AxisAlignedBB par2AxisAlignedBB, List par3List, IEntitySelector par4IEntitySelector) {}

	public void getEntitiesOfTypeWithinAAAB(Class par1Class, AxisAlignedBB par2AxisAlignedBB, List par3List, IEntitySelector par4IEntitySelector) {}

	public boolean needsSaving(boolean par1)
	{
		return false;
	}

	public Random getRandomWithSeed(long par1)
	{
		return new Random(this.worldObj.getSeed() + (long)(this.xPosition * this.xPosition * 4987142) + (long)(this.xPosition * 5947611) + (long)(this.zPosition * this.zPosition) * 4392871L + (long)(this.zPosition * 389711) ^ par1);
	}

	public boolean isEmpty()
	{
		return true;
	}

	public boolean getAreLevelsEmpty(int par1, int par2)
	{
		return true;
	}
}