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

Method getChatField

Minecraft-Utils/1.10/src/Variables.java:339–352  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

337 }
338
339 private bdv getChatField() {
340 bew chatGUI = (bew) getMinecraftScreen();
341 bdv chatField;
342 if (Transformer.FORGE) {
343 try {
344 chatField = (bdv) forgeChatField.get(chatGUI);
345 } catch (Exception e) {
346 throw new RuntimeException(e);
347 }
348 } else {
349 chatField = chatGUI.a;
350 }
351 return chatField;
352 }
353
354 @Override
355 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