Class ClientRuntime

java.lang.Object
cromveil.combatnumbers.client.ClientRuntime

public final class ClientRuntime extends Object
  • Constructor Details

    • ClientRuntime

      public ClientRuntime()
  • Method Details

    • applyStyleTable

      public void applyStyleTable(StyleTable table)
    • applyServerSkins

      public void applyServerSkins(Map<net.minecraft.resources.Identifier, SkinDefinition> defs)
    • applyServerTextures

      public void applyServerTextures(Map<net.minecraft.resources.Identifier, byte[]> textures)
    • applyServerAnimations

      public void applyServerAnimations(Map<net.minecraft.resources.Identifier, Timeline> animations)
    • applyResourcePackSkins

      public void applyResourcePackSkins(Map<net.minecraft.resources.Identifier, SkinDefinition> defs, net.minecraft.server.packs.resources.ResourceManager manager)
    • applyResourcePackAnimations

      public void applyResourcePackAnimations(Map<net.minecraft.resources.Identifier, Timeline> animations)
    • tickThemeWatch

      public void tickThemeWatch()
      Rebuilds the theme layer if the configured theme changed since last applied. FIXME: better way to detect theme changes than polling every tick
    • onDisconnect

      public void onDisconnect()
    • onRenderPacket

      public void onRenderPacket(int entityId, float value, int skinIndex, int animationIndex)