Compare commits

...

2 commits

Author SHA1 Message Date
IThundxr 3ae2f8ecfe
fix comment 2024-05-02 19:35:37 -04:00
IThundxr 8151850ab2
fix comment 2024-05-02 19:15:39 -04:00

View file

@ -99,7 +99,7 @@ public abstract class EntityContraptionInteractionMixin extends CapabilityProvid
}
// involves block step sounds on contraptions
// IFNE line 661 injecting before `!blockstate.isAir(this.world, blockpos)`
// IFNE line 736 injecting before `!blockstate1.isAir()`
@Inject(method = "move", at = @At(value = "JUMP", opcode = Opcodes.IFNE, ordinal = 7))
private void create$contraptionStepSounds(MoverType mover, Vec3 movement, CallbackInfo ci) {
Vec3 worldPos = position.add(0, -0.2, 0);
@ -136,7 +136,7 @@ public abstract class EntityContraptionInteractionMixin extends CapabilityProvid
if (info == null)
return false;
cEntity.registerColliding(self);
return true;
});