net.minecraft.client.option

public class StickyKeyBinding

extends KeyBinding

net.minecraft.client.ToggleKeyMapping
net.minecraft.class_4666
net.minecraft.client.option.StickyKeyBinding

Field summary

Modifier and TypeField
private final BooleanSupplier
needsToggle
field_21334
toggleGetter
private boolean
releasedByScreenWhenDown
field_62108
resetOnScreenClose
private final boolean
shouldRestore
field_62926
restore

Constructor summary

ModifierConstructor
public (String id, int code, KeyBinding$Category category, BooleanSupplier toggleGetter, boolean restore)
public (String id, InputUtil$Type type, int code, KeyBinding$Category category, BooleanSupplier toggleGetter, boolean restore)

Method summary

Modifier and TypeMethod
protected boolean
shouldSetOnIngameFocus()
method_72701()
shouldSetOnGameFocus()
public void
setDown(boolean down)
method_23481(boolean arg0)
setPressed(boolean arg0)
protected void
release()
method_1425()
reset()
public boolean
shouldRestoreStateOnScreenClosed()
method_73364()
shouldRestoreOnScreenClose()
protected void
reset()
method_52232()
untoggle()