Destroy cables on piston push instead of block

This commit is contained in:
DBotThePony 2024-01-01 16:43:11 +07:00
parent d84af00876
commit 4e3ca82fc7
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -44,7 +44,7 @@ abstract class CableBlock(properties: Properties) : MatteryBlock(properties) {
override fun hasDynamicShape() = true
override fun getPistonPushReaction(p_60584_: BlockState): PushReaction {
return PushReaction.BLOCK
return PushReaction.DESTROY
}
override fun createBlockStateDefinition(builder: StateDefinition.Builder<Block, BlockState>) {