Luke100000 / minecraft-comes-alive

Replaces Minecraft's villagers with humans, who can be interacted with.
GNU General Public License v3.0
70 stars 49 forks source link

Game crashing Incompatibility with mod Origins: Extra Classes (scavenger) #767

Open Mossy-Skies opened 10 months ago

Mossy-Skies commented 10 months ago

Hi there! I have seemingly encountered an odd incompatibility with your mod and Origins: Extra Classes; Specifically the Scavenger Class. I play on a LAN world with me and my Fiancee, and we have discovered that if you play as anything (human, or any other Origin), with the Scavenger class from the mod listed above, and kill a villager of any type with any sort of projectiles, it will fatally crash the game, sending the host to the launcher and the LAN player to the home screen.

Projectiles I have tested; Bow / Arrow (Vanilla, normal arrow) Trident (Vanilla) Bomb/Blue Bomb (Supplementaries) Javelin (Medieval Weapons)

We also tried normal Weapons, both modded and Vanilla, but it seemed it was only projectiles. TNT was also tested but did not prove to crash the game.

Something worth noting; At first we thought that it was how your mod and the specific class handles loot tables, so we attempted vanilla weapons (an iron sword in this case) with Looting 2, but this didn't produce a crash. We have no idea why this would be happening, but we also tested this origins class + a vanilla villager, and it didn't crash the game.

I hope this is just an us issue, lol.

Steps to reproduce the behavior:

  1. Install the mod listed above and MCA
  2. Load into a world
  3. Select any projectile (Bow+Arrow used in latest test)
  4. Kill MCA Villager
  5. See Error

Version 7.5.8, 1.19.2, Fabric

Latest.log crash-2023-09-17_08.39.33-server.txt

Luke100000 commented 8 months ago

From what I see this is not directly MCA related, you may want to forward this issue to origins.

You can try removing RpgZ as it appears to modify loot tables.

I also pushed an update which adds empty loot tables for mca villagers. While I don't think its an error to skip loot tables, it may fix this issues.