CacheUtils 图标

CacheUtils

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 0.2.1+1.21.4
本资源为搬运资源,原资源地址: https://modrinth.com/mod/smilezyd-cacheutils
资源信息

Minecraft 版本: 1.21.4

平台: fabric

标签: management storage utility

资源介绍

Cache Utils Documentation

Description

Cache Utils is a lightweight, client-side utility mod designed for resource pack creators and mod developers to debug and visualize cached assets in real-time.
It adds a single core command with multiple sub-commands that allow you to interact with the cache

Commands:

/cacheutils delete <target> [<protectUI>]

What it does: Removes all cache entries whose keys contain the specified <target> string.

Usage notes: <target> determines which entries get deleted — anything containing that substring will be deleted; use with caution. <protectUI> (default: true) prevents deleting font-related cache entries. Disabling this may break visible UI elements until the player uses F3+T, which restores fonts but not other assets.

/cacheutils info <target> [<ordinal>]

What it does: Shows the full cached value for the specified <target>. If multiple entries match, optionally include <ordinal> to pick the exact entry.

Usage notes: Use this to inspect the raw stored data for a target. Helpful when you need technical information about an entry.

/cacheutils length

What it does: Displays the total number of entries currently stored in the cache.

Usage notes: No parameters accepted — it simply returns the count. Great for quick sanity checks.

/cacheutils list <chat|log> [<searchTerm>]

What it does: Lists cached entries from the chosen output mode: chat (prints to player chat) or log (writes to the server log). Optionally provide <searchTerm> to filter results.

Usage notes: Use chat for quick interactive results, and log when you need long output or for sharing with devs.

Warning

The delete sub-command will in fact delete vanilla Minecraft textures if you tell it to do so. This is not a bug, this is by design of the mod. There are some textures that have been forcefully prevented from being deleted: minecraft:missingno, and there are some that have been put under security - fonts - to delete these textures you must set [] to false.

Development

This mod is still under development, and will be getting new features and ported to new and old versions IT WILL NOT BE PORTED TO FORGE OR NEOFORGE unless some writes it for that mod loader and makes a pull request on my git repo.

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Sharp-Edged Swords

价格:0 墨喵币
下载量:0

查看详情
Recipe Book Plus

价格:0 墨喵币
下载量:0

查看详情
Telekinesis AddonPack

价格:0 墨喵币
下载量:0

查看详情
Cozy Night Lamps

价格:0 墨喵币
下载量:0

查看详情