diff --git a/chunky/src/java/se/llbit/chunky/block/Grass.java b/chunky/src/java/se/llbit/chunky/block/Grass.java index 218a3c588e..18a35b8e82 100644 --- a/chunky/src/java/se/llbit/chunky/block/Grass.java +++ b/chunky/src/java/se/llbit/chunky/block/Grass.java @@ -7,7 +7,7 @@ public class Grass extends MinecraftBlockTranslucent { public Grass() { - super("grass", Texture.tallGrass); + super("short_grass", Texture.tallGrass); localIntersect = true; solid = false; } diff --git a/chunky/src/java/se/llbit/chunky/block/MinecraftBlockProvider.java b/chunky/src/java/se/llbit/chunky/block/MinecraftBlockProvider.java index 79edf22b60..8f4cead9d1 100644 --- a/chunky/src/java/se/llbit/chunky/block/MinecraftBlockProvider.java +++ b/chunky/src/java/se/llbit/chunky/block/MinecraftBlockProvider.java @@ -349,7 +349,8 @@ public class MinecraftBlockProvider implements BlockProvider { "minecraft:granite_stairs", "minecraft:granite_wall", "minecraft:grass_block", - "minecraft:grass", + "minecraft:grass", // pre 1.20.3-pre2 + "minecraft:short_grass", // since 1.20.3-pre2 "minecraft:grass_path", // pre 20w45a "minecraft:gravel", "minecraft:gray_banner", @@ -1262,6 +1263,7 @@ public Block getBlockByTag(String namespacedName, Tag tag) { case "cobweb": return new SpriteBlock(name, Texture.cobweb); case "grass": + case "short_grass": // since 1.20.3-pre2 return new Grass(); case "fern": return new Fern(); diff --git a/chunky/src/java/se/llbit/chunky/resources/TexturePackLoader.java b/chunky/src/java/se/llbit/chunky/resources/TexturePackLoader.java index c13ec35727..923ef7e240 100644 --- a/chunky/src/java/se/llbit/chunky/resources/TexturePackLoader.java +++ b/chunky/src/java/se/llbit/chunky/resources/TexturePackLoader.java @@ -334,6 +334,7 @@ public class TexturePackLoader { new SimpleTexture("textures/blocks/grass_side_overlay", Texture.grassSide), new IndexedTexture(0x26, Texture.grassSide))); allTextures.put("tallgrass", new AlternateTextures( + new SimpleTexture("assets/minecraft/textures/block/short_grass", Texture.tallGrass), // since 1.20.3-pre2 new SimpleTexture("assets/minecraft/textures/block/grass", Texture.tallGrass), new SimpleTexture("assets/minecraft/textures/blocks/grass", Texture.tallGrass), new SimpleTexture("assets/minecraft/textures/blocks/tallgrass", Texture.tallGrass),