#✅ | how do i get a settigs value from a vanilla setting?

1 messages · Page 1 of 1 (latest)

lavish hazel
#

how do i get a settigs value from a vanilla setting?

austere totemBOT
# lavish hazel how do i get a settigs value from a vanilla setting?

You can read Minecraft options with the minecraft_option_value placeholder. For example, to show the current master volume in text, use:

{"placeholder":"minecraft_option_value","values":{"name":"soundCategory_master"}}

And for things like render distance, FOV etc. just replace the name with the option identifier (e.g., renderDistance, fov, etc.). You can also use that placeholder when setting slider labels or calculators. See the “Set/Get Minecraft Options” guide for more examples and option names.