Package net.ixdarklord.coolcatcanvas.api.client.sky
package net.ixdarklord.coolcatcanvas.api.client.sky
-
ClassDescriptionHow a sky layer combines with what's drawn under it.A custom sky, made with
Skyboxes.register(net.minecraft.resources.ResourceLocation, net.ixdarklord.coolcatcanvas.api.client.sky.SkyboxDefinition): layers of images, gradients and shaders drawn into vanilla's sky, and parts of vanilla's sky hidden.The layers of a skybox and what it hides of vanilla's sky.Custom skies: images wrapped around the sky (cubemaps and panoramas), images placed in it (sprites), gradients and shaders, each able to rotate, animate frame by frame and fade by time of day, weather or code; and parts of vanilla's sky hidden while they show.What drives a layer's rotation or animation.What a skybox's callbacks see of the current frame.Runtime control over one layer of a skybox, on top of its definition.One layer of aSkyboxDefinition: an image, a gradient or a shader drawn over the sky, and how it moves and fades.Plays the texture as a flipbook:framesimages of equal height stacked top to bottom.Shows the layer during part of the day: it fades in over[startFadeIn, endFadeIn], stays, then fades out over[startFadeOut, endFadeOut].Turns the layer around an axis as its clock moves.When in vanilla's sky a layer is drawn.What a sky layer draws.The parts of vanilla's sky a skybox can hide.