From d338bcd070a6c2bf2568c1f57900bf222299929b Mon Sep 17 00:00:00 2001 From: Ludovic Marie <136255825+ludovic111@users.noreply.github.com> Date: Mon, 26 Oct 2026 13:16:31 +0100 Subject: [PATCH] Decorated pot: say why only the outer faces stay Co-Authored-By: Claude Opus 5.5 --- crates/horizon-client/src/block_entity_render.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/horizon-client/src/block_entity_render.rs b/crates/horizon-client/src/block_entity_render.rs index 3d8c0258b..1bbc7a207 100644 --- a/crates/horizon-client/src/block_entity_render.rs +++ b/crates/horizon-client/src/block_entity_render.rs @@ -66,10 +66,10 @@ impl ModelPart { children, } } - /// `parse` of the entity model layer `layer`. Vanilla culls back faces for the pot's - /// `top` and `bottom` planes (`DecoratedPotRenderer.createBaseLayer`), so only the - /// up face of `top` and the down face of `bottom` show; ours draws both faces of each - /// plane, which fight for the same pixels, so the culled face is dropped here. + /// `parse` of the entity model layer `layer`. The pot's `top` and `bottom` are flat + /// boxes (`DecoratedPotRenderer.createBaseLayer`) drawn with a culling render type, so + /// from outside only `top`'s up face and `bottom`'s down face show. Both faces of each + /// plane would fight for the same pixels here: keep the outer one. pub fn parse_layer(layer: &str, v: &Value) -> Self { let mut part = Self::parse(v); if layer == "minecraft:decorated_pot_base#main" {