worldGen
dimension (Int) | condition* | generationChance (Double) | patchAttempts (Int) | plantAttempts (Int)
Where
conditioncan be:- biome:modid:name (biome:ResourceLocation)
- type:name (type:BiomeDictionary.Type)
- anywhere / everywhere
Examples
This will generate the plant in the
biomesoplenty:pasturebiome with a100%chance, and in any biome with thedryandsparseBiomeDictionary Type with a50%chance:0 | biome:biomesoplenty:pasture | 1.0 | 128 | 64 0 | type:dry | 0.5 | 1 | 8 0 | type:sparse | 0.5 | 1 | 8You can reverse the condition using
!:0 | !type:savanna | 1.0 | 16 | 64 0 | !type:plains | 1.0 | 16 | 64 0 | !type:beach | 1.0 | 16 | 64 0 | !type:dry | 1.0 | 16 | 64 0 | !type:jungle | 1.0 | 16 | 64Use the keyword
anywhereoreverywhereto generate the plant in every biome:0 | anywhere | 0.5 | 8 | 32
Last modified: 18 October 2024