Class BiomeMaskJsonLoader


public class BiomeMaskJsonLoader extends JsonLoader<SeedStringResource, IIntCondition>
Biome masks can be used to control the placement of world-gen features. In json format they'd be defined as an array of 'rule' strings.

A rule string should defined in the format: "Zone_Name.Biome_Name#Type": 'Zone_Name' - The containing Zone's name. If excluded then the Zone is derived from context. 'Biome_Name' - The name of the Biome to add to the mask. 'Type' - The type of Biome (Tile or Custom). If excluded then Biomes of each type will be added to the mask.

Special characters: '.' - Character separates the Zone invalid input: '&' Biome names. '#' - Character separates the Biome invalid input: '&' Type names. '*' - Wildcard character can be used to match all Biomes in the Zone

Examples: "Zone1_Tier1.Plains_Birch#Tile" - Match Tile.Plains_Birch.json only in Z1T1 "Zone1_Tier1.*#Custom" - Match all Custom biomes in Z1T1 "Zone1_Tier1.Plains_Birch" - Match Tile invalid input: '&' Custom variants of Plains_Birch in Z1T1 "Plains_Birch#Custom" - Match Custom.Plains_Birch.json in the currently loading Zone "Plains_Birch" - Match Tile invalid input: '&' Custom variants of Plains_Birch in the currently loading Zone