Skip to content

Commit

Permalink
Add short_grass block and item color
Browse files Browse the repository at this point in the history
  • Loading branch information
misode committed Apr 22, 2024
1 parent df2fe84 commit 922b146
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/render/BlockColors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ export const BlockColors: {
tall_grass: () => grass,
grass_block: () => grass,
fern: () => grass,
grass: () => grass,
grass: () => grass, // this is removed in versions since 1.20.3-pre1
short_grass: () => grass,
potted_fern: () => grass,
pink_petals: () => grass,
spruce_leaves: () => spruce,
Expand Down
3 changes: 2 additions & 1 deletion src/render/ItemColors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,8 @@ for (const egg of SpawnEggs) {

for (const id of [
'grass_block',
'grass',
'grass', // this is removed in versions since 1.20.3-pre1
'short_grass',
'fern',
'vine',
'oak_leaves',
Expand Down

0 comments on commit 922b146

Please sign in to comment.