Class HandheldRenderer
java.lang.Object
net.ixdarklord.folios.internal.client.handheld.HandheldRenderer
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic booleanWhile the book's hands are drawn: the arms take no pose for what they hold (AvatarRendererMixin). -
Method Summary
Modifier and TypeMethodDescriptionstatic booleandraw(float partialTick, com.mojang.blaze3d.vertex.PoseStack pose, SubmitNodeCollector collector, net.minecraft.client.player.LocalPlayer player, int light) Draws the book if one is held open; returns whether it was (the hands are then not drawn).static voiddrawShared(com.mojang.blaze3d.vertex.PoseStack pose, SubmitNodeCollector collector, int light, GuideReader reader) Draws a book lying open as someone else reads it, for those around to read along: the spread they have open, leaves turning as they turn them, the tabs, nothing pressable; part open, as a book in the hands lies.static voiddrawShared(com.mojang.blaze3d.vertex.PoseStack pose, SubmitNodeCollector collector, int light, GuideReader reader, float open) AsdrawShared(PoseStack, SubmitNodeCollector, int, GuideReader),openof the way open: 0 held up shut (its cover to the reader, its strap on), then unlatched and opened, as the reader's own opens.static GuidePaletteThe paper and ink of a handheld book's pages: parchment, or in dark mode paper gone dark, the ink pale on it.
-
Field Details
-
drawingHands
public static boolean drawingHandsWhile the book's hands are drawn: the arms take no pose for what they hold (AvatarRendererMixin).
-
-
Method Details
-
palette
The paper and ink of a handheld book's pages: parchment, or in dark mode paper gone dark, the ink pale on it. -
draw
public static boolean draw(float partialTick, com.mojang.blaze3d.vertex.PoseStack pose, SubmitNodeCollector collector, net.minecraft.client.player.LocalPlayer player, int light) Draws the book if one is held open; returns whether it was (the hands are then not drawn).
-