diff --git a/common/src/main/java/com/klikli_dev/modonomicon/api/datagen/EntryProvider.java b/common/src/main/java/com/klikli_dev/modonomicon/api/datagen/EntryProvider.java index 45d3b89e8..587a703db 100644 --- a/common/src/main/java/com/klikli_dev/modonomicon/api/datagen/EntryProvider.java +++ b/common/src/main/java/com/klikli_dev/modonomicon/api/datagen/EntryProvider.java @@ -119,8 +119,15 @@ protected void pageTitle(String title) { /** * Adds a page text for the current context to the underlying language provider. */ - protected void pageText(String title) { - this.add(this.context().pageText(), title); + protected void pageText(String text) { + this.add(this.context().pageText(), text); + } + + /** + * Adds a page text for the current context to the underlying language provider. + */ + protected void pageText(String text, Object... args){ + this.add(this.context().pageText(), text, args); } /** diff --git a/gradle.properties b/gradle.properties index 7e6d5405e..1d377a3f9 100644 --- a/gradle.properties +++ b/gradle.properties @@ -45,7 +45,7 @@ group=com.klikli_dev mod_id=modonomicon mod_name=Modonomicon mod_license=MIT AND CC-BY-4.0 -mod_version=1.41.0 +mod_version=1.48.0 mod_authors=Kli Kli mod_description=Data-driven minecraft in-game documentation with progress visualization.