Class FloatingText

java.lang.Object
cromveil.combatnumbers.client.render.FloatingText

public class FloatingText extends Object
  • Field Details

    • worldPos

      public final net.minecraft.world.phys.Vec3 worldPos
    • formattedText

      public final String formattedText
    • visual

      public final SkinRenderer visual
    • animation

      public final AnimationInstance animation
    • scale

      public final float scale
  • Constructor Details

    • FloatingText

      public FloatingText(net.minecraft.world.phys.Vec3 worldPos, String formattedText, SkinRenderer visual, AnimationInstance animation, float scale, double gameTime)
  • Method Details

    • setGameTime

      public void setGameTime(double gameTime)
    • getCharCount

      public int getCharCount()
    • hasPerCharStagger

      public boolean hasPerCharStagger()
    • sampleChannels

      public void sampleChannels(int charIdx)
    • getAlpha

      public float getAlpha()
    • getScaleMultiplier

      public float getScaleMultiplier()
    • getCharScaleMultiplier

      public float getCharScaleMultiplier(int charIdx)
    • getCharAlpha

      public float getCharAlpha(int charIdx)
    • getOffsetX

      public float getOffsetX()
    • getOffsetY

      public float getOffsetY()
    • getCharOffsetX

      public float getCharOffsetX(int charIdx)
    • getCharOffsetY

      public float getCharOffsetY(int charIdx)
    • getRotation

      public float getRotation()
    • getCharRotation

      public float getCharRotation(int charIdx)
    • isExpired

      public boolean isExpired()