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

Method getChatField

Minecraft-Utils/1.8/src/Variables.java:331–344  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

329 }
330
331 private bul getChatField() {
332 bvx chatGUI = (bvx) getMinecraftScreen();
333 bul chatField;
334 if (Transformer.FORGE) {
335 try {
336 chatField = (bul) forgeChatField.get(chatGUI);
337 } catch (Exception e) {
338 throw new RuntimeException(e);
339 }
340 } else {
341 chatField = chatGUI.a;
342 }
343 return chatField;
344 }
345
346 @Override
347 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