diff --git a/banner.png b/banner.png index 48503f49..3f6b8fe4 100644 Binary files a/banner.png and b/banner.png differ diff --git a/banner.psd b/banner.psd index 7e30b138..14016b05 100644 Binary files a/banner.psd and b/banner.psd differ diff --git a/icon.png b/icon.png new file mode 100644 index 00000000..2e731664 Binary files /dev/null and b/icon.png differ diff --git a/icon.psd b/icon.psd new file mode 100644 index 00000000..69569627 Binary files /dev/null and b/icon.psd differ diff --git a/src/main/java/insane96mcp/progressivebosses/events/entities/Wither.java b/src/main/java/insane96mcp/progressivebosses/events/entities/Wither.java index 6ea31043..839d28d0 100644 --- a/src/main/java/insane96mcp/progressivebosses/events/entities/Wither.java +++ b/src/main/java/insane96mcp/progressivebosses/events/entities/Wither.java @@ -59,8 +59,6 @@ public static void setStats(EntityJoinWorldEvent event) { tags.putBoolean("progressivebosses:processed", true); - fixBedrockStuck(wither); - int radius = ModConfig.COMMON.wither.general.spawnRadiusPlayerCheck.get(); BlockPos pos1 = wither.getPosition().add(-radius, -radius, -radius); BlockPos pos2 = wither.getPosition().add(radius, radius, radius); @@ -100,6 +98,9 @@ private static void fixBedrockStuck(WitherEntity wither) { if (!net.minecraftforge.event.ForgeEventFactory.getMobGriefingEvent(wither.world, wither)) return; + //if (!wither.isEntityInsideOpaqueBlock()) + //return; + Stream blocks = BlockPos.getAllInBox(wither.getPosition().add(-1, -1, -1), wither.getPosition().add(1, 4, 1)); AtomicBoolean flag = new AtomicBoolean(false); blocks.forEach(pos -> { @@ -154,6 +155,7 @@ public static void update(LivingEvent.LivingUpdateEvent event) { return; if (wither.getInvulTime() == 1){ + fixBedrockStuck(wither); explode(wither); }