fabric/fabric-tool-attribute-api-v1/build.gradle
Juuxel 5521a561ea Fix shears being the ultimate mining tool (#1809)
* Add detail about default value to MiningLevelManager jd

* Fix shears being the ultimate mining tool

In more technical terms, fix an invalid
comparison in TaggedToolsModdedBlocksToolHandler.
The code was supposed to check if the tool's
mining level was at least the block's minimum
mining level. Instead, the check succeeded
whenever the block required a tool
(min level >= 0).

* WIP fixing tool attribute api bugs

* Fix mostly everything

* Simplify to (== 0) with explanation
2021-11-06 20:04:19 +00:00

14 lines
504 B
Groovy

archivesBaseName = "fabric-tool-attribute-api-v1"
version = getSubprojectVersion(project, "1.3.1")
dependencies {
testmodImplementation project(path: ':fabric-object-builder-api-v1', configuration: 'dev')
testmodImplementation project(path: ':fabric-lifecycle-events-v1', configuration: 'dev')
testmodImplementation project(path: ':fabric-resource-loader-v0', configuration: 'dev')
}
moduleDependencies(project, [
'fabric-api-base',
'fabric-mining-level-api-v1',
'fabric-tag-extensions-v0'
])