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

Method invertSkin

src/main/java/Colors/ColorTheme.java:156–164  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

154 }
155
156 public static void invertSkin() {
157 for (Enumeration r=colorsContainer.elements(); r.hasMoreElements();) {
158 ColorItem c=(ColorItem)r.nextElement();
159 if (c.color!=0x010101)
160 c.color=0xFFFFFF-c.color;
161 }
162 saveToStorage();
163 VirtualCanvas.getInstance().repaint();
164 }
165
166//#if NICK_COLORS
167 public static int strong(int color) {

Callers 2

commandExecuteMethod · 0.95
doActionMethod · 0.95

Calls 4

saveToStorageMethod · 0.95
getInstanceMethod · 0.95
elementsMethod · 0.80
repaintMethod · 0.65

Tested by

no test coverage detected