Skip to content

Commit

Permalink
Added Drops to Animal Mods, time to work on the rest of their compat
Browse files Browse the repository at this point in the history
  • Loading branch information
GregoriusT committed Dec 23, 2023
1 parent edff6a1 commit 26e9fe6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
6 changes: 3 additions & 3 deletions src/main/java/gregtech/entities/Override_Drops.java
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ public static void handleDrops(EntityLivingBase aDead, String aClass, List<Entit
for (int i = 0; i < 2; i++) if (RNGSUS.nextInt(100) <= 25 + aLooting * 5) {
aDrops.add(ST.entity(aDead, IL.Antler_Deer.get(1)));
}
} else if (aClass.equalsIgnoreCase("MoCEntityDeer")) {
} else if (aClass.equalsIgnoreCase("EntityDeer") || aClass.equalsIgnoreCase("MoCEntityDeer")) {
tReplaceIron = T;
ItemStack tRaw = IL.TF_Venison_Raw .get(1, ST.make(MD.HaC, "venisonrawItem" , 1, 0));
ItemStack tCooked = IL.TF_Venison_Cooked.get(1, ST.make(MD.HaC, "venisoncookedItem", 1, 0));
Expand All @@ -524,7 +524,7 @@ public static void handleDrops(EntityLivingBase aDead, String aClass, List<Entit
int tAmount = 1+RNGSUS.nextInt(3);
if (aLooting > 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);
Expand Down Expand Up @@ -582,7 +582,7 @@ public static void handleDrops(EntityLivingBase aDead, String aClass, List<Entit
if (RNGSUS.nextInt(100) <= 10 + aLooting) {
aDrops.add(ST.entity(aDead, IL.Food_Carrot.get(1)));
}
} else if (aClass.equalsIgnoreCase("EntityWarg") || aClass.equalsIgnoreCase("EntityHellhound") || aClass.equalsIgnoreCase("MoCEntityWWolf") || aClass.equalsIgnoreCase("EntityTFMistWolf") || aClass.equalsIgnoreCase("EntityTFWinterWolf")) {
} else if (aClass.equalsIgnoreCase("EntityDireWolf") || aClass.equalsIgnoreCase("EntityWarg") || aClass.equalsIgnoreCase("EntityHellhound") || aClass.equalsIgnoreCase("MoCEntityWWolf") || aClass.equalsIgnoreCase("EntityTFMistWolf") || aClass.equalsIgnoreCase("EntityTFWinterWolf")) {
tReplaceIron = T;
int tAmount = 1+RNGSUS.nextInt(4);
if (aLooting > 0) tAmount += RNGSUS.nextInt(aLooting + 1);
Expand Down

0 comments on commit 26e9fe6

Please sign in to comment.