Class ScaledGuiItems

java.lang.Object
net.ixdarklord.folios.internal.client.paint.ScaledGuiItems

public final class ScaledGuiItems extends Object
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final record 
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
     
    static void
    prepare(ScaledGuiItems.State state, net.minecraft.client.renderer.state.gui.GuiRenderState screen, net.minecraft.client.renderer.feature.FeatureRenderDispatcher features, int guiScale)
     
    static @Nullable net.minecraft.client.renderer.state.gui.pip.PictureInPictureRenderState
    scaled(net.minecraft.client.renderer.state.gui.GuiItemRenderState item)
    An item handed to the screen as one drawn on its own at its size, or null to draw it as the game does.
    static void
    Draws what draw hands the screen with its scaled items drawn at the size they are shown.
    static void
    The frame's scaled items are about to be drawn: their drawings are free again.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • sharp

      public static void sharp(Runnable draw)
      Draws what draw hands the screen with its scaled items drawn at the size they are shown.
    • scaled

      public static @Nullable net.minecraft.client.renderer.state.gui.pip.PictureInPictureRenderState scaled(net.minecraft.client.renderer.state.gui.GuiItemRenderState item)
      An item handed to the screen as one drawn on its own at its size, or null to draw it as the game does.
    • startFrame

      public static void startFrame()
      The frame's scaled items are about to be drawn: their drawings are free again.
    • prepare

      public static void prepare(ScaledGuiItems.State state, net.minecraft.client.renderer.state.gui.GuiRenderState screen, net.minecraft.client.renderer.feature.FeatureRenderDispatcher features, int guiScale)
    • close

      public static void close()