minecraft:water_appearance for you with a switch.Get GodCraftOverview
minecraft:water_appearance is a client biome component: it goes in the components object of a client biome file. Sets how the top of the water looks in this biome, like the green water of swamps.
Fields
| Field | Type | Default | Description |
|---|---|---|---|
surface_color | Color255RGB | none | Color of the water surface. |
surface_opacity | number | none | How see-through the water surface is, from 0 (invisible) to 1 (solid). |
Example
Inside the components object of RP/biomes/<name>.client_biome.json (values are the defaults or placeholders):
RP/biomes/<name>.client_biome.json
{
"minecraft:water_appearance": {
"surface_color": {},
"surface_opacity": 1
}
}