1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-10-31 21:52:59 +00:00

Update to latest Fabric

Love being on the bleedin' edge. More importantly, this fixes a couple
of issues:
 - Translations are loaded on the server, meaning .getItemDetail
   correctly translates modded items.
 - Shulker boxes cannot be moved inside other shulker boxes using the
   transfer API.
 - Start using Fab API's ItemStack.getRecipeRemainder().
This commit is contained in:
Jonathan Coates
2022-11-20 16:05:28 +00:00
parent 3fa39b5f98
commit 2255d49d16
5 changed files with 4 additions and 6 deletions

View File

@@ -269,7 +269,7 @@ public class PlatformHelperImpl implements PlatformHelper {
@Override
public ItemStack getCraftingRemainingItem(ItemStack stack) {
return new ItemStack(stack.getItem().getCraftingRemainingItem());
return stack.getRecipeRemainder();
}
@Override

View File

@@ -47,7 +47,7 @@
],
"depends": {
"fabricloader": ">=0.14.10",
"fabric-api": ">=0.66.0",
"fabric-api": ">=0.67.0",
"minecraft": ">=1.19.2 <1.20"
},
"accessWidener": "computercraft.accesswidener"