Therrassium

Therrassium

31.7k Downloads

[BUG] [1.18.2] Crash on client startup

kwpugh opened this issue ยท 7 comments

commented

Crash report: https://gist.github.com/kwpugh/4f8254593826ae084d19d13ff6c64930

Your mixin into ExperienceOrbEntityMixin is failing. I think you have the notation incorrect. I don't think you need the V argument.

@Inject(at = @at("HEAD"), method = "onPlayerCollision()V")

commented

Also, it is good practice to add your mod name into the method name to avoid confusion.

@Inject(at = @At("HEAD"), method = "onPlayerCollision")
public void gobberCheckForMedallion(PlayerEntity player, CallbackInfo ci)
commented

This is the problem:
Screen Shot 2022-03-14 at 12 39 43 PM

I changed it to this and updated your Loom to 0.11 (recommended for 1.18+
Screen Shot 2022-03-14 at 12 40 41 PM

No build errors or crashes after that.

commented

That was already on my todo list ;)

commented

I use Cloth Config API across all my mods and have found it very easy to implement.

commented

Working on it!

commented

Given the high damage/durability and such in the mod, it might make it more versatile for players if you add a config system to adjust the tool/armor values and effect durations and such.

Good work so far.

commented

Nice, thanks.

Also, have config options for each effect in the block would be nice for tailoring. Good luck.