This commit is contained in:
mcrcortex
2024-01-16 11:16:45 +10:00
parent 02daa85097
commit 08add0d51d
3 changed files with 13 additions and 1 deletions

View File

@@ -20,6 +20,14 @@ repositories {
} }
} }
processResources {
inputs.property "version", project.version
archivesBaseName = "zenith"
filesMatching("fabric.mod.json") {
expand "version": project.version
}
}
loom { loom {
accessWidenerPath = file("src/main/resources/voxelmon.accesswidener") accessWidenerPath = file("src/main/resources/voxelmon.accesswidener")
} }

View File

@@ -8,7 +8,7 @@ yarn_mappings=1.20.4+build.1
loader_version=0.15.0 loader_version=0.15.0
# Mod Properties # Mod Properties
mod_version = 0.0.1 mod_version = 0.0.1-alpha
maven_group = me.cortex maven_group = me.cortex
archives_base_name = zenith archives_base_name = zenith

View File

@@ -196,9 +196,13 @@ public class VoxelCore {
//this.world.getMapper().forceResaveStates(); //this.world.getMapper().forceResaveStates();
System.out.println("Shutting down voxel core"); System.out.println("Shutting down voxel core");
try {this.renderGen.shutdown();} catch (Exception e) {System.err.println(e);} try {this.renderGen.shutdown();} catch (Exception e) {System.err.println(e);}
System.out.println("Render gen shut down");
try {this.world.shutdown();} catch (Exception e) {System.err.println(e);} try {this.world.shutdown();} catch (Exception e) {System.err.println(e);}
System.out.println("World engine shut down");
try {this.renderer.shutdown();} catch (Exception e) {System.err.println(e);} try {this.renderer.shutdown();} catch (Exception e) {System.err.println(e);}
System.out.println("Renderer shut down");
if (this.postProcessing!=null){try {this.postProcessing.shutdown();} catch (Exception e) {System.err.println(e);}} if (this.postProcessing!=null){try {this.postProcessing.shutdown();} catch (Exception e) {System.err.println(e);}}
System.out.println("Voxel core shut down");
} }
public WorldImporter createWorldImporter(World mcWorld, File worldPath) { public WorldImporter createWorldImporter(World mcWorld, File worldPath) {