diff --git a/src/main/java/mod/acgaming/universaltweaks/bugfixes/blocks/blockoverlay/UTBlockOverlay.java b/src/main/java/mod/acgaming/universaltweaks/bugfixes/blocks/blockoverlay/UTBlockOverlay.java index 370cd2d1..33049bac 100644 --- a/src/main/java/mod/acgaming/universaltweaks/bugfixes/blocks/blockoverlay/UTBlockOverlay.java +++ b/src/main/java/mod/acgaming/universaltweaks/bugfixes/blocks/blockoverlay/UTBlockOverlay.java @@ -66,6 +66,8 @@ public static void renderNearbyBlocks(float partialTicks) bufferBuilder.setTranslation(-x, -(y - player.getEyeHeight()), -z); } IBlockState state1 = state.getActualState(world, pos); + // Call extendedBlockState if it has one: see BlockRendererDispatcher#renderBlock() + state1 = state.getBlock().getExtendedState(state1, world, pos); mc.getBlockRendererDispatcher().getBlockModelRenderer().renderModel(world, mc.getBlockRendererDispatcher().getModelForState(state1), state1, pos, bufferBuilder, false); }); diff --git a/src/main/java/mod/acgaming/universaltweaks/config/UTConfigBugfixes.java b/src/main/java/mod/acgaming/universaltweaks/config/UTConfigBugfixes.java index a9491b6e..e1f3b7cc 100644 --- a/src/main/java/mod/acgaming/universaltweaks/config/UTConfigBugfixes.java +++ b/src/main/java/mod/acgaming/universaltweaks/config/UTConfigBugfixes.java @@ -112,10 +112,7 @@ public static class BlockOverlayCategory "Excludes blocks from the block overlay bugfix", "Syntax: modid:block" }) - public String[] utBlockOverlayBlacklist = new String[] - { - "appliedenergistics2:drive" - }; + public String[] utBlockOverlayBlacklist = new String[] {}; @Config.Name("[3] Whitelist") @Config.Comment