Class ToggleableKeyBinding

    • Field Detail

      • needsToggle

        private final java.util.function.BooleanSupplier needsToggle
    • Constructor Detail

      • ToggleableKeyBinding

        public ToggleableKeyBinding​(java.lang.String p_i225917_1_,
                                    int p_i225917_2_,
                                    java.lang.String p_i225917_3_,
                                    java.util.function.BooleanSupplier p_i225917_4_)
    • Method Detail

      • setDown

        public void setDown​(boolean p_225593_1_)
        Overrides:
        setDown in class KeyBinding