/*
 * Decompiled with CFR 0.152.
 * 
 * Could not load the following classes:
 *  net.minecraft.class_10185
 *  net.minecraft.class_241
 *  net.minecraft.class_744
 */
package meteordevelopment.meteorclient.utils.player;

import net.minecraft.class_10185;
import net.minecraft.class_241;
import net.minecraft.class_744;

public class CustomPlayerInput
extends class_744 {
    public void method_3129() {
        float f;
        float f2 = this.field_54155.comp_3159() == this.field_54155.comp_3160() ? 0.0f : (f = this.field_54155.comp_3159() ? 1.0f : -1.0f);
        float g = this.field_54155.comp_3161() == this.field_54155.comp_3162() ? 0.0f : (this.field_54155.comp_3161() ? 1.0f : -1.0f);
        this.field_55868 = new class_241(g, f).method_35581();
    }

    public void stop() {
        this.field_54155 = class_10185.field_54098;
    }

    public void forward(boolean bool) {
        this.field_54155 = new class_10185(bool, this.field_54155.comp_3160(), this.field_54155.comp_3161(), this.field_54155.comp_3162(), this.field_54155.comp_3163(), this.field_54155.comp_3164(), this.field_54155.comp_3165());
    }

    public void backward(boolean bool) {
        this.field_54155 = new class_10185(this.field_54155.comp_3159(), bool, this.field_54155.comp_3161(), this.field_54155.comp_3162(), this.field_54155.comp_3163(), this.field_54155.comp_3164(), this.field_54155.comp_3165());
    }

    public void left(boolean bool) {
        this.field_54155 = new class_10185(this.field_54155.comp_3159(), this.field_54155.comp_3160(), bool, this.field_54155.comp_3162(), this.field_54155.comp_3163(), this.field_54155.comp_3164(), this.field_54155.comp_3165());
    }

    public void right(boolean bool) {
        this.field_54155 = new class_10185(this.field_54155.comp_3159(), this.field_54155.comp_3160(), this.field_54155.comp_3161(), bool, this.field_54155.comp_3163(), this.field_54155.comp_3164(), this.field_54155.comp_3165());
    }

    public void jump(boolean bool) {
        this.field_54155 = new class_10185(this.field_54155.comp_3159(), this.field_54155.comp_3160(), this.field_54155.comp_3161(), this.field_54155.comp_3162(), bool, this.field_54155.comp_3164(), this.field_54155.comp_3165());
    }

    public void sneak(boolean bool) {
        this.field_54155 = new class_10185(this.field_54155.comp_3159(), this.field_54155.comp_3160(), this.field_54155.comp_3161(), this.field_54155.comp_3162(), this.field_54155.comp_3163(), bool, this.field_54155.comp_3165());
    }

    public void sprint(boolean bool) {
        this.field_54155 = new class_10185(this.field_54155.comp_3159(), this.field_54155.comp_3160(), this.field_54155.comp_3161(), this.field_54155.comp_3162(), this.field_54155.comp_3163(), this.field_54155.comp_3164(), bool);
    }
}

