Open
Description
Mod Name
OpenBoatUtils
Mod Homepage
https://github.com/o7Moon/OpenBoatUtils
Minecraft version
1.21.1
Describe the bug
crash on a mixin redirect
Steps to reproduce
- install neoforge (21.2.90), ffapi (107+2.0.20+1.21.1), connector (2.0.0-beta.4+1.21.1), and OpenBoatUtils (0.4.3_1.21)
- run minecraft
Logs
crash: https://mclo.gs/9pqynS9 debug.log: https://mclo.gs/NyOmr6b
Additional context
this is the redirect that fails:
package dev.o7moon.openboatutils.mixin;
...
@Mixin(BoatEntity.class)
public abstract class BoatMixin implements GetStepHeight {
...
@Redirect(method = "getNearbySlipperiness", at = @At(value="INVOKE",target="Lnet/minecraft/block/Block;getSlipperiness()F"))
float getFriction(Block block) {
if (!OpenBoatUtils.enabled) return block.getSlipperiness();
return OpenBoatUtils.getBlockSlipperiness(Registries.BLOCK.getId(block).toString());
}
...
}
Metadata
Assignees
Type
Projects
Status
🆕 New
Activity