rename velocityMultiplier
This commit is contained in:
parent
f83d2c220f
commit
af7aadc9ca
|
@ -55,7 +55,7 @@
|
||||||
|
|
||||||
"slipperiness" ~ float
|
"slipperiness" ~ float
|
||||||
|
|
||||||
"slowDownMultiplier" ~ float
|
"movementVelocityMultiplier" ~ float
|
||||||
|
|
||||||
"jumpVelocityMultiplier" ~ float
|
"jumpVelocityMultiplier" ~ float
|
||||||
|
|
||||||
|
|
11
build.gradle
11
build.gradle
|
@ -1,4 +1,5 @@
|
||||||
plugins {
|
plugins {
|
||||||
|
id "com.modrinth.minotaur" version "2.+"
|
||||||
id 'fabric-loom' version '1.2-SNAPSHOT'
|
id 'fabric-loom' version '1.2-SNAPSHOT'
|
||||||
id 'maven-publish'
|
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
|
// configure the maven publication
|
||||||
publishing {
|
publishing {
|
||||||
publications {
|
publications {
|
||||||
|
|
|
@ -89,7 +89,7 @@ public class BlockResourceLoader extends GenericManualResourceLoader<Pair<Block,
|
||||||
fabricBlockSettings
|
fabricBlockSettings
|
||||||
.collidable(bspj.collidable)
|
.collidable(bspj.collidable)
|
||||||
.slipperiness(bspj.slipperiness)
|
.slipperiness(bspj.slipperiness)
|
||||||
.velocityMultiplier(bspj.slowDownMultiplier)
|
.velocityMultiplier(bspj.movementVelocityMultiplier)
|
||||||
.jumpVelocityMultiplier(bspj.jumpVelocityMultiplier)
|
.jumpVelocityMultiplier(bspj.jumpVelocityMultiplier)
|
||||||
.sounds(getSoundGroup(bspj.soundGroup))
|
.sounds(getSoundGroup(bspj.soundGroup))
|
||||||
.drops(getDropTableId(bspj.dropTableId))
|
.drops(getDropTableId(bspj.dropTableId))
|
||||||
|
|
|
@ -10,7 +10,7 @@ public class BlockSettingsPojo {
|
||||||
public float explosionResistance = 6.0F;
|
public float explosionResistance = 6.0F;
|
||||||
public float hardness = 1.5F;
|
public float hardness = 1.5F;
|
||||||
public float slipperiness = 0.6F;
|
public float slipperiness = 0.6F;
|
||||||
public float slowDownMultiplier = 1.0F;
|
public float movementVelocityMultiplier = 1.0F;
|
||||||
public float jumpVelocityMultiplier = 1.0F;
|
public float jumpVelocityMultiplier = 1.0F;
|
||||||
public boolean opaque = true;
|
public boolean opaque = true;
|
||||||
public boolean allowsSpawning = true;
|
public boolean allowsSpawning = true;
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
"explosionResistance": 5.0,
|
"explosionResistance": 5.0,
|
||||||
"hardness": 0.5,
|
"hardness": 0.5,
|
||||||
"slipperiness": 0.6,
|
"slipperiness": 0.6,
|
||||||
"slowDownMultiplier": 2.0,
|
"movementVelocityMultiplier": 2.0,
|
||||||
"jumpVelocityMultiplier": 2.0,
|
"jumpVelocityMultiplier": 2.0,
|
||||||
"opaque": true,
|
"opaque": true,
|
||||||
"itemGroup": "minecraft:building_blocks",
|
"itemGroup": "minecraft:building_blocks",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user