示例#1
0
        public BiomeHill(BiomeHillType type, BiomeProperties properties, GeneratorSettings genSettings)
            : base(properties, genSettings)
        {
            _type = type;
            if (type == BiomeHillType.Normal)
            {
                _name    = "extreme_hills";
                _biomeId = BiomeId.ExtremeHills;

                _baseHeight      = 1.0F;
                _heightVariation = 0.5F;
                _temperature     = 0.2F;
                _rainfall        = 0.3F;
                _enableRain      = true;
            }
            else
            {
                _name    = "extreme_hills";
                _biomeId = BiomeId.ExtremeHills;

                _baseHeight      = 1.0F;
                _heightVariation = 0.5F;
                _temperature     = 0.2F;
                _rainfall        = 0.3F;
                _enableRain      = true;
            }
        }
示例#2
0
        public BiomeHill(BiomeHillType type, BiomeProperties properties, GeneratorSettings genSettings)
            : base(properties, genSettings)
        {
            _type = type;
            if (type == BiomeHillType.Normal)
            {
                _name    = "extreme_hills";
                _biomeId = BiomeId.Mountains; // TODO: 1.15.2 do not have extreme hills

                _baseHeight      = 1.0F;
                _heightVariation = 0.5F;
                _temperature     = 0.2F;
                _rainfall        = 0.3F;
                _enableRain      = true;
            }
            else
            {
                _name    = "extreme_hills";
                _biomeId = BiomeId.Mountains;

                _baseHeight      = 1.0F;
                _heightVariation = 0.5F;
                _temperature     = 0.2F;
                _rainfall        = 0.3F;
                _enableRain      = true;
            }

            _passiveMobList.Add(MobType.Pig);
            _passiveMobList.Add(MobType.Sheep);
            _passiveMobList.Add(MobType.Cow);
            _passiveMobList.Add(MobType.Chicken);

            _monsterList.Add(MobType.Creeper);
            _monsterList.Add(MobType.Zombie);
            _monsterList.Add(MobType.Skeleton);
            _monsterList.Add(MobType.Spider);
        }