BiomeVisuals
SpigotMCModrinthA plugin that allows server owners to override sent biome to clients.
340 downloads 5.0 rating
latest vCurrently Version 4.1 SpigotMC
ONLY SUPPORTS 1.19.3
There are no dependencies needed for this plugin.
Please go to
Owen1212055/BiomeVisuals for the advanced documentation.
Need help? See:
discord
![[IMG]](http://proxy.spigotmc.org/d65fb58ab7a339bffd1113e0915415a94e4c11b2?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F23108066%2F147176650-2585395b-6ab0-4936-9815-6af428354689.png)
File Importing
The plugin will automatically try to import overrides that are defined in the
overrides directory located in the plugin directory. (
BiomeVisuals/overrides)
In order to add an override, you must first define the registry type that you are overriding. This is in case if any new overrides are added in the future.
Currently, the supported override types are: worldgen/biome.
Then, you will add the JSON object for an override, which is:
Code (Text):
{
"key": "minecraft:plains",
"override": {},
"condition": {
"type": "",
}
}
This usually represents the namespace of something, in this case, a biome.
The override field represents all fields that will be replaced in the original object.
See https://minecraft.fandom.com/wiki/Biome/JSON_format for fields that can be replaced.
For converting colors, I recommend using http://www.shodor.org/stella2java/rgbint.html.
The condition field represents a predicate, there is a chance that this may change in the future but my goal was to be able to assign "holidays" for example.
Current valid conditions
Code (Text):
"condition": {
"type": "biomevisuals:static",
"value": true
}
"type": "biomevisuals:static",
"value": true
}
Code (Text):
"condition": {
"type": "biomevisuals:date_range",
"min_date": "2021-12-20",
"max_date": "2021-12-31",
"ignore_year": true
}
"type": "biomevisuals:date_range",
"min_date": "2021-12-20",
"max_date": "2021-12-31",
"ignore_year": true
}
Ignore year causes the year in the min/max date field to be ignored, useful for re-occuring dates.
JSON Example
Code (Text):
{
"minecraft:worldgen/biome": [
{
"key": "minecraft:plains",
"override": {
"effects": {
"sky_color": 1
}
},
"condition": {
"type": "biomevisuals:static",
"value": true
}
},
{
"key": "minecraft:forest",
"override": {
"effects": {
"sky_color": 15138811,
"foliage_color": 13434879,
"grass_color": 13434879,
"particle": {
"options": {
"type": "minecraft:snowflake"
},
"probability": 0.01428
}
}
},
"condition": {
"type": "biomevisuals:date_range",
"min_date": "2021-12-20",
"max_date": "2021-12-31",
"ignore_year": true
}
}
]
}
"minecraft:worldgen/biome": [
{
"key": "minecraft:plains",
"override": {
"effects": {
"sky_color": 1
}
},
"condition": {
"type": "biomevisuals:static",
"value": true
}
},
{
"key": "minecraft:forest",
"override": {
"effects": {
"sky_color": 15138811,
"foliage_color": 13434879,
"grass_color": 13434879,
"particle": {
"options": {
"type": "minecraft:snowflake"
},
"probability": 0.01428
}
}
},
"condition": {
"type": "biomevisuals:date_range",
"min_date": "2021-12-20",
"max_date": "2021-12-31",
"ignore_year": true
}
}
]
}
Comments 0
No comments yet. Be the first to share your thoughts.