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, 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, net.minecraft.client.renderer.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 GuidePalette
-
Method Details
-
palette
-
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).
-