Skip to content

Commit 0e32ef1

Browse files
committed
Water Settings 1.21.120
1 parent 871b939 commit 0e32ef1

3 files changed

Lines changed: 182 additions & 1 deletion

File tree

packages/minecraftBedrock/schema/waterSettings/main.json

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,31 @@
2222
"1.21.50",
2323
"1.21.60",
2424
"1.21.70",
25-
"1.21.80"
25+
"1.21.80",
26+
"1.21.90",
27+
"1.21.100",
28+
"1.21.110"
2629
]
2730
}
2831
}
2932
},
3033
"then": {
3134
"$ref": "./v1.21.70/main.json"
3235
}
36+
},
37+
{
38+
"if": {
39+
"properties": {
40+
"format_version": {
41+
"enum": [
42+
"1.21.120"
43+
]
44+
}
45+
}
46+
},
47+
"then": {
48+
"$ref": "./v1.21.120/main.json"
49+
}
3350
}
3451
]
3552
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"$schema": "http://json-schema.org/draft-07/schema",
3+
"type": "object",
4+
"properties": {
5+
"identifier": {
6+
"title": "Identifier",
7+
"description": "Identifier of the Water Settings.",
8+
"$ref": "../../general/reference/prefixedFileIdentifier.json"
9+
}
10+
}
11+
}
Lines changed: 153 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,153 @@
1+
{
2+
"$schema": "http://json-schema.org/draft-07/schema",
3+
"type": "object",
4+
"properties": {
5+
"minecraft:water_settings": {
6+
"title": "Water Settings Definition",
7+
"type": "object",
8+
"properties": {
9+
"description": {
10+
"title": "Description",
11+
"$ref": "./description.json"
12+
},
13+
"particle_concentrations": {
14+
"title": "Particle Concentrations",
15+
"type": "object",
16+
"properties": {
17+
"cdom": {
18+
"title": "Colored Dissolved Organic Matter",
19+
"description": "Concentration of chromophoric dissolved organic matter in mg/L; higher concentrations produce more yellow/yellow-brown colors",
20+
"type": "number",
21+
"minimum": 0.0,
22+
"maximum": 15.0
23+
},
24+
"chlorophyll": {
25+
"title": "Chlorophyll",
26+
"description": "Concentration of chlorophyll in mg/L; higher concentrations produce more green colors.",
27+
"type": "number",
28+
"minimum": 0.0,
29+
"maximum": 10.0
30+
},
31+
"suspended_sediment": {
32+
"title": "Suspended Sediment",
33+
"description": "Concentration of suspended sediment in mg/L; higher concentrations produce more red/red-brown colors.",
34+
"type": "number",
35+
"minimum": 0.0,
36+
"maximum": 300.0
37+
}
38+
}
39+
},
40+
"caustics": {
41+
"title": "Caustics",
42+
"type": "object",
43+
"properties": {
44+
"enabled": {
45+
"title": "Enabled",
46+
"description": "Whether or not caustics are on or off."
47+
},
48+
"frame_length": {
49+
"title": "Frame Length",
50+
"description": "How many seconds to spend on each frame of animation in the caustics texture.",
51+
"type": "number",
52+
"minimum": 0.0,
53+
"maximum": 5.0
54+
},
55+
"power": {
56+
"title": "Power",
57+
"description": "Controls how bright the caustics effect appears.",
58+
"type": "integer",
59+
"minimum": 1,
60+
"maximum": 6
61+
},
62+
"scale": {
63+
"title": "Scale",
64+
"description": "Controls how size of the repetition of the caustics texture.",
65+
"type": "number",
66+
"minimum": 0,
67+
"maximum": 5.0
68+
},
69+
"texture": {
70+
"title": "Texture",
71+
"description": "Resource location to a texture for controlling the shape of the caustics; if not used, a built-in Minecraft texture will be supplied automatically.",
72+
"type": "string"
73+
}
74+
}
75+
},
76+
"waves": {
77+
"title": "Waves",
78+
"type": "object",
79+
"properties": {
80+
"enabled": {
81+
"title": "Enabled",
82+
"description": "Whether or not waves are on or off.",
83+
"type": "boolean"
84+
},
85+
"depth": {
86+
"title": "Depth",
87+
"description": "Controls the amount of wave displacement.",
88+
"type": "number",
89+
"minimum": 0.0,
90+
"maximum": 3.0
91+
},
92+
"frequency": {
93+
"title": "Frequency",
94+
"description": "Controls the size of individual waves; higher values create more tightly packed waves.",
95+
"type": "number",
96+
"minimum": 0.01,
97+
"maximum": 3.0
98+
},
99+
"frequency_scaling": {
100+
"title": "Frequency Scaling",
101+
"description": "Controls how much frequencies change in subsequent octaves.",
102+
"type": "number",
103+
"minimum": 0.0,
104+
"maximum": 2.0
105+
},
106+
"mix": {
107+
"title": "Mix",
108+
"description": "Controls how much each octave will blend into the neighboring octave.",
109+
"type": "number",
110+
"minimum": 0.0,
111+
"maximum": 1.0
112+
},
113+
"octaves": {
114+
"title": "Octaves",
115+
"description": "Determines how many layers of waves to simulate; high values result in more complex waves.",
116+
"type": "integer",
117+
"minimum": 1,
118+
"maximum": 30
119+
},
120+
"pull": {
121+
"title": "Pull",
122+
"description": "Controls how much smaller waves are pulled into larger ones",
123+
"type": "number",
124+
"minimum": -1.0,
125+
"maximum": 1.0
126+
},
127+
"shape": {
128+
"title": "Shape",
129+
"description": "Adjusts the shape of the wave.",
130+
"type": "number",
131+
"minimum": 1.0,
132+
"maximum": 10.0
133+
},
134+
"speed": {
135+
"title": "Speed",
136+
"description": "Controls the starting speed of the first waves.",
137+
"type": "number",
138+
"minimum": 0.01,
139+
"maximum": 10.0
140+
},
141+
"speed_scaling": {
142+
"title": "Speed Scaling",
143+
"description": "Controls how much faster/slower subsequent octaves move.",
144+
"type": "number",
145+
"minimum": 0.0,
146+
"maximum": 2.0
147+
}
148+
}
149+
}
150+
}
151+
}
152+
}
153+
}

0 commit comments

Comments
 (0)