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

Method addDoneButton

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

Source from the content-addressed store, hash-verified

88 public abstract void initGui();
89
90 public void addDoneButton() {
91 addButton(MinecraftFactory.getVars().createButton(200, getWidth() / 2 - 100, getHeight() / 6 + 168, MinecraftFactory.getVars().translate("gui.done")));
92 }
93
94 public void addBottomDoneButton() {
95 addButton(MinecraftFactory.getVars().createButton(200, getWidth() / 2 - 100, getHeight() - 32, MinecraftFactory.getVars().translate("gui.done")));

Callers 4

initGuiMethod · 0.80
initGuiMethod · 0.80
initGuiMethod · 0.80
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