Crates a new custom biome with specified string identifier
string identifier of the biome
custom biome numeric id
Custom biome name
Pointer to biome's native object, represented as long number
whether biome is invalid
This method is mapped on native parameter with the same name and its effect is currently not known
block's tile id
block data
reference to itself to be used in sequential calls
Defines the client-side biome params from given JSON string. Throws [[java.lang.IllegalArgumentException]] if the string cannot be parsed.
reference to itself to be used in sequential calls
// many thanks to DansZbar2 for the example
var cherry = new CustomBiome("environmental_cherry");
cherry.setClientJson(JSON.stringify({
"water_surface_color": "#d176e1",
"water_fog_color": "#a35dc2",
"water_surface_transparency": 0.7,
"water_fog_distance": 11,
"fog_identifier": "environmental:environmental_cherry" // custom fog defined in the addon
}));
Specifies the block that will cover the biome. E.g. most of the biomes use grass as cover block, though some of the biomes use other blocks (sand, ice, etc.)
block's tile id
block data
reference to itself to be used in sequential calls
Sets the block that fills the terrain. Vanilla biomes use stone filling
block's tile id
block data
reference to itself to be used in sequential calls
Sets biome's foliage color
red color component, value from 0 to 1
green color component, value from 0 to 1
blue color component, value from 0 to 1
reference to itself to be used in sequential calls
Sets biome's foliage color
integer color value (you can specify it using hex value)
reference to itself to be used in sequential calls
Sets biome's grass color. Grass color is interpolated on the bounds of the biome
red color component, value from 0 to 1
green color component, value from 0 to 1
blue color component, value from 0 to 1
reference to itself to be used in sequential calls
Sets biome's grass color. Grass color is interpolated on the bounds of the biome
integer color value (you can specify it using hex value)
reference to itself to be used in sequential calls
Sets the block that fills the floor at the bottom of the sea or the ocean. Vanilla biomes use gravel or stone filling
block's tile id
block data
reference to itself to be used in sequential calls
Sets the average depth of the see floor in this biome.
depth of the see floor by Y-axis
reference to itself to be used in sequential calls
Defines the server-side biome params from given JSON string. Throws [[java.lang.IllegalArgumentException]] if the string cannot be parsed.
reference to itself to be used in sequential calls
// many thanks to DansZbar2 for the example
var cherry = new CustomBiome("environmental_cherry");
cherry.setServerJson(JSON.stringify({
"minecraft:climate": {
"downfall": 0.0,
"snow_accumulation": [ 0.0, 0.0 ],
"temperature": 2.0,
"blue_spores": 0,
"red_spores": 0,
"white_ash": 0,
"ash": 0
},
"minecraft:overworld_height": {
"noise_type": "default"
},
"animal": {},
"monster": {},
"overworld": {},
"environmental_cherry": {},
"minecraft:surface_parameters": {
"top_material": "minecraft:grass",
"mid_material": "minecraft:dirt",
"foundation_material": "minecraft:stone",
"sea_floor_material": "minecraft:clay",
"sea_material": "minecraft:water",
"sea_floor_depth": 7
},
"minecraft:overworld_generation_rules": {
"hills_transformation": "jungle_hills",
"generate_for_climates": [
[ "cold", 5 ],
[ "medium", 20 ],
[ "warm", 35 ],
]
}
}));
Sets biome's sky color
red color component, value from 0 to 1
green color component, value from 0 to 1
blue color component, value from 0 to 1
reference to itself to be used in sequential calls
Sets biome's sky color
integer color value (you can specify it using hex value)
reference to itself to be used in sequential calls
Specifies the block that will be under the covering block of the biome. E.g. most of the biomes use dirt as cover block, though some of the biomes use other blocks
block's tile id
block data
reference to itself to be used in sequential calls
This method is mapped on native parameter with the same name and its effect is currently not known
some integer parameter. Default value is 7
reference to itself to be used in sequential calls
Sets biome's temperature and downfall
temperature value, from 0 to 1
downfall value, from 0 to 1
reference to itself to be used in sequential calls
Sets biome's water color
red color component, value from 0 to 1
green color component, value from 0 to 1
blue color component, value from 0 to 1
reference to itself to be used in sequential calls
Sets biome's water color
integer color value (you can specify it using hex value)
reference to itself to be used in sequential calls
[[java.util.HashMap]] object instance, with all custom biomes registered by every mod
Generated using TypeDoc
Class used to create custom biomes. Note that Minecraft has a limit of 256 biomes and there are already more than 100 vanilla biomes, so do not overuse this functionality. See {@page Biomes}