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

Method getButtonById

Mod Utils/src/eu/the5zig/mod/gui/Gui.java:369–371  ·  view source on GitHub ↗

Gets a Button by its id @param id The id of the Button @return The button by its id.

(int id)

Source from the content-addressed store, hash-verified

367 * @return The button by its id.
368 */
369 public IButton getButtonById(int id) {
370 return buttonIdLookup.get(id);
371 }
372
373 /**
374 * Gets a Textfield by its id

Callers 15

onSelectMethod · 0.80
drawScreen0Method · 0.80
onSelectMethod · 0.80
doGroupChatStuffMethod · 0.80
enableDisableButtonsMethod · 0.80
actionPerformedMethod · 0.80
initGuiMethod · 0.80
actionPerformedMethod · 0.80
drawScreenMethod · 0.80
onEscapeTypeMethod · 0.80
initGuiMethod · 0.80
actionPerformedMethod · 0.80

Calls 1

getMethod · 0.65

Tested by

no test coverage detected