跳到正文

Dock Icon Change

作者:TelTelTey317

Client-only mod that swaps Minecraft’s macOS Dock icon at startup.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

Dock Icon (NeoForge, macOS)

A client-only mod for macOS that replaces Minecraft’s Dock icon on startup. If
you want a custom Dock icon for your modpack, server branding, or personal
aesthetic, this makes it automatic and safe.

Features

  • macOS‑only; does nothing on other OSes
  • Client‑only; dedicated servers are safe
  • Loads a custom PNG and swaps the Dock icon at startup
  • Robust error handling (never crashes on missing/invalid image)
  • In‑game reload command for quick iteration

How to Use

  1. Place your PNG here:
  • config/dock_icon.png
  1. Launch the game — the Dock icon updates automatically.

Recommended image: square PNG, 512×512 or 1024×1024 with transparency.

Configuration

File: config/dockicon-client.toml

  • iconPath (string) Path to your PNG. Relative paths are resolved from the config/ folder. ~ is supported.

Commands

  • /dockicon reload Reloads the icon without restarting the game.

Launcher Notes (Prism, etc.)

Some launchers require JVM arguments to enable the Apple Dock API. Add:

-Djava.awt.headless=false
–add-exports=java.desktop/com.apple.eawt=ALL-UNNAMED

A warning screen appears on startup and includes a “don’t show again”
checkbox.

常见问题

Dock Icon Change 支持哪些 Minecraft 版本?

Dock Icon Change 支持 Minecraft Java 版 1.21.1,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。

Dock Icon Change 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅客户端。

评论

登录后评论和评分