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

Method getChatField

Minecraft-Utils/1.8.8/src/Variables.java:342–355  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

340 }
341
342 private avw getChatField() {
343 awv chatGUI = (awv) getMinecraftScreen();
344 avw chatField;
345 if (Transformer.FORGE) {
346 try {
347 chatField = (avw) forgeChatField.get(chatGUI);
348 } catch (Exception e) {
349 throw new RuntimeException(e);
350 }
351 } else {
352 chatField = chatGUI.a;
353 }
354 return chatField;
355 }
356
357 @Override
358 public Object getChatComponentWithPrefix(String prefix, Object originalChatComponent) {

Callers 2

getChatBoxTextMethod · 0.95
typeInChatGUIMethod · 0.95

Calls 2

getMinecraftScreenMethod · 0.95
getMethod · 0.65

Tested by

no test coverage detected