Пример #1
0
        private void TryToCatchBlockOnFire(net.minecraft.src.World world, int i, int j, int
                                           k, int l, SharpBukkitLive.SharpBukkit.SharpRandom random, int i1)
        {
            int j1 = abilityToCatchFire[world.GetBlockId(i, j, k)];

            if (random.Next(l) < j1)
            {
                bool flag = world.GetBlockId(i, j, k) == net.minecraft.src.Block.TNT.ID;
                if (random.Next(i1 + 10) < 5 && !world.CanLightningStrikeAt(i, j, k))
                {
                    int k1 = i1 + random.Next(5) / 4;
                    if (k1 > 15)
                    {
                        k1 = 15;
                    }
                    world.SetBlockAndMetadataWithNotify(i, j, k, ID, k1);
                }
                else
                {
                    world.SetBlockWithNotify(i, j, k, 0);
                }
                if (flag)
                {
                    net.minecraft.src.Block.TNT.OnBlockDestroyedByPlayer(world, i, j, k, 1);
                }
            }
        }
Пример #2
0
 public override void UpdateTick(net.minecraft.src.World world, int i, int j, int
                                 k, SharpBukkitLive.SharpBukkit.SharpRandom random)
 {
     if (random.Next(5) == 0)
     {
         if (IsWaterNearby(world, i, j, k) || world.CanLightningStrikeAt(i, j + 1, k))
         {
             world.SetBlockMetadataWithNotify(i, j, k, 7);
         }
         else
         {
             int l = world.GetBlockMetadata(i, j, k);
             if (l > 0)
             {
                 world.SetBlockMetadataWithNotify(i, j, k, l - 1);
             }
             else
             {
                 if (!IsCropsNearby(world, i, j, k))
                 {
                     world.SetBlockWithNotify(i, j, k, net.minecraft.src.Block.DIRT.ID);
                 }
             }
         }
     }
 }
Пример #3
0
 // Referenced classes of package net.minecraft.src:
 //            WorldGenerator, World, Material, Block
 public override bool Generate(net.minecraft.src.World world, SharpBukkitLive.SharpBukkit.SharpRandom random
                               , int i, int j, int k)
 {
     for (int l = 0; l < 20; l++)
     {
         int i1 = (i + random.Next(4)) - random.Next(4);
         int j1 = j;
         int k1 = (k + random.Next(4)) - random.Next(4);
         if (!world.IsAirBlock(i1, j1, k1) || world.GetBlockMaterial(i1 - 1, j1 - 1, k1) !=
             net.minecraft.src.Material.water && world.GetBlockMaterial(i1 + 1, j1 - 1, k1)
             != net.minecraft.src.Material.water && world.GetBlockMaterial(i1, j1 - 1, k1 - 1
                                                                           ) != net.minecraft.src.Material.water && world.GetBlockMaterial(i1, j1 - 1, k1 +
                                                                                                                                           1) != net.minecraft.src.Material.water)
         {
             continue;
         }
         int l1 = 2 + random.Next(random.Next(3) + 1);
         for (int i2 = 0; i2 < l1; i2++)
         {
             if (net.minecraft.src.Block.SUGAR_CANE_BLOCK.CanBlockStay(world, i1, j1 + i2, k1))
             {
                 world.SetBlock(i1, j1 + i2, k1, net.minecraft.src.Block.SUGAR_CANE_BLOCK.ID);
             }
         }
     }
     return(true);
 }
Пример #4
0
 public ChunkProviderSky(net.minecraft.src.World world, long l)
 {
     // Referenced classes of package net.minecraft.src:
     //            IChunkProvider, MapGenCaves, NoiseGeneratorOctaves, Block,
     //            BiomeGenBase, Chunk, World, WorldChunkManager,
     //            MapGenBase, BlockSand, WorldGenLakes, WorldGenDungeons,
     //            WorldGenClay, WorldGenMinable, WorldGenerator, WorldGenFlowers,
     //            BlockFlower, WorldGenReed, WorldGenPumpkin, WorldGenCactus,
     //            WorldGenLiquids, Material, IProgressUpdate
     field_28077_r = new double[256];
     field_28076_s = new double[256];
     field_28075_t = new double[256];
     field_28074_u = new net.minecraft.src.MapGenCaves();
     field_28086_i = new int[][] { new int[32], new int[32], new int[32], new int[32],
                                   new int[32], new int[32], new int[32], new int[32], new int[32], new int[32], new
                                   int[32], new int[32], new int[32], new int[32], new int[32], new int[32], new int
                                   [32], new int[32], new int[32], new int[32], new int[32], new int[32], new int[32
                                   ], new int[32], new int[32], new int[32], new int[32], new int[32], new int[32],
                                   new int[32], new int[32], new int[32] };
     field_28079_p = world;
     field_28085_j = new SharpBukkitLive.SharpBukkit.SharpRandom(l);
     field_28084_k = new net.minecraft.src.NoiseGeneratorOctaves(field_28085_j, 16);
     field_28083_l = new net.minecraft.src.NoiseGeneratorOctaves(field_28085_j, 16);
     field_28082_m = new net.minecraft.src.NoiseGeneratorOctaves(field_28085_j, 8);
     field_28081_n = new net.minecraft.src.NoiseGeneratorOctaves(field_28085_j, 4);
     field_28080_o = new net.minecraft.src.NoiseGeneratorOctaves(field_28085_j, 4);
     field_28094_a = new net.minecraft.src.NoiseGeneratorOctaves(field_28085_j, 10);
     field_28093_b = new net.minecraft.src.NoiseGeneratorOctaves(field_28085_j, 16);
     field_28092_c = new net.minecraft.src.NoiseGeneratorOctaves(field_28085_j, 8);
 }
Пример #5
0
 public ChunkProviderGenerate(net.minecraft.src.World world, long l)
 {
     // Referenced classes of package net.minecraft.src:
     //            IChunkProvider, MapGenCaves, NoiseGeneratorOctaves, Block,
     //            BiomeGenBase, Chunk, World, WorldChunkManager,
     //            MapGenBase, BlockSand, WorldGenLakes, WorldGenDungeons,
     //            WorldGenClay, WorldGenMinable, WorldGenerator, WorldGenFlowers,
     //            BlockFlower, WorldGenTallGrass, BlockTallGrass, WorldGenDeadBush,
     //            BlockDeadBush, WorldGenReed, WorldGenPumpkin, WorldGenCactus,
     //            WorldGenLiquids, Material, IProgressUpdate
     sandNoise   = new double[256];
     gravelNoise = new double[256];
     stoneNoise  = new double[256];
     field_695_u = new net.minecraft.src.MapGenCaves();
     field_707_i = new int[][] { new int[32], new int[32], new int[32], new int[32], new
                                 int[32], new int[32], new int[32], new int[32], new int[32], new int[32], new int
                                 [32], new int[32], new int[32], new int[32], new int[32], new int[32], new int[32
                                 ], new int[32], new int[32], new int[32], new int[32], new int[32], new int[32],
                                 new int[32], new int[32], new int[32], new int[32], new int[32], new int[32], new
                                 int[32], new int[32], new int[32] };
     worldObj        = world;
     rand            = new SharpBukkitLive.SharpBukkit.SharpRandom(l);
     field_705_k     = new net.minecraft.src.NoiseGeneratorOctaves(rand, 16);
     field_704_l     = new net.minecraft.src.NoiseGeneratorOctaves(rand, 16);
     field_703_m     = new net.minecraft.src.NoiseGeneratorOctaves(rand, 8);
     field_702_n     = new net.minecraft.src.NoiseGeneratorOctaves(rand, 4);
     field_701_o     = new net.minecraft.src.NoiseGeneratorOctaves(rand, 4);
     field_715_a     = new net.minecraft.src.NoiseGeneratorOctaves(rand, 10);
     field_714_b     = new net.minecraft.src.NoiseGeneratorOctaves(rand, 16);
     mobSpawnerNoise = new net.minecraft.src.NoiseGeneratorOctaves(rand, 8);
 }
Пример #6
0
 public override void UpdateTick(net.minecraft.src.World world, int i, int j, int
                                 k, SharpBukkitLive.SharpBukkit.SharpRandom random)
 {
     if (world.singleplayerWorld)
     {
         return;
     }
     if (world.GetBlockLightValue(i, j + 1, k) < 4 && net.minecraft.src.Block.lightOpacity
         [world.GetBlockId(i, j + 1, k)] > 2)
     {
         if (random.Next(4) != 0)
         {
             return;
         }
         world.SetBlockWithNotify(i, j, k, net.minecraft.src.Block.DIRT.ID);
     }
     else
     {
         if (world.GetBlockLightValue(i, j + 1, k) >= 9)
         {
             int l  = (i + random.Next(3)) - 1;
             int i1 = (j + random.Next(5)) - 3;
             int j1 = (k + random.Next(3)) - 1;
             int k1 = world.GetBlockId(l, i1 + 1, j1);
             if (world.GetBlockId(l, i1, j1) == net.minecraft.src.Block.DIRT.ID && world.
                 GetBlockLightValue(l, i1 + 1, j1) >= 4 && net.minecraft.src.Block.lightOpacity[k1
                 ] <= 2)
             {
                 world.SetBlockWithNotify(l, i1, j1, net.minecraft.src.Block.GRASS.ID);
             }
         }
     }
 }
Пример #7
0
        public override void UpdateTick(net.minecraft.src.World world, int i, int j, int
                                        k, SharpBukkitLive.SharpBukkit.SharpRandom random)
        {
            int  l    = world.GetBlockMetadata(i, j, k);
            bool flag = Func_22012_g(world, i, j, k, l);

            if (field_22015_c && !flag)
            {
                world.SetBlockAndMetadataWithNotify(i, j, k, net.minecraft.src.Block.DIODE_OFF
                                                    .ID, l);
            }
            else
            {
                if (!field_22015_c)
                {
                    world.SetBlockAndMetadataWithNotify(i, j, k, net.minecraft.src.Block.DIODE_ON
                                                        .ID, l);
                    if (!flag)
                    {
                        int i1 = (l & 0xc) >> 2;
                        world.ScheduleUpdateTick(i, j, k, net.minecraft.src.Block.DIODE_ON.
                                                 ID, field_22013_b[i1] * 2);
                    }
                }
            }
        }
Пример #8
0
 public override void UpdateTick(net.minecraft.src.World world, int i, int j, int
                                 k, SharpBukkitLive.SharpBukkit.SharpRandom random)
 {
     if (blockMaterial == net.minecraft.src.Material.lava)
     {
         int l = random.Next(3);
         for (int i1 = 0; i1 < l; i1++)
         {
             i += random.Next(3) - 1;
             j++;
             k += random.Next(3) - 1;
             int j1 = world.GetBlockId(i, j, k);
             if (j1 == 0)
             {
                 if (Func_4033_j(world, i - 1, j, k) || Func_4033_j(world, i + 1, j, k) || Func_4033_j
                         (world, i, j, k - 1) || Func_4033_j(world, i, j, k + 1) || Func_4033_j(world, i,
                                                                                                j - 1, k) || Func_4033_j(world, i, j + 1, k))
                 {
                     world.SetBlockWithNotify(i, j, k, net.minecraft.src.Block.FIRE.ID);
                     return;
                 }
                 continue;
             }
             if (net.minecraft.src.Block.blocksList[j1].blockMaterial.GetIsSolid())
             {
                 return;
             }
         }
     }
 }
Пример #9
0
 public MapGenBase()
 {
     // Referenced classes of package net.minecraft.src:
     //            World, IChunkProvider
     field_947_a = 8;
     rand        = new SharpBukkitLive.SharpBukkit.SharpRandom();
 }
Пример #10
0
        private string PickMobSpawner(SharpBukkitLive.SharpBukkit.SharpRandom random)
        {
            int i = random.Next(4);

            if (i == 0)
            {
                return("Skeleton");
            }
            if (i == 1)
            {
                return("Zombie");
            }
            if (i == 2)
            {
                return("Zombie");
            }
            if (i == 3)
            {
                return("Spider");
            }
            else
            {
                return(string.Empty);
            }
        }
Пример #11
0
 public PortalTravelAgent()
 {
     // Referenced classes of package net.minecraft.src:
     //            Entity, MathHelper, World, Block,
     //            BlockPortal, Material
     field_28117_a = new SharpBukkitLive.SharpBukkit.SharpRandom();
 }
Пример #12
0
        public override bool Generate(net.minecraft.src.World world, SharpBukkitLive.SharpBukkit.SharpRandom random
                                      , int i, int j, int k)
        {
            worldObj = world;
            long l = random.NextLong();

            random0.SetSeed(l);
            basePos[0] = i;
            basePos[1] = j;
            basePos[2] = k;
            if (field_756_e == 0)
            {
                field_756_e = 5 + random0.NextInt(field_748_m);
            }
            if (!Func_422_e())
            {
                return(false);
            }
            else
            {
                Func_424_a();
                Func_421_b();
                Func_432_c();
                Func_428_d();
                return(true);
            }
        }
Пример #13
0
		public virtual void GrowTree(net.minecraft.src.World world, int i, int j, int k, 
			SharpBukkitLive.SharpBukkit.SharpRandom random)
		{
			int l = world.GetBlockMetadata(i, j, k) & 3;
			world.SetBlock(i, j, k, 0);
			object obj = null;
			if (l == 1) //TODO: Bukkit fix???
			{
				obj = new net.minecraft.src.WorldGenTaiga2();
			}
			else
			{
				if (l == 2)
				{
					obj = new net.minecraft.src.WorldGenForest();
				}
				else
				{
					obj = new net.minecraft.src.WorldGenTrees();
					if (random.Next(10) == 0)
					{
						obj = new net.minecraft.src.WorldGenBigTree();
					}
				}
			}
			if (!((net.minecraft.src.WorldGenerator)(obj)).Generate(world, random, i, j, k))
			{
				world.SetBlockAndMetadata(i, j, k, ID, l);
			}
		}
Пример #14
0
        public override bool Generate(net.minecraft.src.World world, SharpBukkitLive.SharpBukkit.SharpRandom random
                                      , int i, int j, int k)
        {
            if (world.GetBlockMaterial(i, j, k) != net.minecraft.src.Material.water)
            {
                return(false);
            }
            float  f = ((float)random.NextDouble()) * 3.141593F;
            double d = (float)(i + 8) + (net.minecraft.src.MathHelper.Sin(f) * (float)numberOfBlocks
                                         ) / 8F;
            double d1 = (float)(i + 8) - (net.minecraft.src.MathHelper.Sin(f) * (float)numberOfBlocks
                                          ) / 8F;
            double d2 = (float)(k + 8) + (net.minecraft.src.MathHelper.Cos(f) * (float)numberOfBlocks
                                          ) / 8F;
            double d3 = (float)(k + 8) - (net.minecraft.src.MathHelper.Cos(f) * (float)numberOfBlocks
                                          ) / 8F;
            double d4 = j + random.Next(3) + 2;
            double d5 = j + random.Next(3) + 2;

            for (int l = 0; l <= numberOfBlocks; l++)
            {
                double d6  = d + ((d1 - d) * (double)l) / (double)numberOfBlocks;
                double d7  = d4 + ((d5 - d4) * (double)l) / (double)numberOfBlocks;
                double d8  = d2 + ((d3 - d2) * (double)l) / (double)numberOfBlocks;
                double d9  = (random.NextDouble() * (double)numberOfBlocks) / 16D;
                double d10 = (double)(net.minecraft.src.MathHelper.Sin(((float)l * 3.141593F) / (
                                                                           float)numberOfBlocks) + 1.0F) * d9 + 1.0D;
                double d11 = (double)(net.minecraft.src.MathHelper.Sin(((float)l * 3.141593F) / (
                                                                           float)numberOfBlocks) + 1.0F) * d9 + 1.0D;
                int i1 = net.minecraft.src.MathHelper.Floor_double(d6 - d10 / 2D);
                int j1 = net.minecraft.src.MathHelper.Floor_double(d6 + d10 / 2D);
                int k1 = net.minecraft.src.MathHelper.Floor_double(d7 - d11 / 2D);
                int l1 = net.minecraft.src.MathHelper.Floor_double(d7 + d11 / 2D);
                int i2 = net.minecraft.src.MathHelper.Floor_double(d8 - d10 / 2D);
                int j2 = net.minecraft.src.MathHelper.Floor_double(d8 + d10 / 2D);
                for (int k2 = i1; k2 <= j1; k2++)
                {
                    for (int l2 = k1; l2 <= l1; l2++)
                    {
                        for (int i3 = i2; i3 <= j2; i3++)
                        {
                            double d12 = (((double)k2 + 0.5D) - d6) / (d10 / 2D);
                            double d13 = (((double)l2 + 0.5D) - d7) / (d11 / 2D);
                            double d14 = (((double)i3 + 0.5D) - d8) / (d10 / 2D);
                            if (d12 * d12 + d13 * d13 + d14 * d14 >= 1.0D)
                            {
                                continue;
                            }
                            int j3 = world.GetBlockId(k2, l2, i3);
                            if (j3 == net.minecraft.src.Block.SAND.ID)
                            {
                                world.SetBlock(k2, l2, i3, clayBlockId);
                            }
                        }
                    }
                }
            }
            return(true);
        }
Пример #15
0
        private net.minecraft.src.ItemStack PickCheckLootItem(SharpBukkitLive.SharpBukkit.SharpRandom random)
        {
            int i = random.Next(11);

            if (i == 0)
            {
                return(new net.minecraft.src.ItemStack(net.minecraft.src.Item.SADDLE));
            }
            if (i == 1)
            {
                return(new net.minecraft.src.ItemStack(net.minecraft.src.Item.IRON_INGOT, random.NextInt
                                                           (4) + 1));
            }
            if (i == 2)
            {
                return(new net.minecraft.src.ItemStack(net.minecraft.src.Item.BREAD));
            }
            if (i == 3)
            {
                return(new net.minecraft.src.ItemStack(net.minecraft.src.Item.WHEAT, random.NextInt
                                                           (4) + 1));
            }
            if (i == 4)
            {
                return(new net.minecraft.src.ItemStack(net.minecraft.src.Item.SULPHUR, random.NextInt
                                                           (4) + 1));
            }
            if (i == 5)
            {
                return(new net.minecraft.src.ItemStack(net.minecraft.src.Item.STRING, random.NextInt
                                                           (4) + 1));
            }
            if (i == 6)
            {
                return(new net.minecraft.src.ItemStack(net.minecraft.src.Item.BUCKET));
            }
            if (i == 7 && random.Next(100) == 0)
            {
                return(new net.minecraft.src.ItemStack(net.minecraft.src.Item.GOLDEN_APPLE));
            }
            if (i == 8 && random.Next(2) == 0)
            {
                return(new net.minecraft.src.ItemStack(net.minecraft.src.Item.REDSTONE, random.NextInt
                                                           (4) + 1));
            }
            if (i == 9 && random.Next(10) == 0)
            {
                return(new net.minecraft.src.ItemStack(net.minecraft.src.Item.itemsList[net.minecraft.src.Item
                                                                                        .GOLD_RECORD.ID + random.Next(2)]));
            }
            if (i == 10)
            {
                return(new net.minecraft.src.ItemStack(net.minecraft.src.Item.INK_SACK, 1, 3));
            }
            else
            {
                return(null);
            }
        }
Пример #16
0
 public TileEntityDispenser()
 {
     // Referenced classes of package net.minecraft.src:
     //            TileEntity, IInventory, ItemStack, NBTTagCompound,
     //            NBTTagList, World, EntityPlayer
     dispenserContents = new net.minecraft.src.ItemStack[9];
     dispenserRandom   = new SharpBukkitLive.SharpBukkit.SharpRandom();
 }
Пример #17
0
 public override void UpdateTick(net.minecraft.src.World world, int i, int j, int
                                 k, SharpBukkitLive.SharpBukkit.SharpRandom random)
 {
     if (ID == net.minecraft.src.Block.GLOWING_REDSTONE_ORE.ID)
     {
         world.SetBlockWithNotify(i, j, k, net.minecraft.src.Block.REDSTONE_ORE.ID);
     }
 }
Пример #18
0
 public override void UpdateTick(net.minecraft.src.World world, int i, int j, int
                                 k, SharpBukkitLive.SharpBukkit.SharpRandom random)
 {
     base.UpdateTick(world, i, j, k, random);
     if (world.GetBlockMetadata(i, j, k) == 0)
     {
         OnBlockAdded(world, i, j, k);
     }
 }
Пример #19
0
 public override void UpdateTick(net.minecraft.src.World world, int i, int j, int
                                 k, SharpBukkitLive.SharpBukkit.SharpRandom random)
 {
     if (world.IsBlockIndirectlyGettingPowered(i, j, k) || world.IsBlockIndirectlyGettingPowered
             (i, j + 1, k))
     {
         DispenseItem(world, i, j, k, random);
     }
 }
Пример #20
0
 public override void UpdateTick(net.minecraft.src.World world, int i, int j, int
                                 k, SharpBukkitLive.SharpBukkit.SharpRandom random)
 {
     if (world.GetSavedLightValue(net.minecraft.src.EnumSkyBlock.Block, i, j, k) > 11)
     {
         DropBlockAsItem(world, i, j, k, world.GetBlockMetadata(i, j, k));
         world.SetBlockWithNotify(i, j, k, 0);
     }
 }
Пример #21
0
 protected internal BlockChest(int i)
     : base(i, net.minecraft.src.Material.wood)
 {
     // Referenced classes of package net.minecraft.src:
     //            BlockContainer, Material, World, TileEntityChest,
     //            IInventory, ItemStack, EntityItem, InventoryLargeChest,
     //            EntityPlayer, TileEntity
     random = new SharpBukkitLive.SharpBukkit.SharpRandom();
     blockIndexInTexture = 26;
 }
Пример #22
0
 protected internal BlockFurnace(int i, bool flag)
     : base(i, net.minecraft.src.Material.rock)
 {
     // Referenced classes of package net.minecraft.src:
     //            BlockContainer, Material, Block, World,
     //            TileEntityFurnace, EntityPlayer, TileEntity, EntityLiving,
     //            MathHelper, IInventory, ItemStack, EntityItem
     field_28033_a       = new SharpBukkitLive.SharpBukkit.SharpRandom();
     isActive            = flag;
     blockIndexInTexture = 45;
 }
Пример #23
0
 public override int QuantityDropped(SharpBukkitLive.SharpBukkit.SharpRandom random)
 {
     if (ID == net.minecraft.src.Block.LAPIS_ORE.ID)
     {
         return(4 + random.Next(5));
     }
     else
     {
         return(1);
     }
 }
 public NoiseGeneratorOctaves2(SharpBukkitLive.SharpBukkit.SharpRandom random, int i)
 {
     // Referenced classes of package net.minecraft.src:
     //            NoiseGenerator, NoiseGenerator2
     field_4307_b = i;
     field_4308_a = new net.minecraft.src.NoiseGenerator2[i];
     for (int j = 0; j < i; j++)
     {
         field_4308_a[j] = new net.minecraft.src.NoiseGenerator2(random);
     }
 }
Пример #25
0
 public override int IdDropped(int i, SharpBukkitLive.SharpBukkit.SharpRandom random)
 {
     if (random.Next(8) == 0)
     {
         return(net.minecraft.src.Item.SEEDS.ID);
     }
     else
     {
         return(-1);
     }
 }
Пример #26
0
 protected internal BlockDispenser(int i)
     : base(i, net.minecraft.src.Material.rock)
 {
     // Referenced classes of package net.minecraft.src:
     //            BlockContainer, Material, Block, World,
     //            TileEntityDispenser, EntityPlayer, ItemStack, Item,
     //            EntityArrow, EntityEgg, EntitySnowball, EntityItem,
     //            EntityLiving, MathHelper, IInventory, TileEntity
     field_28032_a       = new SharpBukkitLive.SharpBukkit.SharpRandom();
     blockIndexInTexture = 45;
 }
Пример #27
0
 public override int IdDropped(int i, SharpBukkitLive.SharpBukkit.SharpRandom random)
 {
     if (i == 7)
     {
         return(net.minecraft.src.Item.WHEAT.ID);
     }
     else
     {
         return(-1);
     }
 }
 public NoiseGeneratorOctaves(SharpBukkitLive.SharpBukkit.SharpRandom random, int i)
 {
     // Referenced classes of package net.minecraft.src:
     //            NoiseGenerator, NoiseGeneratorPerlin
     field_938_b         = i;
     generatorCollection = new net.minecraft.src.NoiseGeneratorPerlin[i];
     for (int j = 0; j < i; j++)
     {
         generatorCollection[j] = new net.minecraft.src.NoiseGeneratorPerlin(random);
     }
 }
Пример #29
0
 public override int IdDropped(int i, SharpBukkitLive.SharpBukkit.SharpRandom random)
 {
     if ((i & 8) != 0)
     {
         return(0);
     }
     if (blockMaterial == net.minecraft.src.Material.iron)
     {
         return(net.minecraft.src.Item.IRON_DOOR.ID);
     }
     else
     {
         return(net.minecraft.src.Item.WOOD_DOOR.ID);
     }
 }
Пример #30
0
 public WorldGenBigTree()
 {
     // Referenced classes of package net.minecraft.src:
     //            WorldGenerator, MathHelper, World
     random0     = new SharpBukkitLive.SharpBukkit.SharpRandom();
     field_756_e = 0;
     field_754_g = 0.61799999999999999D;
     field_753_h = 1.0D;
     field_752_i = 0.38100000000000001D;
     field_751_j = 1.0D;
     field_750_k = 1.0D;
     field_749_l = 1;
     field_748_m = 12;
     field_747_n = 4;
 }