Class CommonClass

java.lang.Object
dev.zelo.renderscale.CommonClass

public class CommonClass extends Object
  • Field Details

    • renderTarget

      @Nullable public @Nullable com.mojang.blaze3d.pipeline.RenderTarget renderTarget
    • clientRenderTarget

      @Nullable public @Nullable com.mojang.blaze3d.pipeline.RenderTarget clientRenderTarget
    • hasRun

      public boolean hasRun
    • CONFIG

      public static final me.shedaniel.autoconfig.ConfigHolder<RenderScaleConfig> CONFIG
  • Constructor Details

    • CommonClass

      public CommonClass()
  • Method Details

    • init

      public static void init()
    • init

      public static void init(net.minecraft.client.Minecraft client)
    • getInstance

      public static CommonClass getInstance()
    • getConfig

      public static RenderScaleConfig getConfig()
    • onResolutionChanged

      public void onResolutionChanged()
    • setClientRenderTarget

      public void setClientRenderTarget(com.mojang.blaze3d.pipeline.RenderTarget renderTarget)
    • setShouldScale

      public void setShouldScale(boolean shouldScale)
    • getCurrentScaleFactor

      public double getCurrentScaleFactor()
    • resizeRenderTarget

      public void resizeRenderTarget()