Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
b522eb1
Remove Parchment, update to 26.2
Avakining Jul 11, 2026
3c4c61a
Remove Parchment, update to 26.2
Avakining Jul 11, 2026
b116816
Update chameleon-build.yml
Avakining Jul 11, 2026
e602bf3
Update chameleon-build.yml
Avakining Jul 11, 2026
a63c946
Update chameleon-build.yml
Avakining Jul 11, 2026
dbaccc1
Try to fix github action
Avakining Jul 11, 2026
486a95a
Add github action test
Avakining Jul 11, 2026
f83063d
Update chameleon-test-gradle.yml
Avakining Jul 11, 2026
bc5ceda
Update chameleon-test-gradle.yml
Avakining Jul 11, 2026
9cb597c
Update chameleon-test-gradle.yml
Avakining Jul 11, 2026
bebbe04
Update chameleon-test-gradle.yml
Avakining Jul 11, 2026
4bb450f
Delete .github/workflows/chameleon-test-gradle.yml
Avakining Jul 11, 2026
c8c8812
Revert "Delete .github/workflows/chameleon-test-gradle.yml"
Avakining Jul 11, 2026
cba6de9
Revert "Update chameleon-test-gradle.yml"
Avakining Jul 11, 2026
23d3239
Revert "Update chameleon-test-gradle.yml"
Avakining Jul 11, 2026
358455d
Revert "Update chameleon-test-gradle.yml"
Avakining Jul 11, 2026
85ad4e9
Revert "Update chameleon-test-gradle.yml"
Avakining Jul 11, 2026
558438e
Revert "Add github action test"
Avakining Jul 11, 2026
ce39967
Revert "Try to fix github action"
Avakining Jul 11, 2026
2782eb9
Revert "Update chameleon-build.yml"
Avakining Jul 11, 2026
714d44f
Revert "Update chameleon-build.yml"
Avakining Jul 11, 2026
a1654d0
Revert "Update chameleon-build.yml"
Avakining Jul 11, 2026
422c278
Update chameleon-build.yml
Avakining Jul 11, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 21 additions & 16 deletions .github/workflows/chameleon-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,30 @@ on:
jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- uses: gradle/actions/wrapper-validation@v3

- name: Set up JDK
uses: actions/setup-java@v4
- name: checkout repository
uses: actions/checkout@v6

- name: validate gradle wrapper
uses: gradle/actions/wrapper-validation@v6

- name: setup jdk
uses: actions/setup-java@v5
with:
java-version: '21'
distribution: 'zulu'

- name : Build with Gradle
run: |
export BUILD_NUMBER=${{ github.run_number }}
./gradlew build --no-daemon --stacktrace

java-version: '25'
distribution: 'microsoft'

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v6
with:
cache-provider: basic

- name: Build with Gradle
run: ./gradlew build

- name: Upload a Build Artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: Chameleon-${{ github.run_number }}
path: build/libs/*.jar
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -115,4 +115,4 @@ gradle-app.setting
run/

# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
!gradle-wrapper.jar
!gradle-wrapper.jar
16 changes: 10 additions & 6 deletions README.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,30 +8,34 @@

紹介
--------
- このモードはMinecraft1.19以上のクライアントでmacOSのDockアイコンを変更できるようにします。 (3.2.0バージョンからWindows OSも不安定ですが、サポートします。)

- このモードはMinecraft1.19以上のクライアントでmacOSのDockアイコンを変更できるようにします。 (3.2.0バージョンからWindows
OSも不安定ですが、サポートします。)
- macOS Big Sur以上のOSをお使いになっているプレイヤーさんのため、 9つのアイコンが含まれているアイコンパックも用意されています。
![icon packs](https://user-images.githubusercontent.com/45729082/159682087-7deeb3ec-5d9a-42b6-a0ce-c6fd502a4017.png)
- クライアントコマンド `/chameleon <icon name>` を使用するか、 [Mod Menu](https://www.curseforge.com/minecraft/mc-mods/modmenu)を使用してDockのアイコンの変更ができ、ご所望の場合 **カスタムリソースパック** を通してアイコンを追加できます。
- クライアントコマンド `/chameleon <icon name>`
を使用するか、 [Mod Menu](https://www.curseforge.com/minecraft/mc-mods/modmenu)を使用してDockのアイコンの変更ができ、ご所望の場合
**カスタムリソースパック** を通してアイコンを追加できます。
![preview](https://user-images.githubusercontent.com/45729082/159741680-813d91b8-82e2-4d7a-bead-9cd1402e4710.gif)


注意!
--------

- [fabric-api](https://www.curseforge.com/minecraft/mc-mods/fabric-api) が必要です。
- Java 17以上のみ、お使いできます。


ビルド
--------

1. ターミナルにて `./gradlew build` を入力します。
2. `build/libs/` ディレクトリにてMODを抽出します。


ダウンロード
--------
- 右側のReleases欄にてダウンロードできます。

- 右側のReleases欄にてダウンロードできます。

寄与
--------

- オープンソース生態系の発展のため、すべてのソースコードを公開し、MODの発展のための貢献を歓迎します。
15 changes: 9 additions & 6 deletions README.ko.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,36 +2,39 @@

*다른 언어로 읽기: [English](README.md), 한국어, [日本語](README.ja.md).*

*이 프로젝트의 구버전인 Fix MC-248936 설명 읽기: [English](previous/README.md), [한국어](previous/README.ko.md), [日本語](previous/README.ja.md)*
*이 프로젝트의 구버전인 Fix MC-248936 설명
읽기: [English](previous/README.md), [한국어](previous/README.ko.md), [日本語](previous/README.ja.md)*

--------

소개
--------

- 이 모드는 Minecraft 1.19 이상 클라이언트에서 macOS의 Dock 아이콘을 변경할 수 있게 도와줍니다. (3.2.0 버전부터 Windows OS도 불안정하지만 지원합니다.)
- macOS Big Sur 이상 OS를 사용하는 플레이어를 위한 9개의 아이콘이 포함된 아이콘 팩이 준비되어 있습니다.
![icon packs](https://user-images.githubusercontent.com/45729082/159682087-7deeb3ec-5d9a-42b6-a0ce-c6fd502a4017.png)
- 클라이언트 명령어 `/chameleon <icon name>`를 사용하거나, [Mod Menu](https://www.curseforge.com/minecraft/mc-mods/modmenu)를 사용해 Dock의 아이콘을 변경할 수 있으며, 원하는 경우 **사용자 지정 리소스팩**을 사용하여 아이콘을 추가할 수도 있습니다.
- 클라이언트 명령어 `/chameleon <icon name>`를 사용하거나, [Mod Menu](https://www.curseforge.com/minecraft/mc-mods/modmenu)를 사용해 Dock의
아이콘을 변경할 수 있으며, 원하는 경우 **사용자 지정 리소스팩**을 사용하여 아이콘을 추가할 수도 있습니다.
![preview](https://user-images.githubusercontent.com/45729082/159741680-813d91b8-82e2-4d7a-bead-9cd1402e4710.gif)


주의!
--------

- [fabric-api](https://www.curseforge.com/minecraft/mc-mods/fabric-api) 가 필요합니다.
- Java 17 이상에서만 사용 가능합니다.


빌드
--------

1. 터미널에서 `./gradlew build` 를 입력합니다.
2. `build/libs/` 디렉토리에서 모드를 추출합니다.


다운로드
--------
- 오른쪽 릴리즈 탭에서 다운로드할 수 있습니다.

- 오른쪽 릴리즈 탭에서 다운로드할 수 있습니다.

기여
--------

- 오픈소스 생태계의 발전을 위해 모든 소스코드를 공개하며, 모드의 발전을 위한 기여를 환영합니다.
19 changes: 12 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,36 +2,41 @@

*Read in other languages: English, [한국어](README.ko.md), [日本語](README.ja.md).*

*Read the description of Fix MC-248936, the old name of this project: [English](previous/README.md), [한국어](previous/README.ko.md), [日本語](previous/README.ja.md)*
*Read the description of Fix MC-248936, the old name of this
project: [English](previous/README.md), [한국어](previous/README.ko.md), [日本語](previous/README.ja.md)*

--------

Introduction
--------
- This mod allows you to change the Dock icon in macOS on Minecraft 1.19 and later clients. (Starting from version 3.2.0, Windows OS is also unstable but supports it.)

- This mod allows you to change the Dock icon in macOS on Minecraft 1.19 and later clients. (Starting from version
3.2.0, Windows OS is also unstable but supports it.)
- This mod provides icon pack containing 9 icons for players who run on macOS Big Sur or above.
![icon packs](https://user-images.githubusercontent.com/45729082/159682087-7deeb3ec-5d9a-42b6-a0ce-c6fd502a4017.png)
- You can change Dock icon using the client command `/chameleon <icon name>` or through [Mod Menu](https://www.curseforge.com/minecraft/mc-mods/modmenu). You can also add the icon using a **Custom Resource Pack** if you want.
- You can change Dock icon using the client command `/chameleon <icon name>` or
through [Mod Menu](https://www.curseforge.com/minecraft/mc-mods/modmenu). You can also add the icon using a **Custom
Resource Pack** if you want.
![preview](https://user-images.githubusercontent.com/45729082/159741680-813d91b8-82e2-4d7a-bead-9cd1402e4710.gif)


Caution!
--------

- [fabric-api](https://www.curseforge.com/minecraft/mc-mods/fabric-api) is required.
- This mod is only available on Java 17 or above.


Build
--------

1. Type `./gradlew build` in Terminal.
2. extract mod from `build/libs/` directory.


Download
--------
- You can download it from right release tab.

- You can download it from right release tab.

Contribution
--------

- We open our source code to public for community development, and we appreciate contribution for mod development.
79 changes: 79 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
plugins {
id 'net.fabricmc.fabric-loom' version "${loom_version}"
id 'maven-publish'
}

version = project.mod_version
group = project.maven_group

repositories {
// Add repositories to retrieve artifacts from in here.
// You should only use this when depending on other mods because
// Loom adds the essential maven repositories to download Minecraft and libraries from automatically.
// See https://docs.gradle.org/current/userguide/declaring_repositories.html
// for more information about repositories.
maven {
url = uri("https://maven.terraformersmc.com/") // mod-menu
}
}

dependencies {
// To change the versions see the gradle.properties file
minecraft "com.mojang:minecraft:${project.minecraft_version}"
implementation "net.fabricmc:fabric-loader:${project.loader_version}"

// Fabric API. This is technically optional, but you probably want it anyway.
implementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_api_version}"

implementation "com.terraformersmc:modmenu:${project.modmenu_version}"
}

processResources {
def version = project.version
inputs.property "version", version
filteringCharset = "UTF-8"

filesMatching("fabric.mod.json") {
expand "version": version
}
}

tasks.withType(JavaCompile).configureEach {
it.options.release = 25
}

java {
// Loom will automatically attach sourcesJar to a RemapSourcesJar task and to the "build" task
// if it is present.
// If you remove this line, sources will not be generated.
withSourcesJar()

sourceCompatibility = JavaVersion.VERSION_25
targetCompatibility = JavaVersion.VERSION_25
}

jar {
def projectName = project.name
inputs.property "projectName", projectName

from("LICENSE") {
rename { "${it}_$projectName" }
}
}

// configure the maven publication
publishing {
publications {
create("mavenJava", MavenPublication) {
from components.java
}
}

// See https://docs.gradle.org/current/userguide/publishing_maven.html for information on how to set up publishing.
repositories {
// Add repositories to publish to here.
// Notice: This block does NOT have the same function as the block in the top level.
// The repositories here will be used for publishing your artifact, not for
// retrieving dependencies.
}
}
50 changes: 0 additions & 50 deletions build.gradle.kts

This file was deleted.

26 changes: 15 additions & 11 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
# Done to increase the memory available to gradle.
# Done to increase the memory available to Gradle.
org.gradle.jvmargs=-Xmx1G
# Fabric Properties
# check these on https://fabricmc.net/develop/
minecraft_version=1.21.9
loader_version=0.17.2

#Fabric api
fabric_version=0.134.0+1.21.9
org.gradle.parallel=true
# IntelliJ IDEA is not yet fully compatible with configuration cache, see: https://github.com/FabricMC/fabric-loom/issues/1349
org.gradle.configuration-cache=false

#Mod Menu
mod-menu_version=16.0.0-rc.1
# Fabric Properties
# check these on https://fabricmc.net/develop
minecraft_version=26.2
loader_version=0.19.3
loom_version=1.17-SNAPSHOT

# Mod Properties
mod_version=4.7.0
mod_version=4.8.0
maven_group=moe.caramel
archives_base_name=chameleon
# Dependencies
fabric_api_version=0.154.2+26.2
modmenu_version=20.0.0-beta.4


Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
4 changes: 3 additions & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-9.5.1-bin.zip
networkTimeout=10000
retries=0
retryBackOffMs=500
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Loading