java.lang.Object
net.minecraft.client.renderer.DimensionSpecialEffects
com.lightning.northstar.client.renderer.effect.SpaceEffects
com.lightning.northstar.client.renderer.effect.MarsEffects
All Implemented Interfaces:
NorthstarDimensionEffectsExtension, net.neoforged.neoforge.client.extensions.IDimensionSpecialEffectsExtension

@ParametersAreNonnullByDefault public class MarsEffects extends SpaceEffects
  • Nested Class Summary

    Nested classes/interfaces inherited from class net.minecraft.client.renderer.DimensionSpecialEffects

    net.minecraft.client.renderer.DimensionSpecialEffects.EndEffects, net.minecraft.client.renderer.DimensionSpecialEffects.NetherEffects, net.minecraft.client.renderer.DimensionSpecialEffects.OverworldEffects, net.minecraft.client.renderer.DimensionSpecialEffects.SkyType
  • Field Summary

    Fields inherited from class net.minecraft.client.renderer.DimensionSpecialEffects

    sunriseCol
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.world.phys.Vec3
    getBrightnessDependentFogColor(net.minecraft.world.phys.Vec3 fogColor, float brightness)
     
    float @Nullable []
    getSunriseColor(float time, float tickDelta)
     
    void
    northstar$setupFogRender(net.neoforged.neoforge.client.event.ViewportEvent.RenderFog fog)
     
    boolean
    renderSnowAndRain(net.minecraft.client.multiplayer.ClientLevel level, int ticks, float partialTick, net.minecraft.client.renderer.LightTexture lightTexture, double camX, double camY, double camZ)
     
    boolean
    tickRain(net.minecraft.client.multiplayer.ClientLevel level, int ticks, net.minecraft.client.Camera camera)
     

    Methods inherited from class com.lightning.northstar.client.renderer.effect.SpaceEffects

    getStarBrightness, isFoggyAt, renderSky, renderStars

    Methods inherited from class net.minecraft.client.renderer.DimensionSpecialEffects

    constantAmbientLight, forceBrightLightmap, forType, getCloudHeight, hasGround, skyType

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.neoforged.neoforge.client.extensions.IDimensionSpecialEffectsExtension

    adjustLightmapColors, renderClouds

    Methods inherited from interface com.lightning.northstar.api.client.NorthstarDimensionEffectsExtension

    northstar$onFrameStart, northstar$setupFogColor, northstar$setupLight
  • Constructor Details

    • MarsEffects

      public MarsEffects()
  • Method Details

    • getSunriseColor

      public float @Nullable [] getSunriseColor(float time, float tickDelta)
      Overrides:
      getSunriseColor in class SpaceEffects
    • getBrightnessDependentFogColor

      public net.minecraft.world.phys.Vec3 getBrightnessDependentFogColor(net.minecraft.world.phys.Vec3 fogColor, float brightness)
      Overrides:
      getBrightnessDependentFogColor in class SpaceEffects
    • northstar$setupFogRender

      public void northstar$setupFogRender(net.neoforged.neoforge.client.event.ViewportEvent.RenderFog fog)
      Specified by:
      northstar$setupFogRender in interface NorthstarDimensionEffectsExtension
      Overrides:
      northstar$setupFogRender in class SpaceEffects
    • tickRain

      public boolean tickRain(net.minecraft.client.multiplayer.ClientLevel level, int ticks, net.minecraft.client.Camera camera)
    • renderSnowAndRain

      public boolean renderSnowAndRain(net.minecraft.client.multiplayer.ClientLevel level, int ticks, float partialTick, net.minecraft.client.renderer.LightTexture lightTexture, double camX, double camY, double camZ)