net.minecraft.client

public class ToggleKeyMapping

extends KeyMapping

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

Field summary

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

Constructor summary

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

Method summary

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