package net.minecraft.client.gui.navigation; import net.fabricmc.api.EnvType; import net.fabricmc.api.Environment; @Environment(EnvType.CLIENT) public class CommonInputs { public static boolean selected(int key) { return key == 257 || key == 32 || key == 335; } }