Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
2e9c99c
Bump org.jetbrains.kotlin.plugin.serialization from 2.1.10 to 2.1.20
dependabot[bot] Mar 24, 2025
b908406
Merge pull request #132 from Bumer-32/dependabot/gradle/dev/org.jetbr…
Bumer-32 Mar 24, 2025
85c3922
Bump org.jetbrains.kotlin.jvm from 2.1.10 to 2.1.20
dependabot[bot] Mar 24, 2025
a09c00f
Merge pull request #131 from Bumer-32/dependabot/gradle/dev/org.jetbr…
Bumer-32 Mar 24, 2025
43ceaa1
Bump fabric-loom from 1.10.4 to 1.10.5
dependabot[bot] Mar 24, 2025
e87f366
Merge pull request #130 from Bumer-32/dependabot/gradle/dev/fabric-lo…
Bumer-32 Mar 24, 2025
44b2002
Bump org.jetbrains.kotlin.plugin.serialization from 2.1.20 to 2.1.21
dependabot[bot] May 19, 2025
fd5995d
Merge pull request #134 from Bumer-32/dependabot/gradle/dev/org.jetbr…
Bumer-32 May 19, 2025
a3860d7
Bump org.jetbrains.kotlin.jvm from 2.1.20 to 2.1.21
dependabot[bot] May 19, 2025
209a800
Merge pull request #133 from Bumer-32/dependabot/gradle/dev/org.jetbr…
Bumer-32 May 19, 2025
820a80f
Bump fabric-loom from 1.10.5 to 1.11.1
dependabot[bot] Jun 30, 2025
e435517
Bump org.jetbrains.kotlin.jvm from 2.1.21 to 2.2.0
dependabot[bot] Jun 30, 2025
dd2b0fc
Merge pull request #137 from Bumer-32/dependabot/gradle/dev/org.jetbr…
Bumer-32 Jul 1, 2025
cd5c5c7
Merge branch 'dev' into dependabot/gradle/dev/fabric-loom-1.11.1
Bumer-32 Jul 1, 2025
abc7c5e
Merge pull request #135 from Bumer-32/dependabot/gradle/dev/fabric-lo…
Bumer-32 Jul 1, 2025
b2fd2bc
Bump org.jetbrains.kotlin.plugin.serialization from 2.1.21 to 2.2.0
dependabot[bot] Jul 1, 2025
60dc7b5
Merge pull request #136 from Bumer-32/dependabot/gradle/dev/org.jetbr…
Bumer-32 Jul 1, 2025
364147d
Bump fabric-loom from 1.11.1 to 1.11.4
dependabot[bot] Jul 14, 2025
2a4d552
Merge pull request #139 from Bumer-32/dependabot/gradle/dev/fabric-lo…
Bumer-32 Jul 17, 2025
d4b2387
update gradle
Bumer-32 Jul 17, 2025
23c4979
closes #141
Bumer-32 Jul 17, 2025
122d02f
update dependencies
Bumer-32 Jul 17, 2025
91c4f52
update 0.2.5.5
Bumer-32 Jul 17, 2025
06c8cc8
fix autowire with airplace
Bumer-32 Jul 17, 2025
950cfd3
Merge branch 'main' into dev
Bumer-32 Jul 17, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
Hi! Version 0.2.5.4
Hi! Version 0.2.5.5

- Fixed scaling for macro's screens, now you can use it with any ui scale
- Fixed but with key handler in macro edit screen (before you can't press backspace, now you can)
- Cleanups "under the hood" deleted useless "dead" code
- Removed useless argument "test" from /redstone-helper
- Removed useless argument "cleanup" from /redstone-helper
- Now if redstone helper created a config file the first time, it didn't cause errors in logs
- Fixed [#141](https://github.com/Bumer-32/Redstone-Helper/issues/141), now autowire will not overwrite blocks, also no autowire works with airplace (Thanks [ibotimew](https://github.com/ibotimew))
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import com.modrinth.minotaur.dependencies.ModDependency
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

plugins {
id "fabric-loom" version "1.10.4"
id "org.jetbrains.kotlin.plugin.serialization" version "2.1.10"
id "org.jetbrains.kotlin.jvm" version "2.1.10"
id "fabric-loom" version "1.11.4"
id "org.jetbrains.kotlin.plugin.serialization" version "2.2.0"
id "org.jetbrains.kotlin.jvm" version "2.2.0"
id "com.modrinth.minotaur" version "2.+"
id "maven-publish"
}
Expand Down
10 changes: 5 additions & 5 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ kotlin.daemon.jvmargs=-Xmx2G
# check these on https://fabricmc.net/develop
minecraft_version=1.21.4
yarn_mappings=1.21.4+build.8
loader_version=0.16.10
fabric_kotlin_version=1.13.0+kotlin.2.1.0
fabric_api_version=0.115.0+1.21.4
loader_version=0.16.14
fabric_kotlin_version=1.13.4+kotlin.2.2.0
fabric_api_version=0.119.3+1.21.4

# Mod Properties
mod_version=0.2.5.4
mod_version=0.2.5.5
maven_group=ua.pp.lumivoid.redstonehelper
archives_base_name=redstone-helper

Expand All @@ -21,7 +21,7 @@ archives_base_name=redstone-helper
# -Fix - for small fixes and problems with launch
version_suffix=

release_minecraft_versions=["1.21.3", "1.21.4"]
release_minecraft_versions=["1.21.4"]

# Dependencies
# https://mathparser.org/
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ object ColorcodeCommand {
"${StringArgumentType.getString(context, "color")}_${it}"
)
if (Registries.BLOCK.containsId(fullId)) {
SendPacket.sendPacket(SetBlockC2SPacket(blockPos, fullId, Direction.UP, Constants.aMinecraftClass))
SendPacket.sendPacket(SetBlockC2SPacket(blockPos, fullId, Direction.UP, false, Constants.aMinecraftClass))
totalBlocksColored++
}
return@any true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ object UseKeyBinding {
client.player!!.swingHand(client.player!!.activeHand)
client.networkHandler!!.sendPacket(PlayerInteractBlockC2SPacket(client.player!!.activeHand, hit, 1))
lastBlockPlacementTime = currentTime

// Autowire
if (ClientOptions.isAutoWireEnabled) {
ClientOptions.autoWireMode.place(hit.blockPos, client.player!!, client.player!!.world)
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ import net.minecraft.util.math.BlockPos
import net.minecraft.util.math.Direction

@JvmRecord
data class SetBlockC2SPacket(val blockPos: BlockPos, val block: Identifier, val direction: Direction, val aMinecraftClass: Identifier)
data class SetBlockC2SPacket(val blockPos: BlockPos, val block: Identifier, val direction: Direction, val isAuto: Boolean, val aMinecraftClass: Identifier)
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ object SetBlockPacketReceiver {

Constants.NET_CHANNEL.registerServerbound(SetBlockC2SPacket::class.java) { message, access ->
Scheduling.scheduleAction(1) { // delay, need to place dust because it thinks there's no block under it
if (message.isAuto && !access.player.serverWorld.getBlockState(message.blockPos).isAir) return@scheduleAction
var blockState = Registries.BLOCK.get(message.block).defaultState

if (message.direction != Direction.UP) {
Expand All @@ -33,7 +34,6 @@ object SetBlockPacketReceiver {
access.player.serverWorld.setBlockState(message.blockPos, blockState)
access.player.serverWorld.updateNeighbors(message.blockPos.east(), blockState.block)
}

}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ enum class AutoWire {
logger.debug("Trying to set $block block at $blockPos")

val blockToSet = Identifier.of(block)
SendPacket.sendPacket(SetBlockC2SPacket(blockPos.up(), blockToSet, direction, Constants.aMinecraftClass))
SendPacket.sendPacket(SetBlockC2SPacket(blockPos.up(), blockToSet, direction, true, Constants.aMinecraftClass))
}

abstract fun place(blockPos: BlockPos, player: PlayerEntity, world: World): String
Expand Down
Loading