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

Method addCancelButton

Mod Utils/src/eu/the5zig/mod/gui/Gui.java:98–100  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

96 }
97
98 public void addCancelButton() {
99 addButton(MinecraftFactory.getVars().createButton(200, getWidth() / 2 - 100, getHeight() / 6 + 168, MinecraftFactory.getVars().translate("gui.cancel")));
100 }
101
102 public void addTextField(ITextfield textfield) {
103 Keyboard.enableRepeatEvents(true);

Callers 1

initGuiMethod · 0.80

Calls 6

addButtonMethod · 0.95
getVarsMethod · 0.95
getWidthMethod · 0.95
getHeightMethod · 0.95
createButtonMethod · 0.65
translateMethod · 0.65

Tested by

no test coverage detected