Update scan time formula

This commit is contained in:
DBotThePony 2022-11-24 21:15:09 +07:00
parent 6e6127b3f9
commit 62e14cee02
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -199,7 +199,7 @@ class MatterScannerBlockEntity(p_155229_: BlockPos, p_155230_: BlockState) :
stack.shrink(1) stack.shrink(1)
container.setChanged() container.setChanged()
val complexity = MatterManager.get(copy).complexity val complexity = MatterManager.get(copy).complexity
return ItemJob(copy, (if (complexity > 1.0) complexity.pow(2.0) else complexity.pow(0.5)), BASE_CONSUMPTION) to null return ItemJob(copy, (if (complexity > 1.0) complexity.pow(1.25) else complexity.pow(0.5)), BASE_CONSUMPTION) to null
} }
return null to IdleReason.ITEM return null to IdleReason.ITEM