Class SharedBooks

java.lang.Object
net.ixdarklord.folios.internal.client.handheld.SharedBooks

public final class SharedBooks extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
     
    static void
    holdArms(net.minecraft.client.model.geom.ModelPart right, net.minecraft.client.model.geom.ModelPart left, boolean crouching, float open)
    Puts the arms of someone shown reading along with low and forward, angled in under the book's lower edge.
    static boolean
    isShown(int holder)
     
    static boolean
    isShown(net.minecraft.world.entity.Entity holder)
    Whether someone is shown reading along with: their held book is then drawn here, not as their item.
    static float
    openness(int holder)
    How far open the book someone holds up is drawn now, 0 shut to 1 open; 1 for none.
    static void
     
    static void
    submit(net.minecraft.client.renderer.entity.state.AvatarRenderState state, com.mojang.blaze3d.vertex.PoseStack pose, net.minecraft.client.renderer.SubmitNodeCollector collector)
     
    static void
    Lets go of books not heard of for a while, or whose reader is gone.

    Methods inherited from class Object

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

    • receive

      public static void receive(FoliosPayloads.SharedReading payload)
    • isShown

      public static boolean isShown(net.minecraft.world.entity.Entity holder)
      Whether someone is shown reading along with: their held book is then drawn here, not as their item.
    • isShown

      public static boolean isShown(int holder)
    • openness

      public static float openness(int holder)
      How far open the book someone holds up is drawn now, 0 shut to 1 open; 1 for none.
    • holdArms

      public static void holdArms(net.minecraft.client.model.geom.ModelPart right, net.minecraft.client.model.geom.ModelPart left, boolean crouching, float open)
      Puts the arms of someone shown reading along with low and forward, angled in under the book's lower edge.
    • clear

      public static void clear()
    • tick

      public static void tick()
      Lets go of books not heard of for a while, or whose reader is gone.
    • submit

      public static void submit(net.minecraft.client.renderer.entity.state.AvatarRenderState state, com.mojang.blaze3d.vertex.PoseStack pose, net.minecraft.client.renderer.SubmitNodeCollector collector)