2025-11-24 22:52:51 +03:00

27 lines
575 B
Java

/*
* Decompiled with CFR 0.152.
*/
package net.minecraft.client.input;
import net.minecraft.client.input.InputWithModifiers;
import net.minecraft.client.input.MouseButtonInfo;
public record MouseButtonEvent(double x, double y, MouseButtonInfo buttonInfo) implements InputWithModifiers
{
@Override
public int input() {
return this.button();
}
public int button() {
return this.buttonInfo().button();
}
@Override
@InputWithModifiers.Modifiers
public int modifiers() {
return this.buttonInfo().modifiers();
}
}