From 997d807dc740fc0ae93cc664c8120d6881fac00a Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Fri, 5 Jan 2024 21:52:30 +0100 Subject: [PATCH] resource: add short_grass block type Besides adding a number of experimental block types for the 1.21 preview, Minecraft 1.20.3 also renamed the "grass" block to "short grass" internally. Add the new block name to avoid warnings during generation. --- crates/resource/src/block_types.rs | 7 +++++++ resource/blocks.json | 1 + 2 files changed, 8 insertions(+) diff --git a/crates/resource/src/block_types.rs b/crates/resource/src/block_types.rs index 68a08c0..a70106c 100644 --- a/crates/resource/src/block_types.rs +++ b/crates/resource/src/block_types.rs @@ -5694,6 +5694,13 @@ pub const BLOCK_TYPES: &[(&str, BlockType)] = &[ color: Color([0, 0, 0]), }, ), + ( + "short_grass", + BlockType { + flags: make_bitflags!(BlockFlag::{}), + color: Color([0, 0, 0]), + }, + ), ( "shroomlight", BlockType { diff --git a/resource/blocks.json b/resource/blocks.json index 8e87750..6f4f5e7 100644 --- a/resource/blocks.json +++ b/resource/blocks.json @@ -1558,6 +1558,7 @@ "sea_lantern": {}, "sea_pickle": {}, "seagrass": null, + "short_grass": null, "shroomlight": {}, "shulker_box": {}, "sign": {