Added Minecraft version indicator

This commit is contained in:
Lucas Dower 2023-03-01 18:46:27 +00:00
parent fa947c0a46
commit db52dd6cf3
No known key found for this signature in database
GPG Key ID: B3EE6B8499593605
2 changed files with 3 additions and 2 deletions

View File

@ -11,8 +11,9 @@ export class AppConfig {
public readonly RELEASE_MODE = true;
public readonly MAJOR_VERSION = 0;
public readonly MINOR_VERSION = 7;
public readonly HOTFIX_VERSION = 7;
public readonly HOTFIX_VERSION = 8;
public readonly VERSION_TYPE: 'd' | 'a' | 'r' = 'r'; // dev, alpha, or release build
public readonly MINECRAFT_VERSION = '1.19.3';
public readonly VOXEL_BUFFER_CHUNK_SIZE = 5_000;
public readonly AMBIENT_OCCLUSION_OVERRIDE_CORNER = true;

View File

@ -55,7 +55,7 @@ export class HeaderUIElement extends BaseUIElement<HTMLDivElement> {
ObjToSchematic
</div>
<div class="row-item subtitle">
v${AppConfig.Get.MAJOR_VERSION}.${AppConfig.Get.MINOR_VERSION}.${AppConfig.Get.HOTFIX_VERSION}${AppConfig.Get.VERSION_TYPE}
v${AppConfig.Get.MAJOR_VERSION}.${AppConfig.Get.MINOR_VERSION}.${AppConfig.Get.HOTFIX_VERSION}${AppConfig.Get.VERSION_TYPE} Minecraft ${AppConfig.Get.MINECRAFT_VERSION}
</div>
</div>
</div>