Removed "render ticks" tick type. Instead, animations and frames can define a tick speed measured in milliseconds. Animations/frames using MC tick type will be 50ms (1000ms/20), and render ticks 20ms.

This commit is contained in:
luisc committed 2024-03-23 23:34:01 -05:00
1 parent de909472b3
commit 799631eece
11 files changed
+97 -95

No files matched your search

@@ -9,6 +9,7 @@ import noppes.npcs.controllers.data.*;
import noppes.npcs.util.CacheHashMap;
import java.util.HashMap;
import java.util.HashSet;
import java.util.UUID;
public class ClientCacheHandler {
@@ -18,7 +19,9 @@ public class ClientCacheHandler {
public static OverlayQuestTracking questTrackingOverlay = null;
public static HashMap<Integer, OverlayCustom> customOverlays = new HashMap<>();
public static HashMap<UUID, HashMap<Integer, SkinOverlay>> skinOverlays = new HashMap<>();
public static HashMap<UUID, AnimationData> playerAnimations = new HashMap<>();
public static HashSet<Animation> playingAnimations = new HashSet<>();
public static Party party;
@@ -54,6 +57,7 @@ public class ClientCacheHandler {
ClientCacheHandler.skinOverlays.clear();
ClientCacheHandler.playerAnimations.clear();
ClientCacheHandler.playerData.animationData.clearCache();
ClientCacheHandler.playingAnimations.clear();
}
public static void clearSkinCache() {