Class ScaledGuiItems
java.lang.Object
net.ixdarklord.folios.internal.client.paint.ScaledGuiItems
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic voidclose()static voidprepare(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.PictureInPictureRenderStatescaled(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 voidDraws whatdrawhands the screen with its scaled items drawn at the size they are shown.static voidThe frame's scaled items are about to be drawn: their drawings are free again.
-
Method Details
-
sharp
Draws whatdrawhands 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()
-