fabric/fabric-item-api-v1/build.gradle

12 lines
250 B
Groovy
Raw Normal View History

version = getSubprojectVersion(project)
moduleDependencies(project, ['fabric-api-base'])
Support stack aware recipe remainders (#2556) * Support stack aware recipe remainders * Fix checkstyle * Remove all overwrites * Add FabricItemStack and make RecipeRemainderHandler thread safe * Update fabric-item-api-v1/src/main/java/net/fabricmc/fabric/api/item/v1/FabricItem.java Co-authored-by: apple502j <33279053+apple502j@users.noreply.github.com> * Update fabric-item-api-v1/src/main/java/net/fabricmc/fabric/api/item/v1/FabricItem.java Co-authored-by: apple502j <33279053+apple502j@users.noreply.github.com> * Update fabric-item-api-v1/src/main/java/net/fabricmc/fabric/api/item/v1/FabricItem.java Co-authored-by: apple502j <33279053+apple502j@users.noreply.github.com> * Update fabric-item-api-v1/src/main/java/net/fabricmc/fabric/api/item/v1/FabricItem.java Co-authored-by: apple502j <33279053+apple502j@users.noreply.github.com> * Update fabric-item-api-v1/src/main/java/net/fabricmc/fabric/api/item/v1/FabricItem.java Co-authored-by: apple502j <33279053+apple502j@users.noreply.github.com> * Update fabric-item-api-v1/src/main/java/net/fabricmc/fabric/impl/item/RecipeRemainderHandler.java Co-authored-by: Technici4n <13494793+Technici4n@users.noreply.github.com> * Remove hasRecipeRemainder, Update test mod and remove unneeded mixins * Update fabric-item-api-v1/src/testmod/java/net/fabricmc/fabric/test/item/CustomDamageTest.java Co-authored-by: Salvatore Peluso <info@devpelux.xyz> * Avoid copying the ItemStack * Update fabric-item-api-v1/src/main/java/net/fabricmc/fabric/mixin/item/AbstractFurnaceBlockEntityMixin.java Co-authored-by: Salvatore Peluso <info@devpelux.xyz> * Sneakily change duplicate keybinding to a less used key * make everything thread safe and improve AbstractFurnaceBlockEntityMixin * Update fabric-item-api-v1/src/main/java/net/fabricmc/fabric/api/item/v1/FabricItem.java Co-authored-by: Technici4n <13494793+Technici4n@users.noreply.github.com> * Update fabric-item-api-v1/src/main/java/net/fabricmc/fabric/api/item/v1/FabricItemStack.java Co-authored-by: Technici4n <13494793+Technici4n@users.noreply.github.com> * Update fabric-item-api-v1/src/main/java/net/fabricmc/fabric/api/item/v1/FabricItem.java Co-authored-by: Salvatore Peluso <info@devpelux.xyz> * clear thread local and change field prefix * forgot the allow * Update fabric-item-api-v1/src/main/java/net/fabricmc/fabric/api/item/v1/FabricItem.java Co-authored-by: Salvatore Peluso <info@devpelux.xyz> * Update fabric-item-api-v1/src/testmod/java/net/fabricmc/fabric/test/item/CustomDamageTest.java Co-authored-by: Technici4n <13494793+Technici4n@users.noreply.github.com> * Add FurnaceGameTest * Change test keybind back to LShift * Fix brewing stand remainder and fix nitpicks * add code example to remainder javadoc * Fixed and reformatted docs, changed recipe mixin behavior to store the remainder stack instead of the original stack, refactoring. * Added gametests for brewing stand and recipe mixins, fixed furnace gametest compairing stacks with themselves. * Use (0,1,0) position for game tests * Review changes Co-authored-by: apple502j <33279053+apple502j@users.noreply.github.com> Co-authored-by: Technici4n <13494793+Technici4n@users.noreply.github.com> Co-authored-by: Salvatore Peluso <info@devpelux.xyz> Co-authored-by: modmuss50 <modmuss50@gmail.com> (cherry picked from commit fa140d597616a8dee53622bce701a5c0ac8810b9)
2022-11-20 08:25:23 -05:00
testDependencies(project, [
':fabric-content-registries-v0',
Support stack aware recipe remainders (#2556) * Support stack aware recipe remainders * Fix checkstyle * Remove all overwrites * Add FabricItemStack and make RecipeRemainderHandler thread safe * Update fabric-item-api-v1/src/main/java/net/fabricmc/fabric/api/item/v1/FabricItem.java Co-authored-by: apple502j <33279053+apple502j@users.noreply.github.com> * Update fabric-item-api-v1/src/main/java/net/fabricmc/fabric/api/item/v1/FabricItem.java Co-authored-by: apple502j <33279053+apple502j@users.noreply.github.com> * Update fabric-item-api-v1/src/main/java/net/fabricmc/fabric/api/item/v1/FabricItem.java Co-authored-by: apple502j <33279053+apple502j@users.noreply.github.com> * Update fabric-item-api-v1/src/main/java/net/fabricmc/fabric/api/item/v1/FabricItem.java Co-authored-by: apple502j <33279053+apple502j@users.noreply.github.com> * Update fabric-item-api-v1/src/main/java/net/fabricmc/fabric/api/item/v1/FabricItem.java Co-authored-by: apple502j <33279053+apple502j@users.noreply.github.com> * Update fabric-item-api-v1/src/main/java/net/fabricmc/fabric/impl/item/RecipeRemainderHandler.java Co-authored-by: Technici4n <13494793+Technici4n@users.noreply.github.com> * Remove hasRecipeRemainder, Update test mod and remove unneeded mixins * Update fabric-item-api-v1/src/testmod/java/net/fabricmc/fabric/test/item/CustomDamageTest.java Co-authored-by: Salvatore Peluso <info@devpelux.xyz> * Avoid copying the ItemStack * Update fabric-item-api-v1/src/main/java/net/fabricmc/fabric/mixin/item/AbstractFurnaceBlockEntityMixin.java Co-authored-by: Salvatore Peluso <info@devpelux.xyz> * Sneakily change duplicate keybinding to a less used key * make everything thread safe and improve AbstractFurnaceBlockEntityMixin * Update fabric-item-api-v1/src/main/java/net/fabricmc/fabric/api/item/v1/FabricItem.java Co-authored-by: Technici4n <13494793+Technici4n@users.noreply.github.com> * Update fabric-item-api-v1/src/main/java/net/fabricmc/fabric/api/item/v1/FabricItemStack.java Co-authored-by: Technici4n <13494793+Technici4n@users.noreply.github.com> * Update fabric-item-api-v1/src/main/java/net/fabricmc/fabric/api/item/v1/FabricItem.java Co-authored-by: Salvatore Peluso <info@devpelux.xyz> * clear thread local and change field prefix * forgot the allow * Update fabric-item-api-v1/src/main/java/net/fabricmc/fabric/api/item/v1/FabricItem.java Co-authored-by: Salvatore Peluso <info@devpelux.xyz> * Update fabric-item-api-v1/src/testmod/java/net/fabricmc/fabric/test/item/CustomDamageTest.java Co-authored-by: Technici4n <13494793+Technici4n@users.noreply.github.com> * Add FurnaceGameTest * Change test keybind back to LShift * Fix brewing stand remainder and fix nitpicks * add code example to remainder javadoc * Fixed and reformatted docs, changed recipe mixin behavior to store the remainder stack instead of the original stack, refactoring. * Added gametests for brewing stand and recipe mixins, fixed furnace gametest compairing stacks with themselves. * Use (0,1,0) position for game tests * Review changes Co-authored-by: apple502j <33279053+apple502j@users.noreply.github.com> Co-authored-by: Technici4n <13494793+Technici4n@users.noreply.github.com> Co-authored-by: Salvatore Peluso <info@devpelux.xyz> Co-authored-by: modmuss50 <modmuss50@gmail.com> (cherry picked from commit fa140d597616a8dee53622bce701a5c0ac8810b9)
2022-11-20 08:25:23 -05:00
])
loom {
accessWidenerPath = file("src/main/resources/fabric-item-api-v1.accesswidener")
}