From c143a6d851717132e83337cefc51a2bb3500e6a5 Mon Sep 17 00:00:00 2001 From: Daniel Orr Date: Tue, 2 Jul 2024 12:14:26 +0100 Subject: [PATCH] Complete constant progress provider --- gradle.properties | 2 +- .../net/mcbrawls/blueprint/structure/ProgressProvider.kt | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index c7de4bc..d7d028b 100644 --- a/gradle.properties +++ b/gradle.properties @@ -9,7 +9,7 @@ yarn_build=3 loader_version=0.15.11 # Mod Properties -mod_version=1.5.0 +mod_version=1.5.1 maven_group=net.mcbrawls mod_id=blueprint diff --git a/src/main/kotlin/net/mcbrawls/blueprint/structure/ProgressProvider.kt b/src/main/kotlin/net/mcbrawls/blueprint/structure/ProgressProvider.kt index ab83775..3757c98 100644 --- a/src/main/kotlin/net/mcbrawls/blueprint/structure/ProgressProvider.kt +++ b/src/main/kotlin/net/mcbrawls/blueprint/structure/ProgressProvider.kt @@ -2,4 +2,8 @@ package net.mcbrawls.blueprint.structure fun interface ProgressProvider { fun getProgress(): Float + + companion object { + val COMPLETE: ProgressProvider = ProgressProvider { 1.0f } + } }