⚠️ 本站正在迁移中,部分数据未对齐原站且数据可能陈旧,请谅解。
1 - 什么是 world.ini
在Cuberite中,您可以配置个别世界的许多不同方面。配置选项包括:
- 更改世界的生成点。
- 更改世界的游戏模式。
- 更改世界生成器,以改变生成的地形。
- 更改在世界中生成的植物类型。
- 更改允许生成的动物类型。
还有许多其他可以做的事情,这只是一些示例。 所有这些配置都可以通过一个文件完成。该文件称为world.ini,并可在每个世界的个别文件夹中找到。当Cuberite首次创建一个世界时,该文件将填充默认值,这些默认值与原版Minecraft相当接近。
该文件被分成许多不同的部分,每个部分都用方括号括起来的名称标识。例如,[SpawnPosition]是一个部分。每个部分包含与Cuberite的特定功能相关的配置选项。
`world.ini` 的内容
[General]Dimension=OverworldUnusedChunkCap=1000IsDaylightCycleEnabled=1Gamemode=0Weather=0WorldAgeMS=0TimeInTicks=0
[Broadcasting]BroadcastDeathMessages=1BroadcastAchievementMessages=1
[SpawnPosition]MaxViewDistance=10X=0.500000Y=115.000000Z=0.500000PregenerateDistance=20
[Storage]Schema=DefaultCompressionFactor=6
[Plants]MaxCactusHeight=3MaxSugarcaneHeight=3
[Physics]DeepSnow=1ShouldLavaSpawnFire=1TNTShrapnelLevel=2WaterSimulator=VanillaLavaSimulator=VanillaSandInstantFall=0RedstoneSimulator=Incremental
[Mechanics]CommandBlocksEnabled=0PVPEnabled=1UseChatPrefixes=1MinNetherPortalWidth=2MaxNetherPortalWidth=21MinNetherPortalHeight=3MaxNetherPortalHeight=21
[Monsters]VillagersShouldHarvestCrops=1AnimalsOn=1Types=bat, cavespider, chicken, cow, creeper, guardian, horse, mooshroom, ocelot, pig, rabbit, sheep, silverfish, skeleton, slime, spider, squid, wolf, zombie
[Weather]MaxSunnyTicks=180000MinSunnyTicks=12000MaxRainTicks=24000MinRainTicks=12000MaxThunderStormTicks=15600MinThunderStormTicks=3600
[LinkedWorlds]NetherWorldName=world_netherEndWorldName=world_the_end
[Generator]BiomeGen=GrownShapeGen=BiomalNoise3DCompositionGen=BiomalFinishers=RoughRavines, WormNestCaves, WaterLakes, WaterSprings, LavaLakes, LavaSprings, OreNests, Mineshafts, Trees, Villages, SinglePieceStructures: JungleTemple|WitchHut|DesertPyramid|DesertWell, TallGrass, SprinkleFoliage, Ice, Snow, Lilypads, BottomLava, DeadBushes, NaturalPatches, PreSimulator, Animals, OverworldClumpFlowersGenerator=ComposableBiomeGenCacheSize=16BiomeGenMultiCacheLength=128SeaLevel=62BiomalNoise3DFrequencyX=40.000000BiomalNoise3DFrequencyY=40.000000BiomalNoise3DFrequencyZ=40.000000BiomalNoise3DBaseFrequencyX=40.000000BiomalNoise3DBaseFrequencyZ=40.000000BiomalNoise3DChoiceFrequencyX=40.000000BiomalNoise3DChoiceFrequencyY=80.000000BiomalNoise3DChoiceFrequencyZ=40.000000BiomalNoise3DAirThreshold=0.000000BiomalNoise3DNumChoiceOctaves=4BiomalNoise3DNumDensityOctaves=6BiomalNoise3DNumBaseOctaves=6BiomalNoise3DBaseAmplitude=1.000000CompositionGenCacheSize=64RoughRavinesGridSize=256RoughRavinesMaxOffset=128RoughRavinesMaxSize=128RoughRavinesMinSize=64RoughRavinesMaxCenterWidth=8.000000RoughRavinesMinCenterWidth=2.000000RoughRavinesMaxRoughness=0.200000RoughRavinesMinRoughness=0.050000RoughRavinesMaxFloorHeightEdge=8.000000RoughRavinesMinFloorHeightEdge=30.000000RoughRavinesMaxFloorHeightCenter=20.000000RoughRavinesMinFloorHeightCenter=6.000000RoughRavinesMaxCeilingHeightEdge=56.000000RoughRavinesMinCeilingHeightEdge=38.000000RoughRavinesMaxCeilingHeightCenter=58.000000RoughRavinesMinCeilingHeightCenter=36.000000WormNestCavesSize=64WormNestCavesGrid=96WormNestMaxOffset=32WaterLakesProbability=25LavaLakesProbability=10MineShaftsGridSize=512MineShaftsMaxOffset=256MineShaftsMaxSystemSize=160MineShaftsChanceCorridor=600MineShaftsChanceCrossing=200MineShaftsChanceStaircase=200VillageGridSize=384VillageMaxOffset=128VillageMaxDepth=2VillageMaxSize=128VillageMinDensity=50VillageMaxDensity=80VillagePrefabs=PlainsVillage, SandVillageBottomLavaLevel=10PreSimulatorFallingBlocks=1PreSimulatorWater=1PreSimulatorLava=1OverworldClumpFlowers-1=Forest, -2, 2; ForestHills, -3, 2; FlowerForest = yellowflower; redflower; lilac; rosebushOverworldClumpFlowers-2=Plains, -2, 1; SunflowerPlains = yellowflower; redflower; azurebluet; redtulip; orangetulip; whitetulip; pinktulip; oxeyedaisyOverworldClumpFlowers-3=SunflowerPlains, 1, 2 = sunflowerOverworldClumpFlowers-4=FlowerForest, 2, 5 = allium; redtulip; orangetulip; whitetulip; pinktulip; oxeyedaisyOverworldClumpFlowers-5=Swampland; SwamplandM = brownmushroom; redmushroom; blueorchidOverworldClumpFlowers-6=MushroomIsland; MushroomShore; MegaTaiga; MegaTaigaHills; MegaSpruceTaiga; MegaSpruceTaigaHills = brownmushroom; redmushroomOverworldClumpFlowers-7=RoofedForest, 1, 5; RoofedForestM, 1, 5 = rosebush; peony; lilac; grass
[WaterSimulator]Falloff=1TickDelay=5NumNeighborsForSource=2
[LavaSimulator]Falloff=2TickDelay=30NumNeighborsForSource=-1
[FireSimulator]BurnStepTimeFuel=500BurnStepTimeNonfuel=100Flammability=50ReplaceFuelChance=50000
[Seed]Seed=775375601
[WaterSprings]HeightDistribution=0, 0; 10, 10; 11, 75; 16, 83; 20, 83; 24, 78; 32, 62; 40, 40; 44, 15; 48, 7; 56, 2; 64, 1; 255, 0Chance=24
[LavaSprings]HeightDistribution=0, 0; 10, 5; 11, 45; 48, 2; 64, 1; 255, 0Chance=9
[Animals]AnimalSpawnChunkPercentage=10
[SpawnProtect]ProtectRadius=10
[Difficulty]WorldDifficulty=1
[WorldLimit]LimitRadius=0