From 83a6f5c7b9b76071bc7798b63f11085d37beb61a Mon Sep 17 00:00:00 2001 From: Kacpherek Date: Mon, 26 Oct 2026 16:27:13 +0100 Subject: [PATCH] Revert "Decorated pot: say why only the outer faces stay" This reverts commit d338bcd070a6c2bf2568c1f57900bf222299929b. --- 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 1bbc7a207..3d8c0258b 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`. 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. + /// `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. pub fn parse_layer(layer: &str, v: &Value) -> Self { let mut part = Self::parse(v); if layer == "minecraft:decorated_pot_base#main" {