Class HandheldRenderer
java.lang.Object
net.ixdarklord.folios.internal.client.handheld.HandheldRenderer
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleandraw(float partialTick, com.mojang.blaze3d.vertex.PoseStack pose, net.minecraft.client.renderer.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, net.minecraft.client.renderer.SubmitNodeCollector collector, int light, FoliosReader 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, net.minecraft.client.renderer.SubmitNodeCollector collector, int light, FoliosReader reader, float open) AsdrawShared(PoseStack, SubmitNodeCollector, int, FoliosReader),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 FoliosPalettepalette(FoliosBook book) The paper and ink of a handheld book's pages: parchment, or in dark mode paper gone dark, the ink pale on it.
-
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, net.minecraft.client.renderer.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).
-