Ladysnake / Impaled

Trident update mod.
13 stars 18 forks source link

Add support for Soul Fire'd and fix a bug #60

Open Crystal-Spider opened 1 month ago

Crystal-Spider commented 1 month ago

This PR main focus is to add support to Soul Fire'd, but I also noticed and fixed a bug affecting both Hellfork and Soulfork.

First of all, I had to update the Gradle distribution version to 8.8 and Loom to 1.5-SNAPSHOT to build the project. For the same reason, I also had to remove some .build() calls from the loot table modify event.
Secondly, I added Soul Fire'd v4.0.0 to the project as an optional dependency.
Lastly, I noticed that entities killed by both Hellfork and Soulfork would drop raw food, so I fixed that. As I was doing this, I also added a new abstract class to reduce code duplication between the two tridents.

Fixes Impaled #44 and Soul Fire'd #19.
If compatibility for Soul Fire'd gets added, I will add Impaled to the public list of mods that support Soul Fire'd. Let me know if you don't want this.

If you have any question let me know!

List of changes: