MCPcopy Create free account
hub / github.com/5zig/The-5zig-Mod / mouseClicked

Method mouseClicked

Minecraft-Utils/1.10.2/src/Gui2ndChat.java:261–269  ·  view source on GitHub ↗
(int mouseX, int mouseY, int button)

Source from the content-addressed store, hash-verified

259 }
260
261 @Override
262 public boolean mouseClicked(int mouseX, int mouseY, int button) {
263 try {
264 return button == 0 && (clickChatComponent != null ? (Boolean) clickChatComponent.invoke(MinecraftFactory.getVars().getMinecraftScreen(),
265 getChatComponent(Mouse.getX(), Mouse.getY())) : ((bew) MinecraftFactory.getVars().getMinecraftScreen()).a(getChatComponent(Mouse.getX(), Mouse.getY())));
266 } catch (Exception e) {
267 throw new RuntimeException(e);
268 }
269 }
270
271 @Override
272 public void keyTyped(int code) {

Callers

nothing calls this directly

Calls 7

getVarsMethod · 0.95
getChatComponentMethod · 0.95
getXMethod · 0.95
getYMethod · 0.95
getMinecraftScreenMethod · 0.65
invokeMethod · 0.45
aMethod · 0.45

Tested by

no test coverage detected