    001    package net.minecraft.src;
    002
    003    public class BlockSourceImpl implements IBlockSource
    004    {
    005        private final World field_82627_a;
    006        private final int field_82625_b;
    007        private final int field_82626_c;
    008        private final int field_82624_d;
    009
    010        public BlockSourceImpl(World par1World, int par2, int par3, int par4)
    011        {
    012            this.field_82627_a = par1World;
    013            this.field_82625_b = par2;
    014            this.field_82626_c = par3;
    015            this.field_82624_d = par4;
    016        }
    017
    018        public World func_82618_k()
    019        {
    020            return this.field_82627_a;
    021        }
    022
    023        public double func_82615_a()
    024        {
    025            return (double)this.field_82625_b + 0.5D;
    026        }
    027
    028        public double func_82617_b()
    029        {
    030            return (double)this.field_82626_c + 0.5D;
    031        }
    032
    033        public double func_82616_c()
    034        {
    035            return (double)this.field_82624_d + 0.5D;
    036        }
    037
    038        public int func_82623_d()
    039        {
    040            return this.field_82625_b;
    041        }
    042
    043        public int func_82622_e()
    044        {
    045            return this.field_82626_c;
    046        }
    047
    048        public int func_82621_f()
    049        {
    050            return this.field_82624_d;
    051        }
    052
    053        public int func_82620_h()
    054        {
    055            return this.field_82627_a.getBlockMetadata(this.field_82625_b, this.field_82626_c, this.field_82624_d);
    056        }
    057
    058        public TileEntity func_82619_j()
    059        {
    060            return this.field_82627_a.getBlockTileEntity(this.field_82625_b, this.field_82626_c, this.field_82624_d);
    061        }
    062    }