Перейти к содержимому
Mineforgian

Celestial

A Minecraft mod for Fabric and Forge that allows you to customize the sky.

Загрузки
476K
Подписчики
208
Обновлён
15 августа 2024 г.
Лицензия
MIT

Опубликован 13 ноября 2022 г.

Logo

github

Celestial is a mod that allows you to customize the sky in many ways, such as adding new planets, changing stars, and many other things! Everything is configured through a resource pack, so there is no need to mess through configs. Celestial also supports a wide variety of versions, with resource packs functioning identical on each different version.

features

- The creation of new planets and stars in the sky.

- Customization of the sky and fog colors.

- Customization of the fog distance.

- The ability to change the color and height of clouds.

- The creation of sky boxes with custom textures or solid colors.

- The ability to create immersive and animated skies, with countless variables available for use.

- Being able to customize the sky of any vanilla or modded dimension.

- And much more!

Without any resource packs, this mod will not affect anything

demo

Below are a few examples of what Celestial is capable of.

An alien planet sky.

The Overworld, rendering at y = 11,000.

A hurricane.

A night sky with planets from the Solar System.

Moons (Not available as a demo).

 

Want to try out these demos? Download them here

 

line.png

Check out these resource packs with Celestial support made by UsernameGeri!

Hyper Realistic Sky - Adds an extremely realistic skybox to the sky.

 

Snowy Mountains Sky - Adds realistic mountain ranges to your Minecraft worlds.

 

Elden Ring Sky - Adds several skyboxes from Elden Ring.

 

line.png

Fabric versions require Fabric API

If you are interested in making your own resource pack, check out the wiki here.

Feel free to use this in modpacks or personal content!

line.png

 

Need assistance with anything, or having issues? Join the discord!

Ченджлог

2.0Альфа1.21, 1.21.1 · 15 августа 2024 г.

Almost a complete rewrite, lots of new features, and better performance.

Please refer to this page for updating your resource packs to this version of Celestial

Performance

  • Moved to a different expression parsing system, which performs significantly better than the previous one.
  • FPS no longer drops when rendering large quantities of populate objects.
  • Overall improved various parts of Celestial, which should result in better performance.

Triangle Fan Objects

  • Added a new type of celestial object: "triangle_fan". Triangle fans can be used to create circular objects and twilight effects.

Twilight Objects

  • Added a new type of celestial object: "twilight". Twilight objects can be used to create custom twilight effects (ex. custom sunrises/sunsets).
  • As a result, twilight settings in the environment category have been deprecated, and will be removed in an upcoming update.

Sky Objects

  • Changed default base degree rotations for x and z to be 0 degrees.
  • Added "legacy_rotations" boolean to dimensions.json, which the default base degree rotations for x and z back to -90 degrees.
  • Changed default values for unset options to be greater than 0.

Local Variables

  • Variables can now be registered directly in a sky object file, within the "local_variables" json object list.
  • Local variables can only be used in the sky object it was registered in.

Vertex List

  • Added "alpha" and "color" entries to individual vertex points.
  • Slightly improved vertex list rendering performance.

Error Messages

  • Improved error messages to be more easier to read visually, and to be significantly more useful.
  • Error messages will state where they occured, and will be slightly more specific as to what is causing the issue.
  • Error messages will also state if they occured during compilation, or if they occured after.
  • An error message will now occur when a texture path is invalid.

Color Entries

  • Added global color entries, located in "celestial/sky/color_entries.json". Global color entries are color entries that can be registered and used in place of HEX color values.
  • Removed "inherit" option from color entries, as "#skyColor" and "#fogColor" can be used instead. Color Entry Overrides
  • Renamed "alpha" entry to "ratio".
  • Added "red_ratio", "gren_ratio", "blue_ratio" entries, which control the ratio of each color.
  • Added "red", "green", and "blue" entries.
  • Added three new variables for color entry overrides: "red", "green", and "blue" (Returns the RGB values before the color override is applied). Color Entry Blend Types
  • Added "blend_type" entry, which determines the method for blending the color override with the base color.
  • Added "linear_interpolation" blend type, which is the default blend type.
  • Added "override" blend type, which completely overrides the original color. Useful when using the "red", "green", and "blue" variables. Ratios are ignored for this blend type.
  • Added "lab" blend type, which uses LAB colors instead of RGB colors when blending. Results in much nicer color blend gradients when used.
  • Added "apply_fog_additions" blend type, which applies additional fog effects from twilight objects.

Sky Boxes

  • Sky boxes can now be rotated using base degree rotation values.
  • Removed unnecessary "texture" entry in skybox properties

Variables and Functions

  • Removed requirement for variable calls to start with a hashtag. Hashtags will however still be accepted in equations, and will simply be ignored.

  • Renamed "rainLevel" to "rainAlpha", and changed it to no longer return "1 - (Rain level)".

  • Renamed "thunderGradient" to "thunderAlpha"

  • Renamed function "isInBiome" to "inBiome".

  • Renamed function "isUsing" to "rightClickingWith".

  • Renamed function "isMiningWith" to "leftClickingWith".

  • Renamed function "isHolding" to "holding".

  • Renamed function "isInArea" to "inArea".

  • Renamed function "distanceToBiomeIgnoreY" to "distanceToBiomeFlat".

  • Changed function "distanceToBiome" arguments to "distanceToBiome([Distance], [Biome Name]...)".

  • Changed function "distanceToBiomeFlat" arguments to "distanceToBiomeFlat([Distance], [Y Position], [Biome Name]...)".

  • Changed function "inBiome" arguments to "inBiome([Biome Name]...)".

  • Changed function "holding" arguments to "holding([Item ID]...)".

  • Changed function "leftClickingWith" arguments to "leftClickingWith([Item ID]...)".

  • Changed function "rightClickingWith" arguments to "rightClickingWith([Item ID]...)".

  • Renamed variable "isRightClicking" to "rightClicking".

  • Renamed variable "isLeftClicking" to "leftClicking".

  • Renamed variable "isSubmerged" to "submerged".

  • Renamed variable "getGameTime" to "gameTime".

  • Renamed variable "getWorldTime" to "worldTime".

  • Renamed variable "getDayTime" to "dayTime".

  • Renamed variable "xPos" to "posX".

  • Renamed variable "yPos" to "posY".

  • Renamed variable "zPos" to "posZ".

  • Replaced "[Number]m[Min]" format with function "min([Number], [Min]...)".

  • Replaced "[Number]M[Max]" format with function "max([Number], [Max]...)".

  • Added variable "bossSkyDarken", which returns the percent of the fog darken effect created by withers/ender dragons.

  • Added function "colorEntryRed([Color Entry Name])", which returns the red value of a color entry.

  • Added function "colorEntryGreen([Color Entry Name])", which returns the green value of a color entry.

  • Added function "colorEntryBlue([Color Entry Name])", which returns the blue value of a color entry.

  • Added function "modulo([Number], [Divisor])", which returns the modulo of a number.

  • Added function "repeat([Number], [Lower Bounds], [Upper Bounds])", which clamps a number between two bounds but returns repeating values when going beyond the bounds.

  • Added function "clamp([Number], [Lower Bounds], [Upper Bounds])", which clamps a number between two bounds.

  • Added function "lerp([Number 1], [Number 2], [0-1 Ratio])", which returns the linear interpolation between two numbers.

  • Added function variant of "starAlpha", "starAlpha([Sky Angle])", which allows for a custom sky angle as an argument.

  • Added function variant of "dayLight", "dayLight([Sky Angle])", which allows for a custom sky angle as an argument.

Twilight Functions

  • Added various functions to help with the creation of custom twilight effects.
  • Added function "twilightAlpha([Sky Angle])", which returns the alpha of the twilight effect for a specific sky angle.
  • Added function "twilightProgress([Sky Angle])", which returns how far the twilight has progressed for a specific sky angle.
  • Added function "twilightFogEffect([Sky Angle])", which returns the alpha of the twilight fog effect for a specific sky angle.

Sky Object Properties

  • Added "blend" option, which determines if the object should have transparency blending.
  • Removed "red", "green", and "blue" entries, as the "color" entry can be used instead.
  • Removed "ignore_fog", since it didn't really do anything.
2.0Релиз1.21, 1.21.1 · 15 августа 2024 г.

Almost a complete rewrite, lots of new features, and better performance.

Please refer to this page for updating your resource packs to this version of Celestial

Performance

  • Moved to a different expression parsing system, which performs significantly better than the previous one.
  • FPS no longer drops when rendering large quantities of populate objects.
  • Overall improved various parts of Celestial, which should result in better performance.

Triangle Fan Objects

  • Added a new type of celestial object: "triangle_fan". Triangle fans can be used to create circular objects and twilight effects.

Twilight Objects

  • Added a new type of celestial object: "twilight". Twilight objects can be used to create custom twilight effects (ex. custom sunrises/sunsets).
  • As a result, twilight settings in the environment category have been deprecated, and will be removed in an upcoming update.

Sky Objects

  • Changed default base degree rotations for x and z to be 0 degrees.
  • Added "legacy_rotations" boolean to dimensions.json, which the default base degree rotations for x and z back to -90 degrees.
  • Changed default values for unset options to be greater than 0.

Local Variables

  • Variables can now be registered directly in a sky object file, within the "local_variables" json object list.
  • Local variables can only be used in the sky object it was registered in.

Vertex List

  • Added "alpha" and "color" entries to individual vertex points.
  • Slightly improved vertex list rendering performance.

Error Messages

  • Improved error messages to be more easier to read visually, and to be significantly more useful.
  • Error messages will state where they occured, and will be slightly more specific as to what is causing the issue.
  • Error messages will also state if they occured during compilation, or if they occured after.
  • An error message will now occur when a texture path is invalid.

Color Entries

  • Added global color entries, located in "celestial/sky/color_entries.json". Global color entries are color entries that can be registered and used in place of HEX color values.
  • Removed "inherit" option from color entries, as "#skyColor" and "#fogColor" can be used instead. Color Entry Overrides
  • Renamed "alpha" entry to "ratio".
  • Added "red_ratio", "gren_ratio", "blue_ratio" entries, which control the ratio of each color.
  • Added "red", "green", and "blue" entries.
  • Added three new variables for color entry overrides: "red", "green", and "blue" (Returns the RGB values before the color override is applied). Color Entry Blend Types
  • Added "blend_type" entry, which determines the method for blending the color override with the base color.
  • Added "linear_interpolation" blend type, which is the default blend type.
  • Added "override" blend type, which completely overrides the original color. Useful when using the "red", "green", and "blue" variables. Ratios are ignored for this blend type.
  • Added "lab" blend type, which uses LAB colors instead of RGB colors when blending. Results in much nicer color blend gradients when used.
  • Added "apply_fog_additions" blend type, which applies additional fog effects from twilight objects.

Sky Boxes

  • Sky boxes can now be rotated using base degree rotation values.
  • Removed unnecessary "texture" entry in skybox properties

Variables and Functions

  • Removed requirement for variable calls to start with a hashtag. Hashtags will however still be accepted in equations, and will simply be ignored.

  • Renamed "rainLevel" to "rainAlpha", and changed it to no longer return "1 - (Rain level)".

  • Renamed "thunderGradient" to "thunderAlpha"

  • Renamed function "isInBiome" to "inBiome".

  • Renamed function "isUsing" to "rightClickingWith".

  • Renamed function "isMiningWith" to "leftClickingWith".

  • Renamed function "isHolding" to "holding".

  • Renamed function "isInArea" to "inArea".

  • Renamed function "distanceToBiomeIgnoreY" to "distanceToBiomeFlat".

  • Changed function "distanceToBiome" arguments to "distanceToBiome([Distance], [Biome Name]...)".

  • Changed function "distanceToBiomeFlat" arguments to "distanceToBiomeFlat([Distance], [Y Position], [Biome Name]...)".

  • Changed function "inBiome" arguments to "inBiome([Biome Name]...)".

  • Changed function "holding" arguments to "holding([Item ID]...)".

  • Changed function "leftClickingWith" arguments to "leftClickingWith([Item ID]...)".

  • Changed function "rightClickingWith" arguments to "rightClickingWith([Item ID]...)".

  • Renamed variable "isRightClicking" to "rightClicking".

  • Renamed variable "isLeftClicking" to "leftClicking".

  • Renamed variable "isSubmerged" to "submerged".

  • Renamed variable "getGameTime" to "gameTime".

  • Renamed variable "getWorldTime" to "worldTime".

  • Renamed variable "getDayTime" to "dayTime".

  • Renamed variable "xPos" to "posX".

  • Renamed variable "yPos" to "posY".

  • Renamed variable "zPos" to "posZ".

  • Replaced "[Number]m[Min]" format with function "min([Number], [Min]...)".

  • Replaced "[Number]M[Max]" format with function "max([Number], [Max]...)".

  • Added variable "bossSkyDarken", which returns the percent of the fog darken effect created by withers/ender dragons.

  • Added function "colorEntryRed([Color Entry Name])", which returns the red value of a color entry.

  • Added function "colorEntryGreen([Color Entry Name])", which returns the green value of a color entry.

  • Added function "colorEntryBlue([Color Entry Name])", which returns the blue value of a color entry.

  • Added function "modulo([Number], [Divisor])", which returns the modulo of a number.

  • Added function "repeat([Number], [Lower Bounds], [Upper Bounds])", which clamps a number between two bounds but returns repeating values when going beyond the bounds.

  • Added function "clamp([Number], [Lower Bounds], [Upper Bounds])", which clamps a number between two bounds.

  • Added function "lerp([Number 1], [Number 2], [0-1 Ratio])", which returns the linear interpolation between two numbers.

  • Added function variant of "starAlpha", "starAlpha([Sky Angle])", which allows for a custom sky angle as an argument.

  • Added function variant of "dayLight", "dayLight([Sky Angle])", which allows for a custom sky angle as an argument.

Twilight Functions

  • Added various functions to help with the creation of custom twilight effects.
  • Added function "twilightAlpha([Sky Angle])", which returns the alpha of the twilight effect for a specific sky angle.
  • Added function "twilightProgress([Sky Angle])", which returns how far the twilight has progressed for a specific sky angle.
  • Added function "twilightFogEffect([Sky Angle])", which returns the alpha of the twilight fog effect for a specific sky angle.

Sky Object Properties

  • Added "blend" option, which determines if the object should have transparency blending.
  • Removed "red", "green", and "blue" entries, as the "color" entry can be used instead.
  • Removed "ignore_fog", since it didn't really do anything.
2.0Релиз1.19.4 · 15 августа 2024 г.

Almost a complete rewrite, lots of new features, and better performance.

Please refer to this page for updating your resource packs to this version of Celestial

Performance

  • Moved to a different expression parsing system, which performs significantly better than the previous one.
  • FPS no longer drops when rendering large quantities of populate objects.
  • Overall improved various parts of Celestial, which should result in better performance.

Triangle Fan Objects

  • Added a new type of celestial object: "triangle_fan". Triangle fans can be used to create circular objects and twilight effects.

Twilight Objects

  • Added a new type of celestial object: "twilight". Twilight objects can be used to create custom twilight effects (ex. custom sunrises/sunsets).
  • As a result, twilight settings in the environment category have been deprecated, and will be removed in an upcoming update.

Sky Objects

  • Changed default base degree rotations for x and z to be 0 degrees.
  • Added "legacy_rotations" boolean to dimensions.json, which the default base degree rotations for x and z back to -90 degrees.
  • Changed default values for unset options to be greater than 0.

Local Variables

  • Variables can now be registered directly in a sky object file, within the "local_variables" json object list.
  • Local variables can only be used in the sky object it was registered in.

Vertex List

  • Added "alpha" and "color" entries to individual vertex points.
  • Slightly improved vertex list rendering performance.

Error Messages

  • Improved error messages to be more easier to read visually, and to be significantly more useful.
  • Error messages will state where they occured, and will be slightly more specific as to what is causing the issue.
  • Error messages will also state if they occured during compilation, or if they occured after.
  • An error message will now occur when a texture path is invalid.

Color Entries

  • Added global color entries, located in "celestial/sky/color_entries.json". Global color entries are color entries that can be registered and used in place of HEX color values.
  • Removed "inherit" option from color entries, as "#skyColor" and "#fogColor" can be used instead. Color Entry Overrides
  • Renamed "alpha" entry to "ratio".
  • Added "red_ratio", "gren_ratio", "blue_ratio" entries, which control the ratio of each color.
  • Added "red", "green", and "blue" entries.
  • Added three new variables for color entry overrides: "red", "green", and "blue" (Returns the RGB values before the color override is applied). Color Entry Blend Types
  • Added "blend_type" entry, which determines the method for blending the color override with the base color.
  • Added "linear_interpolation" blend type, which is the default blend type.
  • Added "override" blend type, which completely overrides the original color. Useful when using the "red", "green", and "blue" variables. Ratios are ignored for this blend type.
  • Added "lab" blend type, which uses LAB colors instead of RGB colors when blending. Results in much nicer color blend gradients when used.
  • Added "apply_fog_additions" blend type, which applies additional fog effects from twilight objects.

Sky Boxes

  • Sky boxes can now be rotated using base degree rotation values.
  • Removed unnecessary "texture" entry in skybox properties

Variables and Functions

  • Removed requirement for variable calls to start with a hashtag. Hashtags will however still be accepted in equations, and will simply be ignored.

  • Renamed "rainLevel" to "rainAlpha", and changed it to no longer return "1 - (Rain level)".

  • Renamed "thunderGradient" to "thunderAlpha"

  • Renamed function "isInBiome" to "inBiome".

  • Renamed function "isUsing" to "rightClickingWith".

  • Renamed function "isMiningWith" to "leftClickingWith".

  • Renamed function "isHolding" to "holding".

  • Renamed function "isInArea" to "inArea".

  • Renamed function "distanceToBiomeIgnoreY" to "distanceToBiomeFlat".

  • Changed function "distanceToBiome" arguments to "distanceToBiome([Distance], [Biome Name]...)".

  • Changed function "distanceToBiomeFlat" arguments to "distanceToBiomeFlat([Distance], [Y Position], [Biome Name]...)".

  • Changed function "inBiome" arguments to "inBiome([Biome Name]...)".

  • Changed function "holding" arguments to "holding([Item ID]...)".

  • Changed function "leftClickingWith" arguments to "leftClickingWith([Item ID]...)".

  • Changed function "rightClickingWith" arguments to "rightClickingWith([Item ID]...)".

  • Renamed variable "isRightClicking" to "rightClicking".

  • Renamed variable "isLeftClicking" to "leftClicking".

  • Renamed variable "isSubmerged" to "submerged".

  • Renamed variable "getGameTime" to "gameTime".

  • Renamed variable "getWorldTime" to "worldTime".

  • Renamed variable "getDayTime" to "dayTime".

  • Renamed variable "xPos" to "posX".

  • Renamed variable "yPos" to "posY".

  • Renamed variable "zPos" to "posZ".

  • Replaced "[Number]m[Min]" format with function "min([Number], [Min]...)".

  • Replaced "[Number]M[Max]" format with function "max([Number], [Max]...)".

  • Added variable "bossSkyDarken", which returns the percent of the fog darken effect created by withers/ender dragons.

  • Added function "colorEntryRed([Color Entry Name])", which returns the red value of a color entry.

  • Added function "colorEntryGreen([Color Entry Name])", which returns the green value of a color entry.

  • Added function "colorEntryBlue([Color Entry Name])", which returns the blue value of a color entry.

  • Added function "modulo([Number], [Divisor])", which returns the modulo of a number.

  • Added function "repeat([Number], [Lower Bounds], [Upper Bounds])", which clamps a number between two bounds but returns repeating values when going beyond the bounds.

  • Added function "clamp([Number], [Lower Bounds], [Upper Bounds])", which clamps a number between two bounds.

  • Added function "lerp([Number 1], [Number 2], [0-1 Ratio])", which returns the linear interpolation between two numbers.

  • Added function variant of "starAlpha", "starAlpha([Sky Angle])", which allows for a custom sky angle as an argument.

  • Added function variant of "dayLight", "dayLight([Sky Angle])", which allows for a custom sky angle as an argument.

Twilight Functions

  • Added various functions to help with the creation of custom twilight effects.
  • Added function "twilightAlpha([Sky Angle])", which returns the alpha of the twilight effect for a specific sky angle.
  • Added function "twilightProgress([Sky Angle])", which returns how far the twilight has progressed for a specific sky angle.
  • Added function "twilightFogEffect([Sky Angle])", which returns the alpha of the twilight fog effect for a specific sky angle.

Sky Object Properties

  • Added "blend" option, which determines if the object should have transparency blending.
  • Removed "red", "green", and "blue" entries, as the "color" entry can be used instead.
  • Removed "ignore_fog", since it didn't really do anything.
2.0Релиз1.20.2, 1.20.3, 1.20.4 · 15 августа 2024 г.

Almost a complete rewrite, lots of new features, and better performance.

Please refer to this page for updating your resource packs to this version of Celestial

Performance

  • Moved to a different expression parsing system, which performs significantly better than the previous one.
  • FPS no longer drops when rendering large quantities of populate objects.
  • Overall improved various parts of Celestial, which should result in better performance.

Triangle Fan Objects

  • Added a new type of celestial object: "triangle_fan". Triangle fans can be used to create circular objects and twilight effects.

Twilight Objects

  • Added a new type of celestial object: "twilight". Twilight objects can be used to create custom twilight effects (ex. custom sunrises/sunsets).
  • As a result, twilight settings in the environment category have been deprecated, and will be removed in an upcoming update.

Sky Objects

  • Changed default base degree rotations for x and z to be 0 degrees.
  • Added "legacy_rotations" boolean to dimensions.json, which the default base degree rotations for x and z back to -90 degrees.
  • Changed default values for unset options to be greater than 0.

Local Variables

  • Variables can now be registered directly in a sky object file, within the "local_variables" json object list.
  • Local variables can only be used in the sky object it was registered in.

Vertex List

  • Added "alpha" and "color" entries to individual vertex points.
  • Slightly improved vertex list rendering performance.

Error Messages

  • Improved error messages to be more easier to read visually, and to be significantly more useful.
  • Error messages will state where they occured, and will be slightly more specific as to what is causing the issue.
  • Error messages will also state if they occured during compilation, or if they occured after.
  • An error message will now occur when a texture path is invalid.

Color Entries

  • Added global color entries, located in "celestial/sky/color_entries.json". Global color entries are color entries that can be registered and used in place of HEX color values.
  • Removed "inherit" option from color entries, as "#skyColor" and "#fogColor" can be used instead. Color Entry Overrides
  • Renamed "alpha" entry to "ratio".
  • Added "red_ratio", "gren_ratio", "blue_ratio" entries, which control the ratio of each color.
  • Added "red", "green", and "blue" entries.
  • Added three new variables for color entry overrides: "red", "green", and "blue" (Returns the RGB values before the color override is applied). Color Entry Blend Types
  • Added "blend_type" entry, which determines the method for blending the color override with the base color.
  • Added "linear_interpolation" blend type, which is the default blend type.
  • Added "override" blend type, which completely overrides the original color. Useful when using the "red", "green", and "blue" variables. Ratios are ignored for this blend type.
  • Added "lab" blend type, which uses LAB colors instead of RGB colors when blending. Results in much nicer color blend gradients when used.
  • Added "apply_fog_additions" blend type, which applies additional fog effects from twilight objects.

Sky Boxes

  • Sky boxes can now be rotated using base degree rotation values.
  • Removed unnecessary "texture" entry in skybox properties

Variables and Functions

  • Removed requirement for variable calls to start with a hashtag. Hashtags will however still be accepted in equations, and will simply be ignored.

  • Renamed "rainLevel" to "rainAlpha", and changed it to no longer return "1 - (Rain level)".

  • Renamed "thunderGradient" to "thunderAlpha"

  • Renamed function "isInBiome" to "inBiome".

  • Renamed function "isUsing" to "rightClickingWith".

  • Renamed function "isMiningWith" to "leftClickingWith".

  • Renamed function "isHolding" to "holding".

  • Renamed function "isInArea" to "inArea".

  • Renamed function "distanceToBiomeIgnoreY" to "distanceToBiomeFlat".

  • Changed function "distanceToBiome" arguments to "distanceToBiome([Distance], [Biome Name]...)".

  • Changed function "distanceToBiomeFlat" arguments to "distanceToBiomeFlat([Distance], [Y Position], [Biome Name]...)".

  • Changed function "inBiome" arguments to "inBiome([Biome Name]...)".

  • Changed function "holding" arguments to "holding([Item ID]...)".

  • Changed function "leftClickingWith" arguments to "leftClickingWith([Item ID]...)".

  • Changed function "rightClickingWith" arguments to "rightClickingWith([Item ID]...)".

  • Renamed variable "isRightClicking" to "rightClicking".

  • Renamed variable "isLeftClicking" to "leftClicking".

  • Renamed variable "isSubmerged" to "submerged".

  • Renamed variable "getGameTime" to "gameTime".

  • Renamed variable "getWorldTime" to "worldTime".

  • Renamed variable "getDayTime" to "dayTime".

  • Renamed variable "xPos" to "posX".

  • Renamed variable "yPos" to "posY".

  • Renamed variable "zPos" to "posZ".

  • Replaced "[Number]m[Min]" format with function "min([Number], [Min]...)".

  • Replaced "[Number]M[Max]" format with function "max([Number], [Max]...)".

  • Added variable "bossSkyDarken", which returns the percent of the fog darken effect created by withers/ender dragons.

  • Added function "colorEntryRed([Color Entry Name])", which returns the red value of a color entry.

  • Added function "colorEntryGreen([Color Entry Name])", which returns the green value of a color entry.

  • Added function "colorEntryBlue([Color Entry Name])", which returns the blue value of a color entry.

  • Added function "modulo([Number], [Divisor])", which returns the modulo of a number.

  • Added function "repeat([Number], [Lower Bounds], [Upper Bounds])", which clamps a number between two bounds but returns repeating values when going beyond the bounds.

  • Added function "clamp([Number], [Lower Bounds], [Upper Bounds])", which clamps a number between two bounds.

  • Added function "lerp([Number 1], [Number 2], [0-1 Ratio])", which returns the linear interpolation between two numbers.

  • Added function variant of "starAlpha", "starAlpha([Sky Angle])", which allows for a custom sky angle as an argument.

  • Added function variant of "dayLight", "dayLight([Sky Angle])", which allows for a custom sky angle as an argument.

Twilight Functions

  • Added various functions to help with the creation of custom twilight effects.
  • Added function "twilightAlpha([Sky Angle])", which returns the alpha of the twilight effect for a specific sky angle.
  • Added function "twilightProgress([Sky Angle])", which returns how far the twilight has progressed for a specific sky angle.
  • Added function "twilightFogEffect([Sky Angle])", which returns the alpha of the twilight fog effect for a specific sky angle.

Sky Object Properties

  • Added "blend" option, which determines if the object should have transparency blending.
  • Removed "red", "green", and "blue" entries, as the "color" entry can be used instead.
  • Removed "ignore_fog", since it didn't really do anything.
2.0Релиз1.18.2 · 15 августа 2024 г.

Almost a complete rewrite, lots of new features, and better performance.

Please refer to this page for updating your resource packs to this version of Celestial

Performance

  • Moved to a different expression parsing system, which performs significantly better than the previous one.
  • FPS no longer drops when rendering large quantities of populate objects.
  • Overall improved various parts of Celestial, which should result in better performance.

Triangle Fan Objects

  • Added a new type of celestial object: "triangle_fan". Triangle fans can be used to create circular objects and twilight effects.

Twilight Objects

  • Added a new type of celestial object: "twilight". Twilight objects can be used to create custom twilight effects (ex. custom sunrises/sunsets).
  • As a result, twilight settings in the environment category have been deprecated, and will be removed in an upcoming update.

Sky Objects

  • Changed default base degree rotations for x and z to be 0 degrees.
  • Added "legacy_rotations" boolean to dimensions.json, which the default base degree rotations for x and z back to -90 degrees.
  • Changed default values for unset options to be greater than 0.

Local Variables

  • Variables can now be registered directly in a sky object file, within the "local_variables" json object list.
  • Local variables can only be used in the sky object it was registered in.

Vertex List

  • Added "alpha" and "color" entries to individual vertex points.
  • Slightly improved vertex list rendering performance.

Error Messages

  • Improved error messages to be more easier to read visually, and to be significantly more useful.
  • Error messages will state where they occured, and will be slightly more specific as to what is causing the issue.
  • Error messages will also state if they occured during compilation, or if they occured after.
  • An error message will now occur when a texture path is invalid.

Color Entries

  • Added global color entries, located in "celestial/sky/color_entries.json". Global color entries are color entries that can be registered and used in place of HEX color values.
  • Removed "inherit" option from color entries, as "#skyColor" and "#fogColor" can be used instead. Color Entry Overrides
  • Renamed "alpha" entry to "ratio".
  • Added "red_ratio", "gren_ratio", "blue_ratio" entries, which control the ratio of each color.
  • Added "red", "green", and "blue" entries.
  • Added three new variables for color entry overrides: "red", "green", and "blue" (Returns the RGB values before the color override is applied). Color Entry Blend Types
  • Added "blend_type" entry, which determines the method for blending the color override with the base color.
  • Added "linear_interpolation" blend type, which is the default blend type.
  • Added "override" blend type, which completely overrides the original color. Useful when using the "red", "green", and "blue" variables. Ratios are ignored for this blend type.
  • Added "lab" blend type, which uses LAB colors instead of RGB colors when blending. Results in much nicer color blend gradients when used.
  • Added "apply_fog_additions" blend type, which applies additional fog effects from twilight objects.

Sky Boxes

  • Sky boxes can now be rotated using base degree rotation values.
  • Removed unnecessary "texture" entry in skybox properties

Variables and Functions

  • Removed requirement for variable calls to start with a hashtag. Hashtags will however still be accepted in equations, and will simply be ignored.

  • Renamed "rainLevel" to "rainAlpha", and changed it to no longer return "1 - (Rain level)".

  • Renamed "thunderGradient" to "thunderAlpha"

  • Renamed function "isInBiome" to "inBiome".

  • Renamed function "isUsing" to "rightClickingWith".

  • Renamed function "isMiningWith" to "leftClickingWith".

  • Renamed function "isHolding" to "holding".

  • Renamed function "isInArea" to "inArea".

  • Renamed function "distanceToBiomeIgnoreY" to "distanceToBiomeFlat".

  • Changed function "distanceToBiome" arguments to "distanceToBiome([Distance], [Biome Name]...)".

  • Changed function "distanceToBiomeFlat" arguments to "distanceToBiomeFlat([Distance], [Y Position], [Biome Name]...)".

  • Changed function "inBiome" arguments to "inBiome([Biome Name]...)".

  • Changed function "holding" arguments to "holding([Item ID]...)".

  • Changed function "leftClickingWith" arguments to "leftClickingWith([Item ID]...)".

  • Changed function "rightClickingWith" arguments to "rightClickingWith([Item ID]...)".

  • Renamed variable "isRightClicking" to "rightClicking".

  • Renamed variable "isLeftClicking" to "leftClicking".

  • Renamed variable "isSubmerged" to "submerged".

  • Renamed variable "getGameTime" to "gameTime".

  • Renamed variable "getWorldTime" to "worldTime".

  • Renamed variable "getDayTime" to "dayTime".

  • Renamed variable "xPos" to "posX".

  • Renamed variable "yPos" to "posY".

  • Renamed variable "zPos" to "posZ".

  • Replaced "[Number]m[Min]" format with function "min([Number], [Min]...)".

  • Replaced "[Number]M[Max]" format with function "max([Number], [Max]...)".

  • Added variable "bossSkyDarken", which returns the percent of the fog darken effect created by withers/ender dragons.

  • Added function "colorEntryRed([Color Entry Name])", which returns the red value of a color entry.

  • Added function "colorEntryGreen([Color Entry Name])", which returns the green value of a color entry.

  • Added function "colorEntryBlue([Color Entry Name])", which returns the blue value of a color entry.

  • Added function "modulo([Number], [Divisor])", which returns the modulo of a number.

  • Added function "repeat([Number], [Lower Bounds], [Upper Bounds])", which clamps a number between two bounds but returns repeating values when going beyond the bounds.

  • Added function "clamp([Number], [Lower Bounds], [Upper Bounds])", which clamps a number between two bounds.

  • Added function "lerp([Number 1], [Number 2], [0-1 Ratio])", which returns the linear interpolation between two numbers.

  • Added function variant of "starAlpha", "starAlpha([Sky Angle])", which allows for a custom sky angle as an argument.

  • Added function variant of "dayLight", "dayLight([Sky Angle])", which allows for a custom sky angle as an argument.

Twilight Functions

  • Added various functions to help with the creation of custom twilight effects.
  • Added function "twilightAlpha([Sky Angle])", which returns the alpha of the twilight effect for a specific sky angle.
  • Added function "twilightProgress([Sky Angle])", which returns how far the twilight has progressed for a specific sky angle.
  • Added function "twilightFogEffect([Sky Angle])", which returns the alpha of the twilight fog effect for a specific sky angle.

Sky Object Properties

  • Added "blend" option, which determines if the object should have transparency blending.
  • Removed "red", "green", and "blue" entries, as the "color" entry can be used instead.
  • Removed "ignore_fog", since it didn't really do anything.
2.0Релиз1.18, 1.18.1, 1.18.2 · 15 августа 2024 г.

Almost a complete rewrite, lots of new features, and better performance.

Please refer to this page for updating your resource packs to this version of Celestial

Performance

  • Moved to a different expression parsing system, which performs significantly better than the previous one.
  • FPS no longer drops when rendering large quantities of populate objects.
  • Overall improved various parts of Celestial, which should result in better performance.

Triangle Fan Objects

  • Added a new type of celestial object: "triangle_fan". Triangle fans can be used to create circular objects and twilight effects.

Twilight Objects

  • Added a new type of celestial object: "twilight". Twilight objects can be used to create custom twilight effects (ex. custom sunrises/sunsets).
  • As a result, twilight settings in the environment category have been deprecated, and will be removed in an upcoming update.

Sky Objects

  • Changed default base degree rotations for x and z to be 0 degrees.
  • Added "legacy_rotations" boolean to dimensions.json, which the default base degree rotations for x and z back to -90 degrees.
  • Changed default values for unset options to be greater than 0.

Local Variables

  • Variables can now be registered directly in a sky object file, within the "local_variables" json object list.
  • Local variables can only be used in the sky object it was registered in.

Vertex List

  • Added "alpha" and "color" entries to individual vertex points.
  • Slightly improved vertex list rendering performance.

Error Messages

  • Improved error messages to be more easier to read visually, and to be significantly more useful.
  • Error messages will state where they occured, and will be slightly more specific as to what is causing the issue.
  • Error messages will also state if they occured during compilation, or if they occured after.
  • An error message will now occur when a texture path is invalid.

Color Entries

  • Added global color entries, located in "celestial/sky/color_entries.json". Global color entries are color entries that can be registered and used in place of HEX color values.
  • Removed "inherit" option from color entries, as "#skyColor" and "#fogColor" can be used instead. Color Entry Overrides
  • Renamed "alpha" entry to "ratio".
  • Added "red_ratio", "gren_ratio", "blue_ratio" entries, which control the ratio of each color.
  • Added "red", "green", and "blue" entries.
  • Added three new variables for color entry overrides: "red", "green", and "blue" (Returns the RGB values before the color override is applied). Color Entry Blend Types
  • Added "blend_type" entry, which determines the method for blending the color override with the base color.
  • Added "linear_interpolation" blend type, which is the default blend type.
  • Added "override" blend type, which completely overrides the original color. Useful when using the "red", "green", and "blue" variables. Ratios are ignored for this blend type.
  • Added "lab" blend type, which uses LAB colors instead of RGB colors when blending. Results in much nicer color blend gradients when used.
  • Added "apply_fog_additions" blend type, which applies additional fog effects from twilight objects.

Sky Boxes

  • Sky boxes can now be rotated using base degree rotation values.
  • Removed unnecessary "texture" entry in skybox properties

Variables and Functions

  • Removed requirement for variable calls to start with a hashtag. Hashtags will however still be accepted in equations, and will simply be ignored.

  • Renamed "rainLevel" to "rainAlpha", and changed it to no longer return "1 - (Rain level)".

  • Renamed "thunderGradient" to "thunderAlpha"

  • Renamed function "isInBiome" to "inBiome".

  • Renamed function "isUsing" to "rightClickingWith".

  • Renamed function "isMiningWith" to "leftClickingWith".

  • Renamed function "isHolding" to "holding".

  • Renamed function "isInArea" to "inArea".

  • Renamed function "distanceToBiomeIgnoreY" to "distanceToBiomeFlat".

  • Changed function "distanceToBiome" arguments to "distanceToBiome([Distance], [Biome Name]...)".

  • Changed function "distanceToBiomeFlat" arguments to "distanceToBiomeFlat([Distance], [Y Position], [Biome Name]...)".

  • Changed function "inBiome" arguments to "inBiome([Biome Name]...)".

  • Changed function "holding" arguments to "holding([Item ID]...)".

  • Changed function "leftClickingWith" arguments to "leftClickingWith([Item ID]...)".

  • Changed function "rightClickingWith" arguments to "rightClickingWith([Item ID]...)".

  • Renamed variable "isRightClicking" to "rightClicking".

  • Renamed variable "isLeftClicking" to "leftClicking".

  • Renamed variable "isSubmerged" to "submerged".

  • Renamed variable "getGameTime" to "gameTime".

  • Renamed variable "getWorldTime" to "worldTime".

  • Renamed variable "getDayTime" to "dayTime".

  • Renamed variable "xPos" to "posX".

  • Renamed variable "yPos" to "posY".

  • Renamed variable "zPos" to "posZ".

  • Replaced "[Number]m[Min]" format with function "min([Number], [Min]...)".

  • Replaced "[Number]M[Max]" format with function "max([Number], [Max]...)".

  • Added variable "bossSkyDarken", which returns the percent of the fog darken effect created by withers/ender dragons.

  • Added function "colorEntryRed([Color Entry Name])", which returns the red value of a color entry.

  • Added function "colorEntryGreen([Color Entry Name])", which returns the green value of a color entry.

  • Added function "colorEntryBlue([Color Entry Name])", which returns the blue value of a color entry.

  • Added function "modulo([Number], [Divisor])", which returns the modulo of a number.

  • Added function "repeat([Number], [Lower Bounds], [Upper Bounds])", which clamps a number between two bounds but returns repeating values when going beyond the bounds.

  • Added function "clamp([Number], [Lower Bounds], [Upper Bounds])", which clamps a number between two bounds.

  • Added function "lerp([Number 1], [Number 2], [0-1 Ratio])", which returns the linear interpolation between two numbers.

  • Added function variant of "starAlpha", "starAlpha([Sky Angle])", which allows for a custom sky angle as an argument.

  • Added function variant of "dayLight", "dayLight([Sky Angle])", which allows for a custom sky angle as an argument.

Twilight Functions

  • Added various functions to help with the creation of custom twilight effects.
  • Added function "twilightAlpha([Sky Angle])", which returns the alpha of the twilight effect for a specific sky angle.
  • Added function "twilightProgress([Sky Angle])", which returns how far the twilight has progressed for a specific sky angle.
  • Added function "twilightFogEffect([Sky Angle])", which returns the alpha of the twilight fog effect for a specific sky angle.

Sky Object Properties

  • Added "blend" option, which determines if the object should have transparency blending.
  • Removed "red", "green", and "blue" entries, as the "color" entry can be used instead.
  • Removed "ignore_fog", since it didn't really do anything.
2.0Релиз1.16.5 · 15 августа 2024 г.

Almost a complete rewrite, lots of new features, and better performance.

Please refer to this page for updating your resource packs to this version of Celestial

Performance

  • Moved to a different expression parsing system, which performs significantly better than the previous one.
  • FPS no longer drops when rendering large quantities of populate objects.
  • Overall improved various parts of Celestial, which should result in better performance.

Triangle Fan Objects

  • Added a new type of celestial object: "triangle_fan". Triangle fans can be used to create circular objects and twilight effects.

Twilight Objects

  • Added a new type of celestial object: "twilight". Twilight objects can be used to create custom twilight effects (ex. custom sunrises/sunsets).
  • As a result, twilight settings in the environment category have been deprecated, and will be removed in an upcoming update.

Sky Objects

  • Changed default base degree rotations for x and z to be 0 degrees.
  • Added "legacy_rotations" boolean to dimensions.json, which the default base degree rotations for x and z back to -90 degrees.
  • Changed default values for unset options to be greater than 0.

Local Variables

  • Variables can now be registered directly in a sky object file, within the "local_variables" json object list.
  • Local variables can only be used in the sky object it was registered in.

Vertex List

  • Added "alpha" and "color" entries to individual vertex points.
  • Slightly improved vertex list rendering performance.

Error Messages

  • Improved error messages to be more easier to read visually, and to be significantly more useful.
  • Error messages will state where they occured, and will be slightly more specific as to what is causing the issue.
  • Error messages will also state if they occured during compilation, or if they occured after.
  • An error message will now occur when a texture path is invalid.

Color Entries

  • Added global color entries, located in "celestial/sky/color_entries.json". Global color entries are color entries that can be registered and used in place of HEX color values.
  • Removed "inherit" option from color entries, as "#skyColor" and "#fogColor" can be used instead. Color Entry Overrides
  • Renamed "alpha" entry to "ratio".
  • Added "red_ratio", "gren_ratio", "blue_ratio" entries, which control the ratio of each color.
  • Added "red", "green", and "blue" entries.
  • Added three new variables for color entry overrides: "red", "green", and "blue" (Returns the RGB values before the color override is applied). Color Entry Blend Types
  • Added "blend_type" entry, which determines the method for blending the color override with the base color.
  • Added "linear_interpolation" blend type, which is the default blend type.
  • Added "override" blend type, which completely overrides the original color. Useful when using the "red", "green", and "blue" variables. Ratios are ignored for this blend type.
  • Added "lab" blend type, which uses LAB colors instead of RGB colors when blending. Results in much nicer color blend gradients when used.
  • Added "apply_fog_additions" blend type, which applies additional fog effects from twilight objects.

Sky Boxes

  • Sky boxes can now be rotated using base degree rotation values.
  • Removed unnecessary "texture" entry in skybox properties

Variables and Functions

  • Removed requirement for variable calls to start with a hashtag. Hashtags will however still be accepted in equations, and will simply be ignored.

  • Renamed "rainLevel" to "rainAlpha", and changed it to no longer return "1 - (Rain level)".

  • Renamed "thunderGradient" to "thunderAlpha"

  • Renamed function "isInBiome" to "inBiome".

  • Renamed function "isUsing" to "rightClickingWith".

  • Renamed function "isMiningWith" to "leftClickingWith".

  • Renamed function "isHolding" to "holding".

  • Renamed function "isInArea" to "inArea".

  • Renamed function "distanceToBiomeIgnoreY" to "distanceToBiomeFlat".

  • Changed function "distanceToBiome" arguments to "distanceToBiome([Distance], [Biome Name]...)".

  • Changed function "distanceToBiomeFlat" arguments to "distanceToBiomeFlat([Distance], [Y Position], [Biome Name]...)".

  • Changed function "inBiome" arguments to "inBiome([Biome Name]...)".

  • Changed function "holding" arguments to "holding([Item ID]...)".

  • Changed function "leftClickingWith" arguments to "leftClickingWith([Item ID]...)".

  • Changed function "rightClickingWith" arguments to "rightClickingWith([Item ID]...)".

  • Renamed variable "isRightClicking" to "rightClicking".

  • Renamed variable "isLeftClicking" to "leftClicking".

  • Renamed variable "isSubmerged" to "submerged".

  • Renamed variable "getGameTime" to "gameTime".

  • Renamed variable "getWorldTime" to "worldTime".

  • Renamed variable "getDayTime" to "dayTime".

  • Renamed variable "xPos" to "posX".

  • Renamed variable "yPos" to "posY".

  • Renamed variable "zPos" to "posZ".

  • Replaced "[Number]m[Min]" format with function "min([Number], [Min]...)".

  • Replaced "[Number]M[Max]" format with function "max([Number], [Max]...)".

  • Added variable "bossSkyDarken", which returns the percent of the fog darken effect created by withers/ender dragons.

  • Added function "colorEntryRed([Color Entry Name])", which returns the red value of a color entry.

  • Added function "colorEntryGreen([Color Entry Name])", which returns the green value of a color entry.

  • Added function "colorEntryBlue([Color Entry Name])", which returns the blue value of a color entry.

  • Added function "modulo([Number], [Divisor])", which returns the modulo of a number.

  • Added function "repeat([Number], [Lower Bounds], [Upper Bounds])", which clamps a number between two bounds but returns repeating values when going beyond the bounds.

  • Added function "clamp([Number], [Lower Bounds], [Upper Bounds])", which clamps a number between two bounds.

  • Added function "lerp([Number 1], [Number 2], [0-1 Ratio])", which returns the linear interpolation between two numbers.

  • Added function variant of "starAlpha", "starAlpha([Sky Angle])", which allows for a custom sky angle as an argument.

  • Added function variant of "dayLight", "dayLight([Sky Angle])", which allows for a custom sky angle as an argument.

Twilight Functions

  • Added various functions to help with the creation of custom twilight effects.
  • Added function "twilightAlpha([Sky Angle])", which returns the alpha of the twilight effect for a specific sky angle.
  • Added function "twilightProgress([Sky Angle])", which returns how far the twilight has progressed for a specific sky angle.
  • Added function "twilightFogEffect([Sky Angle])", which returns the alpha of the twilight fog effect for a specific sky angle.

Sky Object Properties

  • Added "blend" option, which determines if the object should have transparency blending.
  • Removed "red", "green", and "blue" entries, as the "color" entry can be used instead.
  • Removed "ignore_fog", since it didn't really do anything.
2.0Релиз1.16.5 · 15 августа 2024 г.

Almost a complete rewrite, lots of new features, and better performance.

Please refer to this page for updating your resource packs to this version of Celestial

Performance

  • Moved to a different expression parsing system, which performs significantly better than the previous one.
  • FPS no longer drops when rendering large quantities of populate objects.
  • Overall improved various parts of Celestial, which should result in better performance.

Triangle Fan Objects

  • Added a new type of celestial object: "triangle_fan". Triangle fans can be used to create circular objects and twilight effects.

Twilight Objects

  • Added a new type of celestial object: "twilight". Twilight objects can be used to create custom twilight effects (ex. custom sunrises/sunsets).
  • As a result, twilight settings in the environment category have been deprecated, and will be removed in an upcoming update.

Sky Objects

  • Changed default base degree rotations for x and z to be 0 degrees.
  • Added "legacy_rotations" boolean to dimensions.json, which the default base degree rotations for x and z back to -90 degrees.
  • Changed default values for unset options to be greater than 0.

Local Variables

  • Variables can now be registered directly in a sky object file, within the "local_variables" json object list.
  • Local variables can only be used in the sky object it was registered in.

Vertex List

  • Added "alpha" and "color" entries to individual vertex points.
  • Slightly improved vertex list rendering performance.

Error Messages

  • Improved error messages to be more easier to read visually, and to be significantly more useful.
  • Error messages will state where they occured, and will be slightly more specific as to what is causing the issue.
  • Error messages will also state if they occured during compilation, or if they occured after.
  • An error message will now occur when a texture path is invalid.

Color Entries

  • Added global color entries, located in "celestial/sky/color_entries.json". Global color entries are color entries that can be registered and used in place of HEX color values.
  • Removed "inherit" option from color entries, as "#skyColor" and "#fogColor" can be used instead. Color Entry Overrides
  • Renamed "alpha" entry to "ratio".
  • Added "red_ratio", "gren_ratio", "blue_ratio" entries, which control the ratio of each color.
  • Added "red", "green", and "blue" entries.
  • Added three new variables for color entry overrides: "red", "green", and "blue" (Returns the RGB values before the color override is applied). Color Entry Blend Types
  • Added "blend_type" entry, which determines the method for blending the color override with the base color.
  • Added "linear_interpolation" blend type, which is the default blend type.
  • Added "override" blend type, which completely overrides the original color. Useful when using the "red", "green", and "blue" variables. Ratios are ignored for this blend type.
  • Added "lab" blend type, which uses LAB colors instead of RGB colors when blending. Results in much nicer color blend gradients when used.
  • Added "apply_fog_additions" blend type, which applies additional fog effects from twilight objects.

Sky Boxes

  • Sky boxes can now be rotated using base degree rotation values.
  • Removed unnecessary "texture" entry in skybox properties

Variables and Functions

  • Removed requirement for variable calls to start with a hashtag. Hashtags will however still be accepted in equations, and will simply be ignored.

  • Renamed "rainLevel" to "rainAlpha", and changed it to no longer return "1 - (Rain level)".

  • Renamed "thunderGradient" to "thunderAlpha"

  • Renamed function "isInBiome" to "inBiome".

  • Renamed function "isUsing" to "rightClickingWith".

  • Renamed function "isMiningWith" to "leftClickingWith".

  • Renamed function "isHolding" to "holding".

  • Renamed function "isInArea" to "inArea".

  • Renamed function "distanceToBiomeIgnoreY" to "distanceToBiomeFlat".

  • Changed function "distanceToBiome" arguments to "distanceToBiome([Distance], [Biome Name]...)".

  • Changed function "distanceToBiomeFlat" arguments to "distanceToBiomeFlat([Distance], [Y Position], [Biome Name]...)".

  • Changed function "inBiome" arguments to "inBiome([Biome Name]...)".

  • Changed function "holding" arguments to "holding([Item ID]...)".

  • Changed function "leftClickingWith" arguments to "leftClickingWith([Item ID]...)".

  • Changed function "rightClickingWith" arguments to "rightClickingWith([Item ID]...)".

  • Renamed variable "isRightClicking" to "rightClicking".

  • Renamed variable "isLeftClicking" to "leftClicking".

  • Renamed variable "isSubmerged" to "submerged".

  • Renamed variable "getGameTime" to "gameTime".

  • Renamed variable "getWorldTime" to "worldTime".

  • Renamed variable "getDayTime" to "dayTime".

  • Renamed variable "xPos" to "posX".

  • Renamed variable "yPos" to "posY".

  • Renamed variable "zPos" to "posZ".

  • Replaced "[Number]m[Min]" format with function "min([Number], [Min]...)".

  • Replaced "[Number]M[Max]" format with function "max([Number], [Max]...)".

  • Added variable "bossSkyDarken", which returns the percent of the fog darken effect created by withers/ender dragons.

  • Added function "colorEntryRed([Color Entry Name])", which returns the red value of a color entry.

  • Added function "colorEntryGreen([Color Entry Name])", which returns the green value of a color entry.

  • Added function "colorEntryBlue([Color Entry Name])", which returns the blue value of a color entry.

  • Added function "modulo([Number], [Divisor])", which returns the modulo of a number.

  • Added function "repeat([Number], [Lower Bounds], [Upper Bounds])", which clamps a number between two bounds but returns repeating values when going beyond the bounds.

  • Added function "clamp([Number], [Lower Bounds], [Upper Bounds])", which clamps a number between two bounds.

  • Added function "lerp([Number 1], [Number 2], [0-1 Ratio])", which returns the linear interpolation between two numbers.

  • Added function variant of "starAlpha", "starAlpha([Sky Angle])", which allows for a custom sky angle as an argument.

  • Added function variant of "dayLight", "dayLight([Sky Angle])", which allows for a custom sky angle as an argument.

Twilight Functions

  • Added various functions to help with the creation of custom twilight effects.
  • Added function "twilightAlpha([Sky Angle])", which returns the alpha of the twilight effect for a specific sky angle.
  • Added function "twilightProgress([Sky Angle])", which returns how far the twilight has progressed for a specific sky angle.
  • Added function "twilightFogEffect([Sky Angle])", which returns the alpha of the twilight fog effect for a specific sky angle.

Sky Object Properties

  • Added "blend" option, which determines if the object should have transparency blending.
  • Removed "red", "green", and "blue" entries, as the "color" entry can be used instead.
  • Removed "ignore_fog", since it didn't really do anything.

Комментарии

Загружаем…