use of mathax.client.systems.modules.movement.TridentBoost in project Client by MatHax.
the class TridentItemMixin method modifyVelocity.
@ModifyArgs(method = "onStoppedUsing", at = @At(value = "INVOKE", target = "Lnet/minecraft/entity/player/PlayerEntity;addVelocity(DDD)V"))
private void modifyVelocity(Args args) {
TridentBoost tridentBoost = Modules.get().get(TridentBoost.class);
args.set(0, (double) args.get(0) * tridentBoost.getMultiplier());
args.set(1, (double) args.get(1) * tridentBoost.getMultiplier());
args.set(2, (double) args.get(2) * tridentBoost.getMultiplier());
}
Aggregations