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

Method getMatriealPath

src/periphery/SourceGame.java:107–113  ·  view source on GitHub ↗
(TexturePack texturePack)

Source from the content-addressed store, hash-verified

105 }
106
107 public File getMatriealPath(TexturePack texturePack) {
108 if (Periphery.CONFIG.getSteamPath() == null) {
109 return null;
110 }
111 return new File(String.join(File.separator, Periphery.CONFIG.getSteamPath()
112 .toString(), Steam.STEAM_GAME_PATH(), this.getLongName(), this.getShortName(), SourceGame.MATERIALS_FOLDER, texturePack.getName()));
113 }
114
115 @Override
116 public String toString() {

Callers 3

areTexturesUpToDateMethod · 0.80
updateTexturesMethod · 0.80
MainMethod · 0.80

Calls 6

STEAM_GAME_PATHMethod · 0.95
getLongNameMethod · 0.95
getShortNameMethod · 0.95
getSteamPathMethod · 0.45
toStringMethod · 0.45
getNameMethod · 0.45

Tested by

no test coverage detected