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

public final class CoverModel extends Object
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final record 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final float
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    static void
     
    void
    draw(com.mojang.blaze3d.vertex.PoseStack pose, SubmitNodeCollector collector, int light, boolean left, float width, float top, float bottom, float outside, int cover, int accent, float open, @Nullable org.joml.Matrix3f relight)
     
    void
    draw(com.mojang.blaze3d.vertex.PoseStack pose, SubmitNodeCollector collector, int light, boolean left, float width, float top, float bottom, float outside, int cover, int accent, float open, @Nullable org.joml.Matrix3f relight, FoliosIcon icon, float iconSize)
     
    static @Nullable CoverModel
    get(net.minecraft.resources.ResourceLocation id)
     
    static float
    swing(float open)
     

    Methods inherited from class java.lang.Object

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

  • Method Details

    • swing

      public static float swing(float open)
    • bands

      public List<CoverModel.Band> bands()
    • clear

      public static void clear()
    • get

      @Nullable public static @Nullable CoverModel get(net.minecraft.resources.ResourceLocation id)
    • draw

      public void draw(com.mojang.blaze3d.vertex.PoseStack pose, SubmitNodeCollector collector, int light, boolean left, float width, float top, float bottom, float outside, int cover, int accent, float open, @Nullable org.joml.Matrix3f relight)
    • draw

      public void draw(com.mojang.blaze3d.vertex.PoseStack pose, SubmitNodeCollector collector, int light, boolean left, float width, float top, float bottom, float outside, int cover, int accent, float open, @Nullable org.joml.Matrix3f relight, FoliosIcon icon, float iconSize)