From ac4cd574c8c663b8a28d8d864c2b5beb0d7f9634 Mon Sep 17 00:00:00 2001 From: Asek3 Date: Wed, 6 Apr 2022 21:49:20 +0300 Subject: [PATCH] Fixed rendering custom ModelData Resolves #31 #45 #52 #60 #61 --- .../mods/sodium/client/render/pipeline/BlockRenderer.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/me/jellysquid/mods/sodium/client/render/pipeline/BlockRenderer.java b/src/main/java/me/jellysquid/mods/sodium/client/render/pipeline/BlockRenderer.java index 2947ba4b5..ad38a3000 100644 --- a/src/main/java/me/jellysquid/mods/sodium/client/render/pipeline/BlockRenderer.java +++ b/src/main/java/me/jellysquid/mods/sodium/client/render/pipeline/BlockRenderer.java @@ -61,6 +61,7 @@ public boolean renderModel(BlockRenderView world, BlockState state, BlockPos pos boolean rendered = false; + modelData = model.getModelData(world, pos, state, modelData); if (modelData == null) { modelData = EmptyModelData.INSTANCE; }