MCPcopy Create free account
hub / github.com/BombusMod/BombusMod / add

Method add

src/main/java/Console/StanzasList.java:61–69  ·  view source on GitHub ↗
(String msg, int type)

Source from the content-addressed store, hash-verified

59 }
60
61 public void add(String msg, int type) {
62 try {
63 if (enabled) {
64 Msg stanza=new Msg(type, "local", null, msg);
65 stanza.itemCollapsed=true;
66 stanzas.addElement(stanza);
67 }
68 } catch (Exception e) {}
69 }
70
71 public int size(){
72 return stanzas.size();

Callers 15

MainMethod · 0.45
mainMethod · 0.45
initMethod · 0.45
runMethod · 0.45
scheduleMethod · 0.45
buttonPressedMethod · 0.45
PolygonMethod · 0.45
addPointMethod · 0.45
addCommandUIMethod · 0.45

Calls 1

addElementMethod · 0.80

Tested by

no test coverage detected