From 26e9fe60e73c4baee701ad1829cf0f1d4c9ac27e Mon Sep 17 00:00:00 2001 From: Gregorius Techneticies Date: Sat, 23 Dec 2023 02:45:09 +0100 Subject: [PATCH] Added Drops to Animal Mods, time to work on the rest of their compat --- CHANGELOG.md | 1 + src/main/java/gregtech/entities/Override_Drops.java | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index eb5560811..79e657f75 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ Nothing (I tend to only add finished Stuff to the Changelog). [NOTE] My Minecraft Account is finally dead now (I hope), so do not trust anyone impersonating Greg or something. Anyways, screw MS for the way they handled Account Migration to the point I did not want to keep my Minecraft Account. [COMPAT] Added Thaumcraft Aspects to Twilight Forest Entities so you can actually recharge the Wand with the mobs there. Also Werebane works on Yetis now. [COMPAT] OpenComputers should work with GT6 Sensors now, through its Adapter. Finally... +[COMPAT] Several Animal Mods have the additional Drops that I added in the previous Version. [FIXED] Swamp Water should no longer flood Twilight Mazes. Though existing Floods miiiight have some shroomy Side Effects. [CHANGED] Autosmelt on Tools works to make Charcoal again, even if the Charcoal Recipes do not exist in the Furnace. [CHANGED] Pickaxes now have the same Attack Damage Stats as the Axe, but they give twice the Invulnerability Frames to the opponent. diff --git a/src/main/java/gregtech/entities/Override_Drops.java b/src/main/java/gregtech/entities/Override_Drops.java index b1c6f78bf..ab27bb985 100644 --- a/src/main/java/gregtech/entities/Override_Drops.java +++ b/src/main/java/gregtech/entities/Override_Drops.java @@ -504,7 +504,7 @@ public static void handleDrops(EntityLivingBase aDead, String aClass, List 0) tAmount += RNGSUS.nextInt(aLooting + 1); while (tAmount-->0) aDrops.add(ST.entity(aDead, Items.feather, 1, 0)); - } else if (aClass.equalsIgnoreCase("MoCEntityHorse")) { + } else if (aClass.equalsIgnoreCase("MoCEntityHorse") || aClass.equalsIgnoreCase("MoCEntityHorseMob")) { tReplaceIron = T; int tAmount = 2+RNGSUS.nextInt(3); if (aLooting > 0) tAmount += RNGSUS.nextInt(aLooting + 1); @@ -582,7 +582,7 @@ public static void handleDrops(EntityLivingBase aDead, String aClass, List 0) tAmount += RNGSUS.nextInt(aLooting + 1);