diff --git a/README.md b/README.md index e6c621d..6fae27d 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ "playerEjectTicks": 200.0, // The ticks the game waits before kicking you out of a boat after the player lost control "boostUnderwater": true, // Toggles, whether a boat, which is underwater should be boosted upwards "boostOnBlocks": false, // Toggles, whether a boat, which is on a block should be boosted upwards when running against an elevation - "boostOnIce": true, // Toggles, whether a boat, which is on an ice block should be boosted upwards when running against an elevation + "boostOnIce": false, // Toggles, whether a boat, should only be boosted on blocks, when laying on an ice block. "boostOnWater": true, // Toggles, whether a boat, which is on water should be boosted upwards when floating against an elevation "onlyForPlayers": true, // Toggles, whether a boat should only be boosted when carrying a player, "extraCollisionDetectionRange": 0.5 // Changes the detection range of a collision. Increasing this will boost a boat x blocks before actually touching the block it approaches. diff --git a/changelog.md b/changelog.md index 5ac6e2e..e20879b 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,5 @@ - migrate to kotlin-lang-forge - migrate all network namespaces from 'better-boat-movement' to 'bbm' -- remove config from forge environments \ No newline at end of file +- remove config from forge environments +- improve boostOnIce description +- set boostOnIce by default to false to prevent issues with getting boosted on different blocks than ice \ No newline at end of file diff --git a/gradle.properties b/gradle.properties index f5d3e78..ad2cdd2 100644 --- a/gradle.properties +++ b/gradle.properties @@ -12,6 +12,6 @@ mod.id=bbm mod.name=BetterBoatMovement mod.description=Increases boat step height to move up water and blocks mod.beta=0 -mod.major-version=2.2.4 +mod.major-version=2.2.5 mod.mixins=bbm.mixins.json mod.supported-loaders=fabric,quilt,neoforge,forge \ No newline at end of file diff --git a/src/main/kotlin/dev/nyon/bbm/config/Config.kt b/src/main/kotlin/dev/nyon/bbm/config/Config.kt index 30af7b2..0a526ac 100644 --- a/src/main/kotlin/dev/nyon/bbm/config/Config.kt +++ b/src/main/kotlin/dev/nyon/bbm/config/Config.kt @@ -17,7 +17,7 @@ data class Config( var playerEjectTicks: Float = 20f * 10f, var boostUnderwater: Boolean = true, var boostOnBlocks: Boolean = true, - var boostOnIce: Boolean = true, + var boostOnIce: Boolean = false, var boostOnWater: Boolean = true, var onlyForPlayers: Boolean = true, var extraCollisionDetectionRange: Double = 0.5 @@ -73,7 +73,7 @@ data class Config( var playerEjectTicks: Float = 20f * 10f, var boostUnderwater: Boolean = true, var boostOnBlocks: Boolean = true, - var boostOnIce: Boolean = true, + var boostOnIce: Boolean = false, var boostOnWater: Boolean = true, var onlyForPlayers: Boolean = true, var extraCollisionDetectionRange: Double = 0.5 @@ -121,7 +121,7 @@ data class Config( var playerEjectTicks: Float = 20f * 10f, var boostUnderwater: Boolean = true, var boostOnBlocks: Boolean = true, - var boostOnIce: Boolean = true, + var boostOnIce: Boolean = false, var boostOnWater: Boolean = true, var onlyForPlayers: Boolean = true, var extraCollisionDetectionRange: Double = 0.5 @@ -163,7 +163,7 @@ data class Config( var playerEjectTicks: Float = 20f * 10f, var boostUnderwater: Boolean = true, var boostOnBlocks: Boolean = true, - var boostOnIce: Boolean = true, + var boostOnIce: Boolean = false, var boostOnWater: Boolean = true, var onlyForPlayers: Boolean = true, var extraCollisionDetectionRange: Double = 0.5 diff --git a/src/main/kotlin/dev/nyon/bbm/config/ConfigScreen.kt b/src/main/kotlin/dev/nyon/bbm/config/ConfigScreen.kt index 9ded61b..3216fd6 100644 --- a/src/main/kotlin/dev/nyon/bbm/config/ConfigScreen.kt +++ b/src/main/kotlin/dev/nyon/bbm/config/ConfigScreen.kt @@ -40,7 +40,7 @@ fun generateYaclScreen(parent: Screen?): Screen = YetAnotherConfigLib("bbm") { } val boostOnIce by rootOptions.registering { - binding(true, { config.boostOnIce }, { config.boostOnIce = it }) + binding(false, { config.boostOnIce }, { config.boostOnIce = it }) controller = tickBox() descriptionBuilder { addDefaultText(1) diff --git a/src/main/resources/assets/bbm/lang/en_us.json b/src/main/resources/assets/bbm/lang/en_us.json index d3eb078..13cbae1 100644 --- a/src/main/resources/assets/bbm/lang/en_us.json +++ b/src/main/resources/assets/bbm/lang/en_us.json @@ -9,8 +9,8 @@ "yacl3.config.bbm.category.general.root.option.boostUnderwater.description": "Toggles, whether a boat, which is underwater should be boosted upwards.", "yacl3.config.bbm.category.general.root.option.boostOnBlocks": "Boost on blocks", "yacl3.config.bbm.category.general.root.option.boostOnBlocks.description": "Toggles, whether a boat, which is on a block should be boosted upwards when running against an elevation.", - "yacl3.config.bbm.category.general.root.option.boostOnIce": "Boost on ice", - "yacl3.config.bbm.category.general.root.option.boostOnIce.description": "Toggles, whether a boat, which is on an ice block should be boosted upwards when running against an elevation.", + "yacl3.config.bbm.category.general.root.option.boostOnIce": "Only boost on ice", + "yacl3.config.bbm.category.general.root.option.boostOnIce.description": "Toggles, whether a boat, should only be boosted on blocks, when laying on an ice block.", "yacl3.config.bbm.category.general.root.option.boostOnWater": "Boost on water", "yacl3.config.bbm.category.general.root.option.boostOnWater.description": "Toggles, whether a boat, which is on water should be boosted upwards when floating against an elevation.", "yacl3.config.bbm.category.general.root.option.onlyForPlayers": "Only for players",