Skip to content

Commit 954d4b4

Browse files
committed
Release: 1.3.1 for Minecraft 1.21.4
- Block and item colors now returns neon pink when tint is missing. - Add the ability to get specific version of mod by index (E.g. "1.2.3+4.5.6", index 0: 1.2.3, index 1: 4.5.6). - Improve mod patching. - Add the ability to apply snow layer logic to manually added blocks from config file (May work, depends on the mod).
1 parent cc070f7 commit 954d4b4

File tree

5 files changed

+10
-11
lines changed

5 files changed

+10
-11
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ In Bedrock Edition, there is an exclusive feature that turns some of the leaves
77
- Jungle leaves now have cocoa pods ([Podded Jungle Leaves](https://github.com/ishikyoo/podded-jungle-leaves)).
88
- Fully customisable, snow coverage, leaves colors and more can be tweaked.
99

10-
This branch support `Minecraft` versions `1.21.2` and `1.21.3`.
10+
This branch supports `Minecraft` version `1.21.4`.
1111

1212
## Installation
1313
You can install `Leavesly` by downloading it from the following:
@@ -16,7 +16,7 @@ You can install `Leavesly` by downloading it from the following:
1616
[![Modrinth Downloads](https://img.shields.io/modrinth/dt/leavesly?style=for-the-badge&logo=modrinth&color=00AD5B)](https://modrinth.com/mod/leavesly)
1717
[![CurseForge Downloads](https://img.shields.io/curseforge/dt/1109585?style=for-the-badge&logo=curseforge&color=F16436&)](https://www.curseforge.com/minecraft/mc-mods/leavesly)
1818

19-
Simply place the mod file `leavesly-1.3.1+1.21.3.jar` in your `.minecraft\mods` folder, and load Minecraft using [Fabric](https://fabricmc.net/use/installer) or [Quilt](https://quiltmc.org/en/install).
19+
Simply place the mod file `leavesly-1.3.1+1.21.4.jar` in your `.minecraft\mods` folder, and load Minecraft using [Fabric](https://fabricmc.net/use/installer) or [Quilt](https://quiltmc.org/en/install).
2020
You will need Fabric API or Quilted Fabric API.
2121

2222
You can also install it using [Prism Launcher](https://prismlauncher.org), or any other mod manager you like.

gradle.properties

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ org.gradle.parallel=true
44

55
# Fabric Properties
66
# check these on https://fabricmc.net/develop
7-
minecraft_version=1.21.3
8-
yarn_mappings=1.21.3+build.2
7+
minecraft_version=1.21.4
8+
yarn_mappings=1.21.4+build.8
99
loader_version=0.16.10
1010

1111
# Mod Properties
12-
mod_version=1.3.1+1.21.3
12+
mod_version=1.3.1+1.21.4
1313
maven_group=com.ishikyoo.leavesly
1414
archives_base_name=leavesly
1515

1616
# Dependencies
17-
fabric_version=0.114.0+1.21.3
17+
fabric_version=0.119.2+1.21.4

src/main/java/com/ishikyoo/leavesly/LeaveslyColorProvider.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public static void register(Identifier id) {
4040
if (!registeredBlockIds.contains(id)) {
4141
Block block = Blocks.getBlock(id);
4242
ColorProviderRegistry.BLOCK.register(LeaveslyColorProvider::getColorProviderBlockColor, block);
43-
ColorProviderRegistry.ITEM.register(LeaveslyColorProvider::getColorProviderItemColor, block);
43+
//ColorProviderRegistry.ITEM.register(LeaveslyColorProvider::getColorProviderItemColor, block);
4444
LOG.info("Registered block and item colors (Id: {}, Tint: {}).", id, tint.getColorType().toString().toLowerCase());
4545
registeredBlockIds.add(id);
4646
} else {
@@ -71,7 +71,7 @@ private static void registerModBlockPatch(Identifier blockId, Tint tint) {
7171
LeaveslySettingsData settings = LeaveslySettings.getSettings();
7272
if (!settings.isRegisteredBlockId(blockId) && Blocks.isRegisteredBlockId(blockId)) {
7373
modPatchBlockTintHashMap.put(blockId, tint);
74-
LOG.info("Registered block and item colors mod patch (Id: {}, Tint: {}).", blockId, tint.getColorType().toString().toLowerCase());
74+
LOG.info("Registered block mod patch (Id: {}, Tint: {}).", blockId, tint.getColorType().toString().toLowerCase());
7575
}
7676
}
7777

src/main/resources/fabric.mod.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@
3232
"depends": {
3333
"fabricloader": "*",
3434
"minecraft": [
35-
"1.21.2",
36-
"1.21.3"
35+
"1.21.4"
3736
],
3837
"fabric-api": "*"
3938
},

src/main/resources/quilt.mod.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"fabric-api",
1515
{
1616
"id": "minecraft",
17-
"versions": { "all": [">=1.21.2", "<=1.21.3"] }
17+
"versions": { "all": [">=1.21.4", "<=1.21.4"] }
1818
}
1919
],
2020
"intermediate_mappings": "net.fabricmc:intermediary",

0 commit comments

Comments
 (0)