From 25623b735c30c29d409c220de3430dc5eb9eb2d7 Mon Sep 17 00:00:00 2001 From: MayaTheShy Date: Wed, 25 Mar 2026 23:06:03 -0400 Subject: [PATCH] feat: add aliased texture names for improved block texture handling --- web/client/src/components/ItemIcon.jsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/web/client/src/components/ItemIcon.jsx b/web/client/src/components/ItemIcon.jsx index 8b90e1a..65c8213 100644 --- a/web/client/src/components/ItemIcon.jsx +++ b/web/client/src/components/ItemIcon.jsx @@ -183,6 +183,8 @@ const BLOCK_TEXTURES = new Set([ 'oxidized_copper_trapdoor', 'pale_oak_trapdoor', // Dirt path and magma 'dirt_path', 'magma', + // Aliased texture names that live in block/ (resolved via TEXTURE_ALIASES) + 'sandstone_top', 'red_sandstone_top', 'quartz_block_bottom', // Additional blocks commonly seen as items 'smooth_stone', 'smooth_sandstone', 'smooth_red_sandstone', 'smooth_quartz', 'chiseled_sandstone', 'cut_sandstone', 'chiseled_red_sandstone', 'cut_red_sandstone',