Java 类net.minecraft.world.gen.feature.WorldGenTrees 实例源码
项目:DecompiledMinecraft
文件:BiomeGenBase.java
protected BiomeGenBase(int id)
{
this.minHeight = height_Default.rootHeight;
this.maxHeight = height_Default.variation;
this.temperature = 0.5F;
this.rainfall = 0.5F;
this.waterColorMultiplier = 16777215;
this.spawnableMonsterList = Lists.<BiomeGenBase.SpawnListEntry>newArrayList();
this.spawnableCreatureList = Lists.<BiomeGenBase.SpawnListEntry>newArrayList();
this.spawnableWaterCreatureList = Lists.<BiomeGenBase.SpawnListEntry>newArrayList();
this.spawnableCaveCreatureList = Lists.<BiomeGenBase.SpawnListEntry>newArrayList();
this.enableRain = true;
this.worldGeneratorTrees = new WorldGenTrees(false);
this.worldGeneratorBigTree = new WorldGenBigTree(false);
this.worldGeneratorSwamp = new WorldGenSwamp();
this.biomeID = id;
biomeList[id] = this;
this.theBiomeDecorator = this.createBiomeDecorator();
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntitySheep.class, 12, 4, 4));
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityRabbit.class, 10, 3, 3));
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityPig.class, 10, 4, 4));
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityChicken.class, 10, 4, 4));
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityCow.class, 8, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntitySpider.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntityZombie.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntitySkeleton.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntityCreeper.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntitySlime.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntityEnderman.class, 10, 1, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntityWitch.class, 5, 1, 1));
this.spawnableWaterCreatureList.add(new BiomeGenBase.SpawnListEntry(EntitySquid.class, 10, 4, 4));
this.spawnableCaveCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityBat.class, 10, 8, 8));
}
项目:DecompiledMinecraft
文件:BiomeGenBase.java
protected BiomeGenBase(int id)
{
this.minHeight = height_Default.rootHeight;
this.maxHeight = height_Default.variation;
this.temperature = 0.5F;
this.rainfall = 0.5F;
this.waterColorMultiplier = 16777215;
this.spawnableMonsterList = Lists.<BiomeGenBase.SpawnListEntry>newArrayList();
this.spawnableCreatureList = Lists.<BiomeGenBase.SpawnListEntry>newArrayList();
this.spawnableWaterCreatureList = Lists.<BiomeGenBase.SpawnListEntry>newArrayList();
this.spawnableCaveCreatureList = Lists.<BiomeGenBase.SpawnListEntry>newArrayList();
this.enableRain = true;
this.worldGeneratorTrees = new WorldGenTrees(false);
this.worldGeneratorBigTree = new WorldGenBigTree(false);
this.worldGeneratorSwamp = new WorldGenSwamp();
this.biomeID = id;
biomeList[id] = this;
this.theBiomeDecorator = this.createBiomeDecorator();
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntitySheep.class, 12, 4, 4));
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityRabbit.class, 10, 3, 3));
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityPig.class, 10, 4, 4));
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityChicken.class, 10, 4, 4));
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityCow.class, 8, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntitySpider.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntityZombie.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntitySkeleton.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntityCreeper.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntitySlime.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntityEnderman.class, 10, 1, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntityWitch.class, 5, 1, 1));
this.spawnableWaterCreatureList.add(new BiomeGenBase.SpawnListEntry(EntitySquid.class, 10, 4, 4));
this.spawnableCaveCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityBat.class, 10, 8, 8));
}
项目:BaseClient
文件:BiomeGenBase.java
protected BiomeGenBase(int id)
{
this.minHeight = height_Default.rootHeight;
this.maxHeight = height_Default.variation;
this.temperature = 0.5F;
this.rainfall = 0.5F;
this.waterColorMultiplier = 16777215;
this.spawnableMonsterList = Lists.<BiomeGenBase.SpawnListEntry>newArrayList();
this.spawnableCreatureList = Lists.<BiomeGenBase.SpawnListEntry>newArrayList();
this.spawnableWaterCreatureList = Lists.<BiomeGenBase.SpawnListEntry>newArrayList();
this.spawnableCaveCreatureList = Lists.<BiomeGenBase.SpawnListEntry>newArrayList();
this.enableRain = true;
this.worldGeneratorTrees = new WorldGenTrees(false);
this.worldGeneratorBigTree = new WorldGenBigTree(false);
this.worldGeneratorSwamp = new WorldGenSwamp();
this.biomeID = id;
biomeList[id] = this;
this.theBiomeDecorator = this.createBiomeDecorator();
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntitySheep.class, 12, 4, 4));
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityRabbit.class, 10, 3, 3));
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityPig.class, 10, 4, 4));
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityChicken.class, 10, 4, 4));
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityCow.class, 8, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntitySpider.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntityZombie.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntitySkeleton.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntityCreeper.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntitySlime.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntityEnderman.class, 10, 1, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntityWitch.class, 5, 1, 1));
this.spawnableWaterCreatureList.add(new BiomeGenBase.SpawnListEntry(EntitySquid.class, 10, 4, 4));
this.spawnableCaveCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityBat.class, 10, 8, 8));
}
项目:BaseClient
文件:BiomeGenBase.java
protected BiomeGenBase(int id)
{
this.minHeight = height_Default.rootHeight;
this.maxHeight = height_Default.variation;
this.temperature = 0.5F;
this.rainfall = 0.5F;
this.waterColorMultiplier = 16777215;
this.spawnableMonsterList = Lists.<BiomeGenBase.SpawnListEntry>newArrayList();
this.spawnableCreatureList = Lists.<BiomeGenBase.SpawnListEntry>newArrayList();
this.spawnableWaterCreatureList = Lists.<BiomeGenBase.SpawnListEntry>newArrayList();
this.spawnableCaveCreatureList = Lists.<BiomeGenBase.SpawnListEntry>newArrayList();
this.enableRain = true;
this.worldGeneratorTrees = new WorldGenTrees(false);
this.worldGeneratorBigTree = new WorldGenBigTree(false);
this.worldGeneratorSwamp = new WorldGenSwamp();
this.biomeID = id;
biomeList[id] = this;
this.theBiomeDecorator = this.createBiomeDecorator();
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntitySheep.class, 12, 4, 4));
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityRabbit.class, 10, 3, 3));
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityPig.class, 10, 4, 4));
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityChicken.class, 10, 4, 4));
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityCow.class, 8, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntitySpider.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntityZombie.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntitySkeleton.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntityCreeper.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntitySlime.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntityEnderman.class, 10, 1, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntityWitch.class, 5, 1, 1));
this.spawnableWaterCreatureList.add(new BiomeGenBase.SpawnListEntry(EntitySquid.class, 10, 4, 4));
this.spawnableCaveCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityBat.class, 10, 8, 8));
}
项目:BetterWithAddons
文件:BlockModSapling.java
public void generateTree(World worldIn, BlockPos pos, IBlockState state, Random rand) {
if (!net.minecraftforge.event.terraingen.TerrainGen.saplingGrowTree(worldIn, rand, pos)) return;
WorldGenerator worldgenerator = isBig ? new WorldGenBigTrees(true,log,leaves,this) : new WorldGenTrees(true,3,log,leaves,false);
int i = 0;
int j = 0;
IBlockState iblockstate2 = Blocks.AIR.getDefaultState();
worldIn.setBlockState(pos, iblockstate2, 4);
if (!worldgenerator.generate(worldIn, rand, pos.add(i, 0, j)))
{
worldIn.setBlockState(pos, state, 4);
}
}
项目:Rediscovered-Mod-1.8
文件:BlockCherrySapling.java
public void generateTree(World worldIn, BlockPos pos, IBlockState state, Random rand)
{
if (!net.minecraftforge.event.terraingen.TerrainGen.saplingGrowTree(worldIn, rand, pos)) return;
Object object = rand.nextInt(10) == 0 ? new WorldGenBigTree(true) : new WorldGenTrees(true);
object = new WorldGenCherryTrees(true);
IBlockState iblockstate1 = Blocks.air.getDefaultState();
worldIn.setBlockState(pos, iblockstate1, 4);
if (!((WorldGenerator)object).generate(worldIn, rand, pos))
{
worldIn.setBlockState(pos, state, 4);
}
}
项目:Resilience-Client-Source
文件:BiomeGenBase.java
protected BiomeGenBase(int par1)
{
this.topBlock = Blocks.grass;
this.field_150604_aj = 0;
this.fillerBlock = Blocks.dirt;
this.field_76754_C = 5169201;
this.minHeight = field_150596_a.field_150777_a;
this.maxHeight = field_150596_a.field_150776_b;
this.temperature = 0.5F;
this.rainfall = 0.5F;
this.waterColorMultiplier = 16777215;
this.spawnableMonsterList = new ArrayList();
this.spawnableCreatureList = new ArrayList();
this.spawnableWaterCreatureList = new ArrayList();
this.spawnableCaveCreatureList = new ArrayList();
this.enableRain = true;
this.worldGeneratorTrees = new WorldGenTrees(false);
this.worldGeneratorBigTree = new WorldGenBigTree(false);
this.worldGeneratorSwamp = new WorldGenSwamp();
this.biomeID = par1;
biomeList[par1] = this;
this.theBiomeDecorator = this.createBiomeDecorator();
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntitySheep.class, 12, 4, 4));
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityPig.class, 10, 4, 4));
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityChicken.class, 10, 4, 4));
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityCow.class, 8, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntitySpider.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntityZombie.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntitySkeleton.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntityCreeper.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntitySlime.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntityEnderman.class, 10, 1, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntityWitch.class, 5, 1, 1));
this.spawnableWaterCreatureList.add(new BiomeGenBase.SpawnListEntry(EntitySquid.class, 10, 4, 4));
this.spawnableCaveCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityBat.class, 10, 8, 8));
}
项目:Rediscovered-Mod-1.8.8
文件:BlockCherrySapling.java
public void generateTree(World worldIn, BlockPos pos, IBlockState state, Random rand)
{
if (!net.minecraftforge.event.terraingen.TerrainGen.saplingGrowTree(worldIn, rand, pos)) return;
Object object = rand.nextInt(10) == 0 ? new WorldGenBigTree(true) : new WorldGenTrees(true);
object = new WorldGenCherryTrees(true);
IBlockState iblockstate1 = Blocks.air.getDefaultState();
worldIn.setBlockState(pos, iblockstate1, 4);
if (!((WorldGenerator)object).generate(worldIn, rand, pos))
{
worldIn.setBlockState(pos, state, 4);
}
}
项目:Cauldron
文件:BiomeGenBase.java
public BiomeGenBase(int p_i1971_1_, boolean register)
{
this.topBlock = Blocks.grass;
this.field_150604_aj = 0;
this.fillerBlock = Blocks.dirt;
this.field_76754_C = 5169201;
this.rootHeight = height_Default.rootHeight;
this.heightVariation = height_Default.variation;
this.temperature = 0.5F;
this.rainfall = 0.5F;
this.waterColorMultiplier = 16777215;
this.spawnableMonsterList = new ArrayList();
this.spawnableCreatureList = new ArrayList();
this.spawnableWaterCreatureList = new ArrayList();
this.spawnableCaveCreatureList = new ArrayList();
this.enableRain = true;
this.worldGeneratorTrees = new WorldGenTrees(false);
this.worldGeneratorBigTree = new WorldGenBigTree(false);
this.worldGeneratorSwamp = new WorldGenSwamp();
this.biomeID = p_i1971_1_;
if (register)
biomeList[p_i1971_1_] = this;
this.theBiomeDecorator = this.createBiomeDecorator();
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntitySheep.class, 12, 4, 4));
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityPig.class, 10, 4, 4));
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityChicken.class, 10, 4, 4));
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityCow.class, 8, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntitySpider.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntityZombie.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntitySkeleton.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntityCreeper.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntitySlime.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntityEnderman.class, 10, 1, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntityWitch.class, 5, 1, 1));
this.spawnableWaterCreatureList.add(new BiomeGenBase.SpawnListEntry(EntitySquid.class, 10, 4, 4));
this.spawnableCaveCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityBat.class, 10, 8, 8));
this.addDefaultFlowers();
}
项目:Cauldron
文件:BiomeGenBase.java
public BiomeGenBase(int p_i1971_1_, boolean register)
{
this.topBlock = Blocks.grass;
this.field_150604_aj = 0;
this.fillerBlock = Blocks.dirt;
this.field_76754_C = 5169201;
this.rootHeight = height_Default.rootHeight;
this.heightVariation = height_Default.variation;
this.temperature = 0.5F;
this.rainfall = 0.5F;
this.waterColorMultiplier = 16777215;
this.spawnableMonsterList = new ArrayList();
this.spawnableCreatureList = new ArrayList();
this.spawnableWaterCreatureList = new ArrayList();
this.spawnableCaveCreatureList = new ArrayList();
this.enableRain = true;
this.worldGeneratorTrees = new WorldGenTrees(false);
this.worldGeneratorBigTree = new WorldGenBigTree(false);
this.worldGeneratorSwamp = new WorldGenSwamp();
this.biomeID = p_i1971_1_;
if (register)
biomeList[p_i1971_1_] = this;
this.theBiomeDecorator = this.createBiomeDecorator();
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntitySheep.class, 12, 4, 4));
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityPig.class, 10, 4, 4));
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityChicken.class, 10, 4, 4));
this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityCow.class, 8, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntitySpider.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntityZombie.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntitySkeleton.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntityCreeper.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntitySlime.class, 100, 4, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntityEnderman.class, 10, 1, 4));
this.spawnableMonsterList.add(new BiomeGenBase.SpawnListEntry(EntityWitch.class, 5, 1, 1));
this.spawnableWaterCreatureList.add(new BiomeGenBase.SpawnListEntry(EntitySquid.class, 10, 4, 4));
this.spawnableCaveCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityBat.class, 10, 8, 8));
this.addDefaultFlowers();
}
项目:RuneCraftery
文件:BiomeGenBase.java
public BiomeGenBase(int p_i1971_1_) {
this.field_76752_A = (byte)Block.field_71980_u.field_71990_ca;
this.field_76753_B = (byte)Block.field_71979_v.field_71990_ca;
this.field_76754_C = 5169201;
this.field_76748_D = 0.1F;
this.field_76749_E = 0.3F;
this.field_76750_F = 0.5F;
this.field_76751_G = 0.5F;
this.field_76759_H = 16777215;
this.field_76761_J = new ArrayList();
this.field_76762_K = new ArrayList();
this.field_76755_L = new ArrayList();
this.field_82914_M = new ArrayList();
this.field_76765_S = true;
this.field_76757_N = new WorldGenTrees(false);
this.field_76758_O = new WorldGenBigTree(false);
this.field_76764_P = new WorldGenForest(false);
this.field_76763_Q = new WorldGenSwamp();
this.field_76756_M = p_i1971_1_;
field_76773_a[p_i1971_1_] = this;
this.field_76760_I = this.func_76729_a();
this.field_76762_K.add(new SpawnListEntry(EntitySheep.class, 12, 4, 4));
this.field_76762_K.add(new SpawnListEntry(EntityPig.class, 10, 4, 4));
this.field_76762_K.add(new SpawnListEntry(EntityChicken.class, 10, 4, 4));
this.field_76762_K.add(new SpawnListEntry(EntityCow.class, 8, 4, 4));
this.field_76761_J.add(new SpawnListEntry(EntitySpider.class, 10, 4, 4));
this.field_76761_J.add(new SpawnListEntry(EntityZombie.class, 10, 4, 4));
this.field_76761_J.add(new SpawnListEntry(EntitySkeleton.class, 10, 4, 4));
this.field_76761_J.add(new SpawnListEntry(EntityCreeper.class, 10, 4, 4));
this.field_76761_J.add(new SpawnListEntry(EntitySlime.class, 10, 4, 4));
this.field_76761_J.add(new SpawnListEntry(EntityEnderman.class, 1, 1, 4));
this.field_76755_L.add(new SpawnListEntry(EntitySquid.class, 10, 4, 4));
this.field_82914_M.add(new SpawnListEntry(EntityBat.class, 10, 8, 8));
}
项目:RuneCraftery
文件:BiomeGenBase.java
public BiomeGenBase(int par1, boolean register)
{
this.topBlock = (byte)Block.grass.blockID;
this.fillerBlock = (byte)Block.dirt.blockID;
this.field_76754_C = 5169201;
this.minHeight = 0.1F;
this.maxHeight = 0.3F;
this.temperature = 0.5F;
this.rainfall = 0.5F;
this.waterColorMultiplier = 16777215;
this.spawnableMonsterList = new ArrayList();
this.spawnableCreatureList = new ArrayList();
this.spawnableWaterCreatureList = new ArrayList();
this.spawnableCaveCreatureList = new ArrayList();
this.enableRain = true;
this.worldGeneratorTrees = new WorldGenTrees(false);
this.worldGeneratorBigTree = new WorldGenBigTree(false);
this.worldGeneratorForest = new WorldGenForest(false);
this.worldGeneratorSwamp = new WorldGenSwamp();
this.biomeID = par1;
if (register)
biomeList[par1] = this;
this.theBiomeDecorator = this.createBiomeDecorator();
this.spawnableCreatureList.add(new SpawnListEntry(EntitySheep.class, 12, 4, 4));
this.spawnableCreatureList.add(new SpawnListEntry(EntityPig.class, 10, 4, 4));
this.spawnableCreatureList.add(new SpawnListEntry(EntityChicken.class, 10, 4, 4));
this.spawnableCreatureList.add(new SpawnListEntry(EntityCow.class, 8, 4, 4));
this.spawnableMonsterList.add(new SpawnListEntry(EntitySpider.class, 10, 4, 4));
this.spawnableMonsterList.add(new SpawnListEntry(EntityZombie.class, 10, 4, 4));
this.spawnableMonsterList.add(new SpawnListEntry(EntitySkeleton.class, 10, 4, 4));
this.spawnableMonsterList.add(new SpawnListEntry(EntityCreeper.class, 10, 4, 4));
this.spawnableMonsterList.add(new SpawnListEntry(EntitySlime.class, 10, 4, 4));
this.spawnableMonsterList.add(new SpawnListEntry(EntityEnderman.class, 1, 1, 4));
this.spawnableWaterCreatureList.add(new SpawnListEntry(EntitySquid.class, 10, 4, 4));
this.spawnableCaveCreatureList.add(new SpawnListEntry(EntityBat.class, 10, 8, 8));
}
项目:TheStuffMod
文件:BlockBasicSapling.java
public void func_149878_d(World world, int x, int y, int z, Random random){
if (!net.minecraftforge.event.terraingen.TerrainGen.saplingGrowTree(world, random, x, y, z)) return;
Object object = random.nextInt(10) == 0 ? new WorldGenBigTree(true) : new WorldGenTrees(true);
int i1 = 0;
int j1 = 0;
boolean flag = false;
object = new WorldGenModTree(this.wood, this.leaves);
Block block = Blocks.air;
if (flag){
world.setBlock(x + i1, y, z + j1, block, 0, 4);
world.setBlock(x + i1 + 1, y, z + j1, block, 0, 4);
world.setBlock(x + i1, y, z + j1 + 1, block, 0, 4);
world.setBlock(x + i1 + 1, y, z + j1 + 1, block, 0, 4);
}else{
world.setBlock(x, y, z, block, 0, 4);
}
if (!((WorldGenerator)object).generate(world, random, x + i1, y, z + j1)){
if (flag){
world.setBlock(x + i1, y, z + j1, this, 0, 4);
world.setBlock(x + i1 + 1, y, z + j1, this, 0, 4);
world.setBlock(x + i1, y, z + j1 + 1, this, 0, 4);
world.setBlock(x + i1 + 1, y, z + j1 + 1, this, 0, 4);
}else{
world.setBlock(x, y, z, this, 0, 4);
}
}
}
项目:BetterNutritionMod
文件:BiomeGenBase.java
public BiomeGenBase(int par1, boolean register)
{
this.topBlock = (byte)Block.grass.blockID;
this.fillerBlock = (byte)Block.dirt.blockID;
this.field_76754_C = 5169201;
this.minHeight = 0.1F;
this.maxHeight = 0.3F;
this.temperature = 0.5F;
this.rainfall = 0.5F;
this.waterColorMultiplier = 16777215;
this.spawnableMonsterList = new ArrayList();
this.spawnableCreatureList = new ArrayList();
this.spawnableWaterCreatureList = new ArrayList();
this.spawnableCaveCreatureList = new ArrayList();
this.enableRain = true;
this.worldGeneratorTrees = new WorldGenTrees(false);
this.worldGeneratorBigTree = new WorldGenBigTree(false);
this.worldGeneratorForest = new WorldGenForest(false);
this.worldGeneratorSwamp = new WorldGenSwamp();
this.biomeID = par1;
if (register)
biomeList[par1] = this;
this.theBiomeDecorator = this.createBiomeDecorator();
this.spawnableCreatureList.add(new SpawnListEntry(EntitySheep.class, 12, 4, 4));
this.spawnableCreatureList.add(new SpawnListEntry(EntityPig.class, 10, 4, 4));
this.spawnableCreatureList.add(new SpawnListEntry(EntityChicken.class, 10, 4, 4));
this.spawnableCreatureList.add(new SpawnListEntry(EntityCow.class, 8, 4, 4));
this.spawnableMonsterList.add(new SpawnListEntry(EntitySpider.class, 10, 4, 4));
this.spawnableMonsterList.add(new SpawnListEntry(EntityZombie.class, 10, 4, 4));
this.spawnableMonsterList.add(new SpawnListEntry(EntitySkeleton.class, 10, 4, 4));
this.spawnableMonsterList.add(new SpawnListEntry(EntityCreeper.class, 10, 4, 4));
this.spawnableMonsterList.add(new SpawnListEntry(EntitySlime.class, 10, 4, 4));
this.spawnableMonsterList.add(new SpawnListEntry(EntityEnderman.class, 1, 1, 4));
this.spawnableWaterCreatureList.add(new SpawnListEntry(EntitySquid.class, 10, 4, 4));
this.spawnableCaveCreatureList.add(new SpawnListEntry(EntityBat.class, 10, 8, 8));
}
项目:harshencastle
文件:PontusBiome.java
@Override
public WorldGenAbstractTree getRandomTreeFeature(Random rand) {
return new WorldGenTrees(false, 3, HarshenBlocks.PONTUS_DEAD_WOOD.getDefaultState(), HarshenBlocks.PONTUS_DEAD_LEAVES.getDefaultState(), false);
}
项目:DecompiledMinecraft
文件:BiomeGenJungle.java
public WorldGenAbstractTree genBigTreeChance(Random rand)
{
return (WorldGenAbstractTree)(rand.nextInt(10) == 0 ? this.worldGeneratorBigTree : (rand.nextInt(2) == 0 ? new WorldGenShrub(field_181620_aE, field_181622_aG) : (!this.field_150614_aC && rand.nextInt(3) == 0 ? new WorldGenMegaJungle(false, 10, 20, field_181620_aE, field_181621_aF) : new WorldGenTrees(false, 4 + rand.nextInt(7), field_181620_aE, field_181621_aF, true))));
}
项目:DecompiledMinecraft
文件:BiomeGenJungle.java
public WorldGenAbstractTree genBigTreeChance(Random rand)
{
return (WorldGenAbstractTree)(rand.nextInt(10) == 0 ? this.worldGeneratorBigTree : (rand.nextInt(2) == 0 ? new WorldGenShrub(field_181620_aE, field_181622_aG) : (!this.field_150614_aC && rand.nextInt(3) == 0 ? new WorldGenMegaJungle(false, 10, 20, field_181620_aE, field_181621_aF) : new WorldGenTrees(false, 4 + rand.nextInt(7), field_181620_aE, field_181621_aF, true))));
}
项目:BaseClient
文件:BiomeGenJungle.java
public WorldGenAbstractTree genBigTreeChance(Random rand)
{
return (WorldGenAbstractTree)(rand.nextInt(10) == 0 ? this.worldGeneratorBigTree : (rand.nextInt(2) == 0 ? new WorldGenShrub(field_181620_aE, field_181622_aG) : (!this.field_150614_aC && rand.nextInt(3) == 0 ? new WorldGenMegaJungle(false, 10, 20, field_181620_aE, field_181621_aF) : new WorldGenTrees(false, 4 + rand.nextInt(7), field_181620_aE, field_181621_aF, true))));
}
项目:BaseClient
文件:BiomeGenJungle.java
public WorldGenAbstractTree genBigTreeChance(Random rand)
{
return (WorldGenAbstractTree)(rand.nextInt(10) == 0 ? this.worldGeneratorBigTree : (rand.nextInt(2) == 0 ? new WorldGenShrub(field_181620_aE, field_181622_aG) : (!this.field_150614_aC && rand.nextInt(3) == 0 ? new WorldGenMegaJungle(false, 10, 20, field_181620_aE, field_181621_aF) : new WorldGenTrees(false, 4 + rand.nextInt(7), field_181620_aE, field_181621_aF, true))));
}
项目:modName
文件:BiomeTropicalShrubland.java
@Override
public WorldGenAbstractTree getRandomTreeFeature(Random rand)
{
return (rand.nextInt(6) == 0 ? Biome.BIG_TREE_FEATURE : (rand.nextInt(3) == 0 ? ATGBiomes.Features.JUNGLE_SHRUB : (rand.nextInt(2) == 0 ? new WorldGenTrees(false, 4 + rand.nextInt(5), ATGBiomes.BiomeBlocks.JUNGLE_LOG, ATGBiomes.BiomeBlocks.JUNGLE_LEAF, true) : ATGBiomes.Features.SAVANNA_TREE)));
}
项目:Backmemed
文件:BiomeJungle.java
public WorldGenAbstractTree genBigTreeChance(Random rand)
{
return (WorldGenAbstractTree)(rand.nextInt(10) == 0 ? BIG_TREE_FEATURE : (rand.nextInt(2) == 0 ? new WorldGenShrub(JUNGLE_LOG, OAK_LEAF) : (!this.isEdge && rand.nextInt(3) == 0 ? new WorldGenMegaJungle(false, 10, 20, JUNGLE_LOG, JUNGLE_LEAF) : new WorldGenTrees(false, 4 + rand.nextInt(7), JUNGLE_LOG, JUNGLE_LEAF, true))));
}
项目:CustomWorldGen
文件:BiomeJungle.java
public WorldGenAbstractTree genBigTreeChance(Random rand)
{
return (WorldGenAbstractTree)(rand.nextInt(10) == 0 ? BIG_TREE_FEATURE : (rand.nextInt(2) == 0 ? new WorldGenShrub(JUNGLE_LOG, OAK_LEAF) : (!this.isEdge && rand.nextInt(3) == 0 ? new WorldGenMegaJungle(false, 10, 20, JUNGLE_LOG, JUNGLE_LEAF) : new WorldGenTrees(false, 4 + rand.nextInt(7), JUNGLE_LOG, JUNGLE_LEAF, true))));
}
项目:TaleCraft
文件:TreeDecoration.java
public TreeDecoration() {
super();
gen = new WorldGenTrees(true);
}
项目:Resilience-Client-Source
文件:BiomeGenJungle.java
public WorldGenAbstractTree func_150567_a(Random p_150567_1_)
{
return (WorldGenAbstractTree)(p_150567_1_.nextInt(10) == 0 ? this.worldGeneratorBigTree : (p_150567_1_.nextInt(2) == 0 ? new WorldGenShrub(3, 0) : (!this.field_150614_aC && p_150567_1_.nextInt(3) == 0 ? new WorldGenMegaJungle(false, 10, 20, 3, 3) : new WorldGenTrees(false, 4 + p_150567_1_.nextInt(7), 3, 3, true))));
}
项目:TheDarkEra
文件:BlockSaplings.java
@Override
public void func_149878_d(World world, int x, int y, int z, Random rand) {
if (!net.minecraftforge.event.terraingen.TerrainGen.saplingGrowTree(world, rand, x, y, y))
return;
int l = world.getBlockMetadata(x, y, z) & 7;
Object object = rand.nextInt(10) == 0 ? new WorldGenBigTree(true) : new WorldGenTrees(true);
int i1 = 0;
int j1 = 0;
boolean flag = false;
switch (l) {
case 0:
object = new WorldGenDeadTree();
break;
case 1:
object = new WorldGenDarkJungleTree(30);
break;
case 2:
object = new WorldGenTestTree(false, 10, 20, 1, 3);
break;
case 3:
break;
case 4:
break;
case 5:
default:
break;
}
Block block = Blocks.air;
if (flag) {
world.setBlock(x + i1, y, z + j1, block, 0, 4);
world.setBlock(x + i1 + 1, y, z + j1, block, 0, 4);
world.setBlock(x + i1, y, z + j1 + 1, block, 0, 4);
world.setBlock(x + i1 + 1, y, z + j1 + 1, block, 0, 4);
} else {
world.setBlock(x, y, z, block, 0, 4);
}
if (!((WorldGenerator) object).generate(world, rand, x + i1, y, z + j1)) {
if (flag) {
world.setBlock(x + i1, y, z + j1, this, l, 4);
world.setBlock(x + i1 + 1, y, z + j1, this, l, 4);
world.setBlock(x + i1, y, z + j1 + 1, this, l, 4);
world.setBlock(x + i1 + 1, y, z + j1 + 1, this, l, 4);
} else {
world.setBlock(x, y, z, this, l, 4);
}
}
}
项目:Fallacia
文件:FSapling.java
public void func_149878_d(World world, int x, int y, int z, Random random) {
if (!net.minecraftforge.event.terraingen.TerrainGen.saplingGrowTree(world, random, x, y, z)) return;
int l = world.getBlockMetadata(x, y, z) & 7;
Object object = random.nextInt(10) == 0 ? new WorldGenBigTree(true) : new WorldGenTrees(true);
int i1 = 0;
int j1 = 0;
boolean flag = false;
switch (l) {
case 0:
object = new WorldGenMagicalTree();
break;
case 1:
break;
case 2:
break;
case 3:
break;
case 4:
break;
case 5:
break;
default:
break;
}
Block block = Blocks.air;
if (flag) {
world.setBlock(x + i1, y, z + j1, block, 0, 4);
world.setBlock(x + i1 + 1, y, z + j1, block, 0, 4);
world.setBlock(x + i1, y, z + j1 + 1, block, 0, 4);
world.setBlock(x + i1 + 1, y, z + j1 + 1, block, 0, 4);
} else {
world.setBlock(x, y, z, block, 0, 4);
}
if (!((WorldGenerator) object).generate(world, random, x + i1, y, z + j1)) {
if (flag) {
world.setBlock(x + i1, y, z + j1, this, l, 4);
world.setBlock(x + i1 + 1, y, z + j1, this, l, 4);
world.setBlock(x + i1, y, z + j1 + 1, this, l, 4);
world.setBlock(x + i1 + 1, y, z + j1 + 1, this, l, 4);
} else {
world.setBlock(x, y, z, this, l, 4);
}
}
}
项目:ZeroQuest
文件:BiomeGenNileJungle.java
public WorldGenAbstractTree func_150567_a(Random p_150567_1_)
{
return (WorldGenAbstractTree)(p_150567_1_.nextInt(10) == 0 ? this.worldGeneratorBigTree : (p_150567_1_.nextInt(2) == 0 ? new WorldGenShrub(3, 0) : (!this.field_150614_aC && p_150567_1_.nextInt(3) == 0 ? new WorldGenMegaJungle(false, 10, 20, 3, 3) : new WorldGenTrees(false, 4 + p_150567_1_.nextInt(7), 3, 3, true))));
}
项目:ZeroQuest
文件:BiomeGenNileJungle.java
public WorldGenAbstractTree genBigTreeChance(Random p_150567_1_)
{
return (WorldGenAbstractTree)(p_150567_1_.nextInt(10) == 0 ? this.worldGeneratorBigTree : (p_150567_1_.nextInt(2) == 0 ? new WorldGenShrub(BlockPlanks.EnumType.JUNGLE.getMetadata(), BlockPlanks.EnumType.OAK.getMetadata()) : (!this.field_150614_aC && p_150567_1_.nextInt(3) == 0 ? new WorldGenMegaJungle(false, 10, 20, BlockPlanks.EnumType.JUNGLE.getMetadata(), BlockPlanks.EnumType.JUNGLE.getMetadata()) : new WorldGenTrees(false, 4 + p_150567_1_.nextInt(7), BlockPlanks.EnumType.JUNGLE.getMetadata(), BlockPlanks.EnumType.JUNGLE.getMetadata(), true))));
}
项目:Cauldron
文件:BiomeGenJungle.java
public WorldGenAbstractTree func_150567_a(Random p_150567_1_)
{
return (WorldGenAbstractTree)(p_150567_1_.nextInt(10) == 0 ? this.worldGeneratorBigTree : (p_150567_1_.nextInt(2) == 0 ? new WorldGenShrub(3, 0) : (!this.field_150614_aC && p_150567_1_.nextInt(3) == 0 ? new WorldGenMegaJungle(false, 10, 20, 3, 3) : new WorldGenTrees(false, 4 + p_150567_1_.nextInt(7), 3, 3, true))));
}
项目:Cauldron
文件:BiomeGenJungle.java
public WorldGenAbstractTree func_150567_a(Random p_150567_1_)
{
return (WorldGenAbstractTree)(p_150567_1_.nextInt(10) == 0 ? this.worldGeneratorBigTree : (p_150567_1_.nextInt(2) == 0 ? new WorldGenShrub(3, 0) : (!this.field_150614_aC && p_150567_1_.nextInt(3) == 0 ? new WorldGenMegaJungle(false, 10, 20, 3, 3) : new WorldGenTrees(false, 4 + p_150567_1_.nextInt(7), 3, 3, true))));
}
项目:Rediscovered-Mod-1.6.4
文件:BiomeGenSky.java
/**
* Gets a WorldGen appropriate for this biome.
*/
public WorldGenerator getRandomWorldGenForTrees(Random par1Random)
{
return (WorldGenerator)(par1Random.nextInt(2) == 0 ? new WorldGenTrees(true) : (par1Random.nextInt(1) == 0 ? new WorldGenCherryTrees(true) : (par1Random.nextInt(2) == 0 ? new WorldGenBigCherryTrees(true) : new WorldGenBigCherryTrees(true))));
}
项目:Pikmmin_Mo-Stuff
文件:PmsSapling.java
public void func_149878_d(World world, int x, int y, int z, Random random)
{
if (!net.minecraftforge.event.terraingen.TerrainGen.saplingGrowTree(world, random, x, y, z)) return;
int l = world.getBlockMetadata(x, y, z) & 7;
Object object = random.nextInt(10) == 0 ? new WorldGenBigTree(true) : new WorldGenTrees(true);
int i1 = 0;
int j1 = 0;
boolean flag = false;
switch (l)
{
case 0:
object = new WorldGenAutumnOakTree(PikminsMoStuff.blockLogs, PikminsMoStuff.blockleaves, 0, 0, true, 5, 30, false);
break;
case 1:
break;
case 2:
break;
case 3:
break;
case 5:
break;
default:
break;
}
Block block = Blocks.air;
if (flag)
{
world.setBlock(x + i1, y, z + j1, block, 0, 4);
world.setBlock(x + i1 + 1, y, z + j1, block, 0, 4);
world.setBlock(x + i1, y, z + j1 + 1, block, 0, 4);
world.setBlock(x + i1 + 1, y, z + j1 + 1, block, 0, 4);
}
else
{
world.setBlock(x, y, z, block, 0, 4);
}
if (!((WorldGenerator)object).generate(world, random, x + i1, y, z + j1))
{
if (flag)
{
world.setBlock(x + i1, y, z + j1, this, l, 4);
world.setBlock(x + i1 + 1, y, z + j1, this, l, 4);
world.setBlock(x + i1, y, z + j1 + 1, this, l, 4);
world.setBlock(x + i1 + 1, y, z + j1 + 1, this, l, 4);
}
else
{
world.setBlock(x, y, z, this, l, 4);
}
}
}
项目:Pikmmin_Mo-Stuff
文件:PmsSapling.java
public void func_149878_d(World world, int x, int y, int z, Random random)
{
if (!net.minecraftforge.event.terraingen.TerrainGen.saplingGrowTree(world, random, x, y, z)) return;
int l = world.getBlockMetadata(x, y, z) & 7;
Object object = random.nextInt(10) == 0 ? new WorldGenBigTree(true) : new WorldGenTrees(true);
int i1 = 0;
int j1 = 0;
boolean flag = false;
switch (l)
{
case 0:
object = new WorldGenAutumnOakTree(PikminsMoStuff.blockLogs, PikminsMoStuff.blockleaves, 0, 0, true, 5, 30, false);
break;
case 1:
break;
case 2:
break;
case 3:
break;
case 5:
break;
default:
break;
}
Block block = Blocks.air;
if (flag)
{
world.setBlock(x + i1, y, z + j1, block, 0, 4);
world.setBlock(x + i1 + 1, y, z + j1, block, 0, 4);
world.setBlock(x + i1, y, z + j1 + 1, block, 0, 4);
world.setBlock(x + i1 + 1, y, z + j1 + 1, block, 0, 4);
}
else
{
world.setBlock(x, y, z, block, 0, 4);
}
if (!((WorldGenerator)object).generate(world, random, x + i1, y, z + j1))
{
if (flag)
{
world.setBlock(x + i1, y, z + j1, this, l, 4);
world.setBlock(x + i1 + 1, y, z + j1, this, l, 4);
world.setBlock(x + i1, y, z + j1 + 1, this, l, 4);
world.setBlock(x + i1 + 1, y, z + j1 + 1, this, l, 4);
}
else
{
world.setBlock(x, y, z, this, l, 4);
}
}
}
项目:RuneCraftery
文件:BiomeGenJungle.java
public WorldGenerator func_76740_a(Random p_76740_1_) {
return (WorldGenerator)(p_76740_1_.nextInt(10) == 0?this.field_76758_O:(p_76740_1_.nextInt(2) == 0?new WorldGenShrub(3, 0):(p_76740_1_.nextInt(3) == 0?new WorldGenHugeTrees(false, 10 + p_76740_1_.nextInt(20), 3, 3):new WorldGenTrees(false, 4 + p_76740_1_.nextInt(7), 3, 3, true))));
}
项目:RuneCraftery
文件:BiomeGenJungle.java
/**
* Gets a WorldGen appropriate for this biome.
*/
public WorldGenerator getRandomWorldGenForTrees(Random par1Random)
{
return (WorldGenerator)(par1Random.nextInt(10) == 0 ? this.worldGeneratorBigTree : (par1Random.nextInt(2) == 0 ? new WorldGenShrub(3, 0) : (par1Random.nextInt(3) == 0 ? new WorldGenHugeTrees(false, 10 + par1Random.nextInt(20), 3, 3) : new WorldGenTrees(false, 4 + par1Random.nextInt(7), 3, 3, true))));
}
项目:TheStuffMod
文件:BiomeRubberPlains.java
@Override
public WorldGenAbstractTree func_150567_a(Random rand){
int l = rand.nextInt(2);
if(l == 0) {return new WorldGenModTree(ModBlocks.rubberWood, ModBlocks.rubberLeaves);}
else {return new WorldGenTrees(false);}
}
项目:BetterNutritionMod
文件:BiomeGenJungle.java
/**
* Gets a WorldGen appropriate for this biome.
*/
public WorldGenerator getRandomWorldGenForTrees(Random par1Random)
{
return (WorldGenerator)(par1Random.nextInt(10) == 0 ? this.worldGeneratorBigTree : (par1Random.nextInt(2) == 0 ? new WorldGenShrub(3, 0) : (par1Random.nextInt(3) == 0 ? new WorldGenHugeTrees(false, 10 + par1Random.nextInt(20), 3, 3) : new WorldGenTrees(false, 4 + par1Random.nextInt(7), 3, 3, true))));
}
项目:MysticMods
文件:BiomeGenJungle.java
/**
* Gets a WorldGen appropriate for this biome.
*/
public WorldGenerator getRandomWorldGenForTrees(Random par1Random)
{
return (WorldGenerator)(par1Random.nextInt(10) == 0 ? this.worldGeneratorBigTree : (par1Random.nextInt(2) == 0 ? new WorldGenHugeTrees(false, 10 + par1Random.nextInt(20), 3, 3) : new WorldGenTrees(false, 4 + par1Random.nextInt(7), 3, 3, true)));
}
项目:Sugarplus
文件:BlockCocoaTreeSaplings.java
@Override
public void func_149878_d(World world, int x, int y, int z, Random random) {
if(!TerrainGen.saplingGrowTree(world, random, x, y, z)) return;
int l = world.getBlockMetadata(x, y, z) & 7;
Object object = random.nextInt(10) == 0 ? new WorldGenBigTree(true) : new WorldGenTrees(true);
int i1 = 0;
int j1 = 0;
boolean flag = false;
switch(l) {
case 0:
object = new AbstractTreeCocoa();
break;
case 1:
break;
case 2:
break;
case 3:
break;
case 4:
break;
case 5:
break;
default:
break;
}
Block block = Blocks.air;
if(flag) {
world.setBlock(x + i1, y, z + j1, block, 0, 4);
world.setBlock(x + i1 + 1, y, z + j1, block, 0, 4);
world.setBlock(x + i1, y, z + j1 + 1, block, 0, 4);
world.setBlock(x + i1 + 1, y, z + j1 + 1, block, 0, 4);
} else {
world.setBlock(x, y, z, block, 0, 4);
}
if(!((WorldGenerator)object).generate(world, random, x + i1, y, z + j1)) {
if(flag) {
world.setBlock(x + i1, y, z + j1, this, l, 4);
world.setBlock(x + i1 + 1, y, z + j1, this, l, 4);
world.setBlock(x + i1, y, z + j1 + 1, this, l, 4);
world.setBlock(x + i1 + 1, y, z + j1 + 1, this, l, 4);
} else {
world.setBlock(x, y, z, this, l, 4);
}
}
}