From af7aadc9ca88014adc3d57c2c78f2ad9bdb10067 Mon Sep 17 00:00:00 2001 From: QuImUfu Date: Fri, 7 Jul 2023 23:30:57 +0200 Subject: [PATCH] rename velocityMultiplier --- blockPropertyDocumentation.txt | 2 +- build.gradle | 11 +++++++++++ .../quimufu/simple_creator/BlockResourceLoader.java | 2 +- .../quimufu/simple_creator/BlockSettingsPojo.java | 2 +- .../data/simple_creator/blocks/test_block.json | 2 +- 5 files changed, 15 insertions(+), 4 deletions(-) diff --git a/blockPropertyDocumentation.txt b/blockPropertyDocumentation.txt index f561cfd..2a05036 100644 --- a/blockPropertyDocumentation.txt +++ b/blockPropertyDocumentation.txt @@ -55,7 +55,7 @@ "slipperiness" ~ float -"slowDownMultiplier" ~ float +"movementVelocityMultiplier" ~ float "jumpVelocityMultiplier" ~ float diff --git a/build.gradle b/build.gradle index afc5f55..2efe3d3 100644 --- a/build.gradle +++ b/build.gradle @@ -1,4 +1,5 @@ plugins { + id "com.modrinth.minotaur" version "2.+" id 'fabric-loom' version '1.2-SNAPSHOT' id 'maven-publish' } @@ -98,6 +99,16 @@ jar { } } +import com.modrinth.minotaur.dependencies.ModDependency + +modrinth { + projectId = 'vHsuCD0F' // The ID of your Modrinth project. Slugs will not work. + uploadFile = remapJar // Tells Minotaur to use the remapped jar + versionType = "beta" + dependencies = [ + new ModDependency('P7dR8mSH', 'required'), //required dependency on Fabric API + ] +} // configure the maven publication publishing { publications { diff --git a/src/main/java/quimufu/simple_creator/BlockResourceLoader.java b/src/main/java/quimufu/simple_creator/BlockResourceLoader.java index ba6cddf..85e0509 100644 --- a/src/main/java/quimufu/simple_creator/BlockResourceLoader.java +++ b/src/main/java/quimufu/simple_creator/BlockResourceLoader.java @@ -89,7 +89,7 @@ public class BlockResourceLoader extends GenericManualResourceLoader