Class Keybind
java.lang.Object
meteordevelopment.meteorclient.utils.misc.Keybind
- All Implemented Interfaces:
ICopyable<Keybind>,ISerializable<Keybind>
-
Method Summary
Modifier and TypeMethodDescriptionbooleancanBindTo(boolean isKey, int value) copy()booleanstatic KeybindfromButton(int button) static KeybindfromKey(int key) fromTag(net.minecraft.nbt.NbtCompound tag) intgetValue()inthashCode()booleanisKey()booleanbooleanisSet()booleanisValid()booleanmatches(boolean isKey, int value) static Keybindnone()voidset(boolean isKey, int value) toString()net.minecraft.nbt.NbtCompoundtoTag()
-
Method Details
-
none
-
fromKey
-
fromButton
-
getValue
public int getValue() -
isSet
public boolean isSet() -
canBindTo
public boolean canBindTo(boolean isKey, int value) -
set
public void set(boolean isKey, int value) -
set
-
matches
public boolean matches(boolean isKey, int value) -
isValid
public boolean isValid() -
isKey
public boolean isKey() -
isPressed
public boolean isPressed() -
copy
-
toString
-
equals
-
hashCode
public int hashCode() -
toTag
public net.minecraft.nbt.NbtCompound toTag()- Specified by:
toTagin interfaceISerializable<Keybind>
-
fromTag
- Specified by:
fromTagin interfaceISerializable<Keybind>
-