From c227b73d3bc2aa8049fafc7d9680959bcd3b50f9 Mon Sep 17 00:00:00 2001 From: MehVahdJukaar Date: Mon, 29 Jul 2024 00:10:00 +0200 Subject: [PATCH] beach villager texture --- .../content/world/gen/FallenLogGenerator.java | 8 ++++---- .../entity/zombie_villager/type/beach.png | Bin 5303 -> 1187 bytes 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/org/violetmoon/quark/content/world/gen/FallenLogGenerator.java b/src/main/java/org/violetmoon/quark/content/world/gen/FallenLogGenerator.java index 8d9f24433..6363ad8df 100644 --- a/src/main/java/org/violetmoon/quark/content/world/gen/FallenLogGenerator.java +++ b/src/main/java/org/violetmoon/quark/content/world/gen/FallenLogGenerator.java @@ -167,11 +167,11 @@ private static Block getBaseLogBlockForPos(LevelAccessor level, BlockPos pos) { Holder biome = level.getBiome(pos); List matched = new ArrayList<>(); - for (TagKey tag : FallenLogsModule.blocksPerTag.keySet()) - if (biome.is(tag)) - matched.add(FallenLogsModule.blocksPerTag.get(tag)); + for (var e : FallenLogsModule.blocksPerTag.entrySet()) + if (biome.is(e.getKey())) + matched.add(e.getValue()); - if (matched.size() == 0) + if (matched.isEmpty()) return Blocks.AIR; return matched.get(level.getRandom().nextInt(matched.size())); diff --git a/src/main/resources/assets/quark/textures/entity/zombie_villager/type/beach.png b/src/main/resources/assets/quark/textures/entity/zombie_villager/type/beach.png index 5050acd87c36811165dc9897f65f8a9c55ebe26c..886370b2dc3f8f4b76481e152d0d8aa79e48613f 100644 GIT binary patch literal 1187 zcmeAS@N?(olHy`uVBq!ia0vp^4j|0I3?%1nZ+ru!7>k44ofy`glX(f`u%tWsIx;Y9 z?C1WI$O`1Q2l#}z2DxWU3U=%(3iq^Sh;Zj^$v4c%H8)TdwD487kI+aBt6$ubydc`G z$gpX=P#iwDvLR zZ}y&8X;htR5Ei88AF1x;Xc(7kYGJMDm!WIsqvhdi9vrBjmS|I&=L&So^&h+wfRt`Y zkYDhB5&*-}_uPMh8aWF*B8wRq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