mirror of
https://github.com/FabricMC/fabric.git
synced 2024-11-22 15:47:57 -05:00
3b6dc5deb2
* Initial move to codec-based resource conditions * Move default condition types to DefaultResourceConditionTypes * Move built-in condition types to impl * Run spotlessApply * Move default condition registration to entrypoint in imp * Formatting fixes * Add back package-info.java * Make it compatible with new DFU * checkstyle * Refactor FeaturesEnabledResourceCondition * Pass RegistryWrapper and reduce reliance on statics * Some more improvements * Add back some tests * Add more tests * Add back tags_populated support, clean up code * Some more improvements * add javadocs (wip) * Fix unfixed merge conflict * Javadocs * Fix null condition in addConditions * Allow empty arrays in certain codecs * Move addConditions to datagen impl * Address reviews * add debug log * Store features in normal static field * Fix TagsPopulatedResourceCondition#getType --------- Co-authored-by: Apollo <102649729+Apollounknowndev@users.noreply.github.com>
7 lines
202 B
Groovy
7 lines
202 B
Groovy
version = getSubprojectVersion(project)
|
|
|
|
loom {
|
|
accessWidenerPath = file("src/main/resources/fabric-resource-conditions-api-v1.accesswidener")
|
|
}
|
|
|
|
testDependencies(project, [':fabric-gametest-api-v1'])
|