ControlPickup 图标

ControlPickup

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/controlpickup
资源信息

Minecraft 版本: 1.21.4

平台: fabric

标签: management optimization storage

资源介绍

Purpose: Prevent unwanted automatic pickup of items/blocks (e.g., potted plants) by disabling pickup per block type. Works with servers — changes are sent as commands so server authority is respected when available, and client fallback keeps the UI responsive offline.
Key Features:
GUI: Openable via the Controls menu (assign a hotkey) — search blocks by localized name and add/remove entries.
Localized Search: Autocomplete searches by display name (not raw IDs) and shows block icons for easy selection.
Server-Compatible: Client sends /disablepickup and /enablepickup commands so the server enforces pickup rules when supported.
Persistence: Client-side lists persist between sessions for instant feedback and offline use.
German Localization: UI strings are included in German (plus English).
Lightweight Blur: Background is softly blurred behind the GUI while keeping icons and text sharp (configurable in source).
How To Use

Open Controls and bind the key for “Anti Pickup Settings”, or open the GUI from the client mod menu.
Type into the search box (use localized names like “Potted White Tulip”), pick a suggestion, and click Apply.
Toggle between disabling pickups or explicitly enabling pickups using the mode button.
On servers that support it, the client will send /disablepickup namespace:block or /enablepickup namespace:block automatically.
Commands (client → server)

/disablepickup — instructs server to disable pickup for that block type
/enablepickup — instructs server to re-enable pickup for that block type
Compatibility & Requirements

Platform: Fabric mod (tested on Minecraft 1.21.4).
Runtime: Java 21 (development setup uses Fabric Loom).
Notes: Server-side enforcement requires the server to accept the mod’s commands or run the corresponding server component; otherwise the client falls back to local behavior for convenience.
Files & Troubleshooting

GUI logic: AntiPickupConfigScreen.java
Client networking: AntiPickupClientNetworking.java
Local config: AntiPickupClientConfig (persists lists)
If the GUI looks blurry on your system, try adjusting the blur strength in AntiPickupConfigScreen.java (blurDownscale).
License & Credits

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

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Big Globe Compat - Burnt

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

查看详情
Re: Pack

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

查看详情
Tierability

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

查看详情
PolyBlur

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

查看详情