mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-12-15 00:43:42 +01:00
Fix contraption step sounds
This commit is contained in:
parent
a6e60d704c
commit
302b15551a
1 changed files with 2 additions and 2 deletions
|
@ -86,8 +86,8 @@ public abstract class EntityContraptionInteractionMixin extends CapabilityProvid
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@Inject(at = @At(value = "JUMP", opcode = 154, // IFNE line 587 injecting before `!blockstate.isAir(this.world, blockpos)`
|
@Inject(at = @At(value = "JUMP", opcode = 154, // IFNE line 661 injecting before `!blockstate.isAir(this.world, blockpos)`
|
||||||
ordinal = 4), method = "move")
|
ordinal = 5), method = "move")
|
||||||
private void movementMixin(MoverType mover, Vec3 movement, CallbackInfo ci) {
|
private void movementMixin(MoverType mover, Vec3 movement, CallbackInfo ci) {
|
||||||
Vec3 worldPos = self.position()
|
Vec3 worldPos = self.position()
|
||||||
.add(0, -0.2, 0);
|
.add(0, -0.2, 0);
|
||||||
|
|
Loading…
Reference in a new issue