rename velocityMultiplier

This commit is contained in:
QuImUfu 2023-07-07 23:30:57 +02:00
parent f83d2c220f
commit af7aadc9ca
5 changed files with 15 additions and 4 deletions

View File

@ -55,7 +55,7 @@
"slipperiness" ~ float
"slowDownMultiplier" ~ float
"movementVelocityMultiplier" ~ float
"jumpVelocityMultiplier" ~ float

View File

@ -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 {

View File

@ -89,7 +89,7 @@ public class BlockResourceLoader extends GenericManualResourceLoader<Pair<Block,
fabricBlockSettings
.collidable(bspj.collidable)
.slipperiness(bspj.slipperiness)
.velocityMultiplier(bspj.slowDownMultiplier)
.velocityMultiplier(bspj.movementVelocityMultiplier)
.jumpVelocityMultiplier(bspj.jumpVelocityMultiplier)
.sounds(getSoundGroup(bspj.soundGroup))
.drops(getDropTableId(bspj.dropTableId))

View File

@ -10,7 +10,7 @@ public class BlockSettingsPojo {
public float explosionResistance = 6.0F;
public float hardness = 1.5F;
public float slipperiness = 0.6F;
public float slowDownMultiplier = 1.0F;
public float movementVelocityMultiplier = 1.0F;
public float jumpVelocityMultiplier = 1.0F;
public boolean opaque = true;
public boolean allowsSpawning = true;

View File

@ -9,7 +9,7 @@
"explosionResistance": 5.0,
"hardness": 0.5,
"slipperiness": 0.6,
"slowDownMultiplier": 2.0,
"movementVelocityMultiplier": 2.0,
"jumpVelocityMultiplier": 2.0,
"opaque": true,
"itemGroup": "minecraft:building_blocks",