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

Method getChatField

Minecraft-Utils/1.9.4/src/Variables.java:306–319  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

304 }
305
306 private bdb getChatField() {
307 bec chatGUI = (bec) getMinecraftScreen();
308 bdb chatField;
309 if (Transformer.FORGE) {
310 try {
311 chatField = (bdb) forgeChatField.get(chatGUI);
312 } catch (Exception e) {
313 throw new RuntimeException(e);
314 }
315 } else {
316 chatField = chatGUI.a;
317 }
318 return chatField;
319 }
320
321 @Override
322 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