Class ClientRuntime
java.lang.Object
cromveil.combatnumbers.client.ClientRuntime
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyResourcePackAnimations(Map<net.minecraft.resources.Identifier, Timeline> animations) voidapplyResourcePackSkins(Map<net.minecraft.resources.Identifier, SkinDefinition> defs, net.minecraft.server.packs.resources.ResourceManager manager) voidapplyServerAnimations(Map<net.minecraft.resources.Identifier, Timeline> animations) voidapplyServerSkins(Map<net.minecraft.resources.Identifier, SkinDefinition> defs) voidapplyServerTextures(Map<net.minecraft.resources.Identifier, byte[]> textures) voidapplyStyleTable(StyleTable table) voidvoidonRenderPacket(int entityId, float value, int skinIndex, int animationIndex) voidRebuilds the theme layer if the configured theme changed since last applied.
-
Constructor Details
-
ClientRuntime
public ClientRuntime()
-
-
Method Details
-
applyStyleTable
-
applyServerSkins
-
applyServerTextures
-
applyServerAnimations
-
applyResourcePackSkins
public void applyResourcePackSkins(Map<net.minecraft.resources.Identifier, SkinDefinition> defs, net.minecraft.server.packs.resources.ResourceManager manager) -
applyResourcePackAnimations
-
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)
-