|
| 1 | +diff --git a/build.gradle b/build.gradle |
| 2 | +index e900ac8..1282a56 100644 |
| 3 | +--- a/build.gradle |
| 4 | ++++ b/build.gradle |
| 5 | +@@ -50,7 +50,7 @@ modrinth { |
| 6 | + uploadFile = remapJar |
| 7 | + versionType = "beta" |
| 8 | + loaders = ["fabric", "quilt"] |
| 9 | +- gameVersions = ["1.19.4"] |
| 10 | ++ gameVersions = ["1.19", "1.19.1", "1.19.2", "1.19.3"] |
| 11 | + syncBodyFrom = rootProject.file("README.md").text |
| 12 | + dependencies = [new ModDependency("fabric-api", "required")] |
| 13 | + } |
| 14 | +@@ -62,7 +62,10 @@ curseforge { |
| 15 | + releaseType = "beta" |
| 16 | + addGameVersion("Fabric") |
| 17 | + addGameVersion("Quilt") |
| 18 | +- addGameVersion("1.19.4") |
| 19 | ++ addGameVersion("1.19") |
| 20 | ++ addGameVersion("1.19.1") |
| 21 | ++ addGameVersion("1.19.2") |
| 22 | ++ addGameVersion("1.19.3") |
| 23 | + mainArtifact(remapJar) { |
| 24 | + displayName = "SnowyLeavesPlus ${version} for Minecraft ${project.minecraft_version}" |
| 25 | + } |
| 26 | +diff --git a/gradle.properties b/gradle.properties |
| 27 | +index 2c41f14..1add2ad 100644 |
| 28 | +--- a/gradle.properties |
| 29 | ++++ b/gradle.properties |
| 30 | +@@ -1,10 +1,10 @@ |
| 31 | + org.gradle.jvmargs=-Xmx2G |
| 32 | + |
| 33 | + # Fabric Properties (https://fabricmc.net/develop) |
| 34 | +-minecraft_version=1.19.4 |
| 35 | +-yarn_mappings=1.19.4+build.1 |
| 36 | ++minecraft_version=1.19.3 |
| 37 | ++yarn_mappings=1.19.3+build.5 |
| 38 | + loader_version=0.14.17 |
| 39 | +-fabric_version=0.76.0+1.19.4 |
| 40 | ++fabric_version=0.76.0+1.19.3 |
| 41 | + |
| 42 | + # Mod Properties |
| 43 | + mod_version=0.1.5 |
| 44 | +diff --git a/src/main/java/io/github/therookiecoder/snowyleavesplus/SnowyLeavesPlusClient.java b/src/main/java/io/github/therookiecoder/snowyleavesplus/SnowyLeavesPlusClient.java |
| 45 | +index 289d201..b31f1dd 100644 |
| 46 | +--- a/src/main/java/io/github/therookiecoder/snowyleavesplus/SnowyLeavesPlusClient.java |
| 47 | ++++ b/src/main/java/io/github/therookiecoder/snowyleavesplus/SnowyLeavesPlusClient.java |
| 48 | +@@ -31,7 +31,6 @@ public class SnowyLeavesPlusClient implements ClientModInitializer { |
| 49 | + Blocks.BIRCH_LEAVES, |
| 50 | + Blocks.JUNGLE_LEAVES, |
| 51 | + Blocks.ACACIA_LEAVES, |
| 52 | +- Blocks.CHERRY_LEAVES, |
| 53 | + Blocks.DARK_OAK_LEAVES, |
| 54 | + Blocks.MANGROVE_LEAVES, |
| 55 | + Blocks.AZALEA_LEAVES, |
| 56 | +diff --git a/src/main/java/io/github/therookiecoder/snowyleavesplus/mixin/LeavesBlockMixin.java b/src/main/java/io/github/therookiecoder/snowyleavesplus/mixin/LeavesBlockMixin.java |
| 57 | +index e7b6011..0ce2bcf 100644 |
| 58 | +--- a/src/main/java/io/github/therookiecoder/snowyleavesplus/mixin/LeavesBlockMixin.java |
| 59 | ++++ b/src/main/java/io/github/therookiecoder/snowyleavesplus/mixin/LeavesBlockMixin.java |
| 60 | +@@ -64,7 +64,7 @@ public class LeavesBlockMixin { |
| 61 | + if ( |
| 62 | + // If it's snowing |
| 63 | + world.isRaining() |
| 64 | +- && world.getBiome(pos).value().getPrecipitation(pos) == Biome.Precipitation.SNOW |
| 65 | ++ && world.getBiome(pos).value().getPrecipitation() == Biome.Precipitation.SNOW |
| 66 | + ) { |
| 67 | + // And the block is (somewhat) exposed to the sky |
| 68 | + if (world.getLightLevel(LightType.SKY, pos) > 10) { |
| 69 | +diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json |
| 70 | +index e57f3b0..e9d140c 100644 |
| 71 | +--- a/src/main/resources/fabric.mod.json |
| 72 | ++++ b/src/main/resources/fabric.mod.json |
| 73 | +@@ -18,7 +18,7 @@ |
| 74 | + "mixins": ["snowyleavesplus.mixins.json"], |
| 75 | + "depends": { |
| 76 | + "fabricloader": "*", |
| 77 | +- "fabric-api": "*", |
| 78 | +- "minecraft": "1.19.4" |
| 79 | ++ "fabric": "*", |
| 80 | ++ "minecraft": ["1.19", "1.19.1", "1.19.2", "1.19.3"] |
| 81 | + } |
| 82 | + } |
| 83 | +diff --git a/src/main/resources/quilt.mod.json b/src/main/resources/quilt.mod.json |
| 84 | +index 4e38568..3ba52c1 100644 |
| 85 | +--- a/src/main/resources/quilt.mod.json |
| 86 | ++++ b/src/main/resources/quilt.mod.json |
| 87 | +@@ -9,10 +9,10 @@ |
| 88 | + }, |
| 89 | + "depends": [ |
| 90 | + "fabricloader", |
| 91 | +- "fabric-api", |
| 92 | ++ "fabric", |
| 93 | + { |
| 94 | + "id": "minecraft", |
| 95 | +- "versions": "1.19.4" |
| 96 | ++ "versions": ["1.19", "1.19.1", "1.19.2", "1.19.3"] |
| 97 | + } |
| 98 | + ], |
| 99 | + "intermediate_mappings": "net.fabricmc:intermediary", |
0 commit comments