Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ public Map<Object, Exception> drawUnsafe(final BlueprintPreviewData previewData,
renderBufferSource,
mc.getEntityRenderDispatcher().getPackedLightCoords(entity, partialTicks));
}
catch (final ClassCastException e)
catch (final Exception e)
{
// Oops
suppressedExceptions.put(entity, e);
Expand Down Expand Up @@ -495,7 +495,15 @@ else if (tileEntity instanceof final BeaconBlockEntity beacon)
matrixStack.pushPose();
matrixStack.translate(realRenderTePos.x, realRenderTePos.y, realRenderTePos.z);

mc.getBlockEntityRenderDispatcher().render(tileEntity, partialTicks, matrixStack, renderBufferSource);
try
{
mc.getBlockEntityRenderDispatcher().render(tileEntity, partialTicks, matrixStack, renderBufferSource);
}
catch (Exception e)
{
suppressedExceptions.put(tileEntity, e);
}

matrixStack.popPose();
}

Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/assets/structurize/lang/en_us.json
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,8 @@
"com.ldtteam.structurize.iterators.hilbert.tooltip": "Mathematical Proximity Based Block Placement",
"com.ldtteam.structurize.iterators.random.tooltip": "Places Blocks in the x/z Plane in a Random Order",

"structurize.preview_renderer.exception": "An error happened during blueprint preview rendering. If you do not mind, please submit latest.log to our issue tracker. Thanks!",
"structurize.preview_renderer.cannot_render": "Unrecoverable error occurred during rendering blueprint \"%s\". If you do not mind, please submit latest.log to our issue tracker. Thanks!",
"structurize.preview_renderer.exception": "An error happened during blueprint preview rendering. If you do not mind, please submit latest.log to Structurize's issue tracker. Thanks!",
"structurize.preview_renderer.cannot_render": "Unrecoverable error occurred during rendering blueprint \"%s\". If you do not mind, please submit latest.log to Structurize's issue tracker. Thanks!",
"com.ldtteam.structurize.remove_block": "Remove Block %s",
"com.ldtteam.structurize.remove_blocks": "Remove Filtered Blocks",
"com.ldtteam.structurize.replace_block": "Replace Block %s with %s",
Expand Down
Loading