mirror of
https://github.com/BlueMap-Minecraft/BlueMap.git
synced 2024-11-22 02:26:00 +01:00
Merge branch 'master' into bleeding
This commit is contained in:
commit
b4832fd237
@ -132,12 +132,13 @@ public void load(File... sources) throws InterruptedException {
|
||||
//load blockstates
|
||||
String namespace = namespaceRoot.substring("assets/".length());
|
||||
Logger.global.logInfo("Loading " + namespace + " assets (" + i + "/" + namespaces.size() + ")...");
|
||||
|
||||
Collection<String> blockstateFiles = sourcesAccess.listFiles(namespaceRoot + "/blockstates", true);
|
||||
|
||||
String blockstatesRootPath = namespaceRoot + "/blockstates";
|
||||
Collection<String> blockstateFiles = sourcesAccess.listFiles(blockstatesRootPath, true);
|
||||
for (String blockstateFile : blockstateFiles) {
|
||||
if (Thread.interrupted()) throw new InterruptedException();
|
||||
|
||||
String filename = FileAccess.getFileName(blockstateFile);
|
||||
String filename = blockstateFile.substring(blockstatesRootPath.length() + 1);
|
||||
if (!filename.endsWith(".json")) continue;
|
||||
|
||||
String jsonFileName = filename.substring(0, filename.length() - 5);
|
||||
|
@ -12,7 +12,7 @@ Some features and some blocks are still missing. Especially some tile-entities w
|
||||
You can choose a version and download BlueMap from [here](https://github.com/BlueMap-Minecraft/BlueMap/releases).
|
||||
|
||||
### Using BlueMap
|
||||
BlueMap can be used on the command-line, or as a plugin/mod for your Sponge/Spigot/Paper/Forge/Fabric-Server. Read the [wiki](https://github.com/BlueMap-Minecraft/BlueMap/wiki) to get started!
|
||||
BlueMap can be used on the command-line, or as a plugin/mod for your Sponge/Spigot/Paper/Forge/Fabric-Server. Read the [wiki](https://bluemap.bluecolored.de/wiki/) to get started!
|
||||
|
||||
### Clone
|
||||
If you have git installed, simply use the command `git clone --recursive https://github.com/BlueMap-Minecraft/BlueMap.git` to clone BlueMap.
|
||||
|
Loading…
Reference in New Issue
Block a user