Skip to content

Commit 830932e

Browse files
authored
Merge pull request #28 from SkyBlade1978/master-1.20.1
Correct snowy grass slab caps on Forge 1.20.1
2 parents b90d5ce + 3728454 commit 830932e

11 files changed

Lines changed: 53 additions & 18 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,9 @@ jobs:
135135
if-no-files-found: error
136136
retention-days: 30
137137
path: |
138-
build/libs/SkysGrassSlabs-1.1.0.120011.jar
139-
build/libs/SkysGrassSlabs-1.1.0.120011-sources.jar
140-
build/libs/SkysGrassSlabs-1.1.0.120011-javadoc.jar
138+
build/libs/SkysGrassSlabs-1.1.1.120011.jar
139+
build/libs/SkysGrassSlabs-1.1.1.120011-sources.jar
140+
build/libs/SkysGrassSlabs-1.1.1.120011-javadoc.jar
141141
build/release/SHA256SUMS
142142
CHANGELOG.md
143143

‎CHANGELOG.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## 1.1.1.120011 - Minecraft 1.20.1
4+
5+
- Corrected snowy grass slabs so their exposed top uses the snow texture
6+
instead of remaining biome coloured green.
7+
- Preserved the existing snowy side edges and all world data.
8+
39
## 1.1.0.120011 - Minecraft 1.20.1
410

511
- Ported the complete feature set to Minecraft 1.20.1.

‎README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ thin layer of turf. Grass spreads naturally between full blocks and slabs,
55
while new Overworld terrain uses grass slabs to soften suitable one block
66
steps.
77

8-
This branch is for Minecraft 1.20.1. Version `1.1.0.120011` requires Forge
8+
This branch is for Minecraft 1.20.1. Version `1.1.1.120011` requires Forge
99
47.4.10 or a compatible Forge 47 build and Java 17.
1010

1111
## Installation
@@ -34,7 +34,7 @@ or updating world changing mods.
3434
- [Gameplay and recipes](docs/GAMEPLAY.md)
3535
- [Configuration](docs/CONFIGURATION.md)
3636
- [Upgrading an older world](docs/WORLD-UPGRADES.md)
37-
- [Release notes](docs/RELEASE-1.1.0.120011.md)
37+
- [Release notes](docs/RELEASE-1.1.1.120011.md)
3838

3939
## License
4040

‎docs/RELEASE-1.1.1.120011.md‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Sky's Grass Slabs 1.1.1 for Minecraft 1.20.1
2+
3+
This update corrects the snowy appearance of grass slabs. When a grass slab
4+
shows snowy side edges, its exposed top now uses the matching snow texture
5+
instead of remaining green.
6+
7+
All blocks, recipes, configuration options and world data remain compatible
8+
with the previous Forge 1.20.1 release.
9+
10+
Requires Minecraft 1.20.1, Forge 47.4.10 and Java 17.

‎docs/WORLD-UPGRADES.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ world has been checked in game.
66

77
## Sky's Grass Slabs content
88

9-
Install `SkysGrassSlabs-1.1.0.120011.jar` before opening a world that used an
9+
Install `SkysGrassSlabs-1.1.1.120011.jar` before opening a world that used an
1010
earlier release. The permanent dirt slab, grass slab, path slab and turf IDs
1111
are unchanged.
1212

‎gradle.properties‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ mod_name=Sky's Grass Slabs
6262
# The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default.
6363
mod_license=LGPL-2.1-only
6464
# The mod version. See https://semver.org/
65-
mod_version=1.1.0.120011
65+
mod_version=1.1.1.120011
6666
# The group ID for the mod. It is only important when publishing as an artifact to a Maven repository.
6767
# This should match the base package used for the mod sources.
6868
# See https://maven.apache.org/guides/mini/guide-naming-conventions.html

‎src/main/java/zone/moddev/mc/skysgrassslabs/SkysGrassSlabs.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public final class SkysGrassSlabs {
2525
/** Stable Forge mod identifier and resource namespace. */
2626
public static final String MOD_ID = "skysgrassslabs";
2727
public static final String NAME = "Sky's Grass Slabs";
28-
public static final String VERSION = "1.1.0.120011";
28+
public static final String VERSION = "1.1.1.120011";
2929
public static final Logger LOGGER = LogManager.getLogger();
3030

3131
/** Registers content, configuration, world generation, and persistent state. */

‎src/main/resources/assets/skysgrassslabs/models/block/grass_slab_snow.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"parent": "minecraft:block/block",
3-
"textures": { "particle": "minecraft:block/dirt", "bottom": "minecraft:block/dirt", "top": "minecraft:block/grass_block_top", "side": "minecraft:block/grass_block_snow" },
3+
"textures": { "particle": "minecraft:block/dirt", "bottom": "minecraft:block/dirt", "top": "minecraft:block/snow", "side": "minecraft:block/grass_block_snow" },
44
"elements": [{
55
"from": [0, 0, 0], "to": [16, 8, 16],
66
"faces": {
77
"down": { "uv": [0, 0, 16, 16], "texture": "#bottom", "cullface": "down" },
8-
"up": { "uv": [0, 0, 16, 16], "texture": "#top", "cullface": "up", "tintindex": 0 },
8+
"up": { "uv": [0, 0, 16, 16], "texture": "#top", "cullface": "up" },
99
"north": { "uv": [0, 0, 16, 8], "texture": "#side", "cullface": "north" },
1010
"south": { "uv": [0, 0, 16, 8], "texture": "#side", "cullface": "south" },
1111
"west": { "uv": [0, 0, 16, 8], "texture": "#side", "cullface": "west" },

‎src/main/resources/assets/skysgrassslabs/models/block/grass_slab_top_snow.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"parent": "minecraft:block/block",
3-
"textures": { "particle": "minecraft:block/dirt", "bottom": "minecraft:block/dirt", "top": "minecraft:block/grass_block_top", "side": "minecraft:block/grass_block_snow" },
3+
"textures": { "particle": "minecraft:block/dirt", "bottom": "minecraft:block/dirt", "top": "minecraft:block/snow", "side": "minecraft:block/grass_block_snow" },
44
"elements": [{
55
"from": [0, 8, 0], "to": [16, 16, 16],
66
"faces": {
77
"down": { "uv": [0, 0, 16, 16], "texture": "#bottom", "cullface": "down" },
8-
"up": { "uv": [0, 0, 16, 16], "texture": "#top", "cullface": "up", "tintindex": 0 },
8+
"up": { "uv": [0, 0, 16, 16], "texture": "#top", "cullface": "up" },
99
"north": { "uv": [0, 0, 16, 8], "texture": "#side", "cullface": "north" },
1010
"south": { "uv": [0, 0, 16, 8], "texture": "#side", "cullface": "south" },
1111
"west": { "uv": [0, 0, 16, 8], "texture": "#side", "cullface": "west" },

‎src/test/java/zone/moddev/mc/skysgrassslabs/ProjectContractTest.java‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,14 @@ public void playerAndMaintainerDocumentsExist() {
3232
assertTrue(Files.isRegularFile(Path.of("docs/GAMEPLAY.md")));
3333
assertTrue(Files.isRegularFile(Path.of("docs/WORLD-UPGRADES.md")));
3434
assertFalse(Files.exists(Path.of("docs/REPOSITORY.md")));
35-
assertTrue(Files.isRegularFile(Path.of("docs/RELEASE-1.1.0.120011.md")));
35+
assertTrue(Files.isRegularFile(Path.of("docs/RELEASE-1.1.1.120011.md")));
3636
assertTrue(Files.isRegularFile(Path.of("docs/BETA-0.2.0.118021.md")));
3737
}
3838

3939
@Test
4040
public void releaseIdentityAndLicenseAreStable() throws Exception {
4141
String properties = Files.readString(Path.of("gradle.properties"), StandardCharsets.UTF_8);
42-
assertTrue(properties.contains("mod_version=1.1.0.120011"));
42+
assertTrue(properties.contains("mod_version=1.1.1.120011"));
4343
assertTrue(properties.contains("mod_license=LGPL-2.1-only"));
4444
assertEquals("LGPL-2.1-only", Files.readString(Path.of("LICENSE.spdx"), StandardCharsets.UTF_8).trim());
4545
assertTrue(Files.readString(Path.of("NOTICE"), StandardCharsets.UTF_8)
@@ -96,7 +96,7 @@ public void commonConfigAndWorldStateUsePermanentKeys() throws Exception {
9696
assertTrue(config.contains("push(\"compat\")"));
9797
assertTrue(config.contains("define(FORCE_REPLACE_BUILDINGBRICKS_SLABS, false)"));
9898
assertTrue(config.contains("define(FORCE_REPLACE_GRASS_SLABS_MOD_CONTENT, false)"));
99-
assertTrue(main.contains("VERSION = \"1.1.0.120011\""));
99+
assertTrue(main.contains("VERSION = \"1.1.1.120011\""));
100100
assertTrue(state.contains("skysgrassslabs_world_state"));
101101
assertTrue(state.contains("SCHEMA_VERSION = 1"));
102102
assertTrue(state.contains("schema_version"));
@@ -229,9 +229,9 @@ public void continuousIntegrationTargetsTheStableBranchAndArtifacts() throws Exc
229229
}
230230
String ci = Files.readString(Path.of(".github/workflows/ci.yml"),
231231
StandardCharsets.UTF_8);
232-
assertTrue(ci.contains("SkysGrassSlabs-1.1.0.120011.jar"));
233-
assertTrue(ci.contains("SkysGrassSlabs-1.1.0.120011-sources.jar"));
234-
assertTrue(ci.contains("SkysGrassSlabs-1.1.0.120011-javadoc.jar"));
232+
assertTrue(ci.contains("SkysGrassSlabs-1.1.1.120011.jar"));
233+
assertTrue(ci.contains("SkysGrassSlabs-1.1.1.120011-sources.jar"));
234+
assertTrue(ci.contains("SkysGrassSlabs-1.1.1.120011-javadoc.jar"));
235235
assertTrue(ci.contains("if-no-files-found: error"));
236236
assertEquals(2, ci.lines()
237237
.filter(line -> line.contains("java-version: '8.0.502+7'"))

0 commit comments

Comments
 (0)