Fuzss / puzzleslib

Why's it called Puzzles you ask? That's the puzzle!
https://www.curseforge.com/minecraft/mc-mods/puzzles-lib
Mozilla Public License 2.0
24 stars 8 forks source link

[Crash]: Mixin Injection Failure #129

Closed davidjjung closed 2 months ago

davidjjung commented 2 months ago

Mod Loader (Required)

Forge

Minecraft Version(s) (Required)

1.20.1

Mod Version(s) (Required)

8.1.21

Other Mods Involved (Required)

Yes

Notes (Required)

I'm a dev for a mod called Bury Me Deep. Installing this, its Blueprint dependency, and PuzzlesLib causes a crash on 1.20.1, due to BMD's mixin not being able to find BrushItem's onUseTick. It doesn't seem that PuzzlesLib messes with brushes too much, so I'm a bit confused as to how I can fix the error on my end. Thanks!

latest.log (Required)

https://gist.github.com/davidjjung/f8d65c5456b336be52a0f85d618223a0

Fuzss commented 2 months ago

The same error happens even with just Bury Me Deep installed. Has nothing to do with Puzzles Lib. Your issue lies here:

[08Aug2024 11:24:23.903] [main/WARN] [mixin/]: Reference map 'bury_me_deep.refmap.json' for bury_me_deep.mixins.json could not be read. If this is a development environment you can ignore this message

Also you do not need a mixin for this at all, check out Forge's LivingEntityUseItemEvent.Tick event.

davidjjung commented 2 months ago

Oh my goodness, you're so right--really confusing how things work fine in dev envs and then are so eager to break in actual instances. Apologies for the oversight!