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

Method mouseClicked

Minecraft-Utils/1.13/src/Gui2ndChat.java:257–265  ·  view source on GitHub ↗
(int mouseX, int mouseY, int button)

Source from the content-addressed store, hash-verified

255 }
256
257 @Override
258 public boolean mouseClicked(int mouseX, int mouseY, int button) {
259 try {
260 return button == 0 && (clickChatComponent != null ? (Boolean) clickChatComponent.invoke(MinecraftFactory.getVars().getMinecraftScreen(),
261 getChatComponent(mouseX, mouseY)) : ((civ) MinecraftFactory.getVars().getMinecraftScreen()).d(getChatComponent(mouseX, mouseY)));
262 } catch (Exception e) {
263 throw new RuntimeException(e);
264 }
265 }
266
267 @Override
268 public void keyTyped(int code) {

Callers

nothing calls this directly

Calls 5

getVarsMethod · 0.95
getChatComponentMethod · 0.95
getMinecraftScreenMethod · 0.65
invokeMethod · 0.45
dMethod · 0.45

Tested by

no test coverage detected