← Packet index

Packet 331

GraphicsOverrideParameterPacket

Sent from the server to the client when a server script changes the rendering settings

Packet datagramWire order
HeaderID 331varuint
0Parameter Keyframe Valuesobject · variable
1Float Valuefloat · 4 bytes
2Vec3 ValueVec3 · variable
3Biome Identifierstring · variable
4Player Identifierstring · variable
5Identifier for Parameteruint8 · 1 byte
6Reset Parameterboolean · 1 byte

Serialized fields

7 top-level fields
  1. 0Parameter Keyframe ValuesTime of Day key to Graphics Parameter value, Depending on the parameters, either all three components are used as a color or just the x component is used as a float, int, or boolobject
  2. 1Float ValueIf set, contains a single float graphics parameter to be overridenfloat
  3. 2Vec3 ValueIf set, contains a single Vec3 graphics parameter to be overridenVec3
  4. 3Biome IdentifierDetermines which biome the override parameter is applied tostring
  5. 4Player IdentifieroptionalDetermines which player the override parameter is applied tostring
  6. 5Identifier for ParameterIdentifier for the parameter that is having its value changedEnum-as-ValueGraphicsOverrideParameterTypeas uint8
    1. 0SkyZenithColor
    2. 1SkyHorizonColor
    3. 2HorizonBlendMin
    4. 3HorizonBlendMax
    5. 4HorizonBlendStart
    6. 5HorizonBlendMieStart
    7. 6RayleighStrength
    8. 7SunMieStrength
    9. 8MoonMieStrength
    10. 9SunGlareShape
    11. 10Chlorophyll
    12. 11CDOM
    13. 12SuspendedSediment
    14. 13WavesDepth
    15. 14WavesFrequency
    16. 15WavesFrequencyScaling
    17. 16WavesSpeed
    18. 17WavesSpeedScaling
    19. 18WavesShape
    20. 19WavesOctaves
    21. 20WavesMix
    22. 21WavesPull
    23. 22WavesDirectionIncrement
    24. 23MidtonesContrast
    25. 24HighlightsContrast
    26. 25ShadowsContrast
    27. 26HighlightsGain
    28. 27HighlightsGamma
    29. 28HighlightsOffset
    30. 29HighlightsSaturation
    31. 30MidtonesGain
    32. 31MidtonesGamma
    33. 32MidtonesOffset
    34. 33MidtonesSaturation
    35. 34ShadowsGain
    36. 35ShadowsGamma
    37. 36ShadowsOffset
    38. 37ShadowsSaturation
    39. 38HighlightsMin
    40. 39ShadowsMax
    41. 40Temperature
    42. 41SunColor
    43. 42SunIlluminance
    44. 43MoonColor
    45. 44MoonIlluminance
    46. 45FlashColor
    47. 46FlashIlluminance
    48. 47AmbientColor
    49. 48AmbientIlluminance
    50. 49EmissiveDesaturation
    51. 50SkyIntensity
    52. 51OrbitalOffsetDegrees
  7. 6Reset ParameterIf true, the specified parameter will be reset. If false, the parameter will be set using the data fields.boolean

Changelog

Stable releases

Changes between stable protocol releases.

No stable release changes are recorded for this packet.