Skip to content

Commit 16f1f43

Browse files
committed
Release 4.4.0 for Minecraft 1.21
closes #10
1 parent f900d6d commit 16f1f43

File tree

7 files changed

+21
-21
lines changed

7 files changed

+21
-21
lines changed

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
plugins {
2-
id("fabric-loom") version "1.6-SNAPSHOT"
2+
id("fabric-loom") version "1.7-SNAPSHOT"
33
}
44

55
base {

gradle.properties

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22
org.gradle.jvmargs=-Xmx1G
33
# Fabric Properties
44
# check these on https://modmuss50.me/fabric.html
5-
minecraft_version=1.20.6
6-
loader_version=0.15.10
5+
minecraft_version=1.21
6+
loader_version=0.15.11
77

88
#Fabric api
9-
fabric_version=0.97.8+1.20.6
9+
fabric_version=0.100.4+1.21
1010

1111
#Mod Menu
12-
mod-menu_version=10.0.0-beta.1
12+
mod-menu_version=11.0.1
1313

1414
# Mod Properties
15-
mod_version=4.3.0
15+
mod_version=4.4.0
1616
maven_group=moe.caramel
1717
archives_base_name=chameleon

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

gradlew

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main/java/moe/caramel/chameleon/Main.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public void onInitialize() {
3535
ResourceManagerHelper.get(PackType.CLIENT_RESOURCES).registerReloadListener(new SimpleSynchronousResourceReloadListener() {
3636
@Override
3737
public ResourceLocation getFabricId() {
38-
return new ResourceLocation("caramel", "chameleon-dock");
38+
return ResourceLocation.fromNamespaceAndPath("caramel", "chameleon-dock");
3939
}
4040

4141
@Override

src/main/java/moe/caramel/chameleon/util/ModConfig.java

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -28,21 +28,21 @@ public final class ModConfig extends Settings<ModConfig> {
2828

2929
private static final Path MOD_CONFIG = new File("./config/caramel.chameleon.properties").toPath();
3030
private static final int CURRENT_CONFIG_VERSION = 1;
31-
public static final ResourceLocation ORIGINAL_MAC_ICON = new ResourceLocation("icons/minecraft.icns");
32-
public static final ResourceLocation ORIGINAL_WIN_ICON = new ResourceLocation("icons/icon_128x128.png");
31+
public static final ResourceLocation ORIGINAL_MAC_ICON = ResourceLocation.withDefaultNamespace("icons/minecraft.icns");
32+
public static final ResourceLocation ORIGINAL_WIN_ICON = ResourceLocation.withDefaultNamespace("icons/icon_128x128.png");
3333
public static final Map<ResourceLocation, String[]> VANILLA_ICON_SET = new Object2ObjectOpenHashMap<>();
3434
static {
3535
VANILLA_ICON_SET.put(ORIGINAL_MAC_ICON, new String[]{ "icons", "minecraft.icns" });
36-
VANILLA_ICON_SET.put(new ResourceLocation("icons/icon_16x16.png"), new String[]{ "icons", "icon_16x16.png" });
37-
VANILLA_ICON_SET.put(new ResourceLocation("icons/icon_32x32.png"), new String[]{ "icons", "icon_32x32.png" });
38-
VANILLA_ICON_SET.put(new ResourceLocation("icons/icon_48x48.png"), new String[]{ "icons", "icon_48x48.png" });
36+
VANILLA_ICON_SET.put(ResourceLocation.withDefaultNamespace("icons/icon_16x16.png"), new String[]{ "icons", "icon_16x16.png" });
37+
VANILLA_ICON_SET.put(ResourceLocation.withDefaultNamespace("icons/icon_32x32.png"), new String[]{ "icons", "icon_32x32.png" });
38+
VANILLA_ICON_SET.put(ResourceLocation.withDefaultNamespace("icons/icon_48x48.png"), new String[]{ "icons", "icon_48x48.png" });
3939
VANILLA_ICON_SET.put(ORIGINAL_WIN_ICON, new String[]{ "icons", "icon_128x128.png" });
40-
VANILLA_ICON_SET.put(new ResourceLocation("icons/icon_256x256.png"), new String[]{ "icons", "icon_256x256.png" });
41-
VANILLA_ICON_SET.put(new ResourceLocation("snapshot/icons/icon_16x16.png"), new String[]{ "icons", "snapshot", "icon_16x16.png" });
42-
VANILLA_ICON_SET.put(new ResourceLocation("snapshot/icons/icon_32x32.png"), new String[]{ "icons", "snapshot", "icon_32x32.png" });
43-
VANILLA_ICON_SET.put(new ResourceLocation("snapshot/icons/icon_48x48.png"), new String[]{ "icons", "snapshot", "icon_48x48.png" });
44-
VANILLA_ICON_SET.put(new ResourceLocation("snapshot/icons/icon_128x128.png"), new String[]{ "icons", "snapshot", "icon_128x128.png" });
45-
VANILLA_ICON_SET.put(new ResourceLocation("snapshot/icons/icon_256x256.png"), new String[]{ "icons", "snapshot", "icon_256x256.png" });
40+
VANILLA_ICON_SET.put(ResourceLocation.withDefaultNamespace("icons/icon_256x256.png"), new String[]{ "icons", "icon_256x256.png" });
41+
VANILLA_ICON_SET.put(ResourceLocation.withDefaultNamespace("snapshot/icons/icon_16x16.png"), new String[]{ "icons", "snapshot", "icon_16x16.png" });
42+
VANILLA_ICON_SET.put(ResourceLocation.withDefaultNamespace("snapshot/icons/icon_32x32.png"), new String[]{ "icons", "snapshot", "icon_32x32.png" });
43+
VANILLA_ICON_SET.put(ResourceLocation.withDefaultNamespace("snapshot/icons/icon_48x48.png"), new String[]{ "icons", "snapshot", "icon_48x48.png" });
44+
VANILLA_ICON_SET.put(ResourceLocation.withDefaultNamespace("snapshot/icons/icon_128x128.png"), new String[]{ "icons", "snapshot", "icon_128x128.png" });
45+
VANILLA_ICON_SET.put(ResourceLocation.withDefaultNamespace("snapshot/icons/icon_256x256.png"), new String[]{ "icons", "snapshot", "icon_256x256.png" });
4646
}
4747
public static final Function<Minecraft, Set<ResourceLocation>> GET_ICON_SET = client -> {
4848
final Set<ResourceLocation> iconSet = new ObjectOpenHashSet<>();

src/main/resources/fabric.mod.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"fabric-command-api-v2": "*",
2727
"fabric-resource-loader-v0": "*",
2828
"fabricloader": ">=0.15.10",
29-
"minecraft": ">=1.20.5",
29+
"minecraft": ">=1.21",
3030
"java": ">=21"
3131
},
3232
"custom": {

0 commit comments

Comments
 (0)