MCPcopy Create free account
hub / github.com/Garten/sourcecraft / init

Method init

src/source/SkinManager.java:12–16  ·  view source on GitHub ↗
(TexturePack texturePack, int optionScale)

Source from the content-addressed store, hash-verified

10 public static SkinManager INSTANCE;
11
12 public static final void init(TexturePack texturePack, int optionScale) {
13 String textureFolder = texturePack.getName();
14 int textureSize = texturePack.getTextureSize();
15 INSTANCE = new SkinManager(textureFolder, textureSize, optionScale);
16 }
17
18 public static final Skin NODRAW = new Skin("tools/toolsnodraw", 0.25);
19 public static final Skin TRIGGER = new Skin("tools/toolstrigger", 0.25);

Callers 2

SkinManagerMethod · 0.95
openMethod · 0.95

Calls 8

getNameMethod · 0.95
setSkinMethod · 0.95
setSkinTopBottomMethod · 0.95
setWaterTextureMethod · 0.95
setSkinTopFrontMethod · 0.95
setSourceSkinMethod · 0.95
getTextureSizeMethod · 0.80
equalsMethod · 0.45

Tested by

no test coverage detected