MCPcopy Create free account
hub / github.com/Hypnotic-Development/Hypnotic-Client / setKey

Method setKey

src/main/java/dev/hypnotic/module/Mod.java:160–165  ·  view source on GitHub ↗
(int key)

Source from the content-addressed store, hash-verified

158 }
159
160 public void setKey(int key) {
161 this.keyCode = key;
162 if(PositionsConfig.INSTANCE != null) {
163 PositionsConfig.INSTANCE.save();
164 }
165 }
166
167 public boolean isEnabled() {
168 return enabled;

Callers 7

buildMethod · 0.95
onMotionMethod · 0.45
onSendPacketMethod · 0.45
ClickGUIModuleMethod · 0.45
keyPressedMethod · 0.45
loadMethod · 0.45
loadConfigMethod · 0.45

Calls 1

saveMethod · 0.45

Tested by

no test coverage detected