mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-12-14 12:10:30 +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:
parent
3fa39b5f98
commit
2255d49d16
@ -2,7 +2,7 @@
|
||||
|
||||
# Minecraft
|
||||
# MC version is specified in gradle.properties, as we need that in settings.gradle.
|
||||
fabric-api = "0.66.0+1.19.2"
|
||||
fabric-api = "0.67.0+1.19.2"
|
||||
fabric-loader = "0.14.10"
|
||||
forge = "43.1.1"
|
||||
forgeSpi = "6.0.0"
|
||||
|
@ -18,6 +18,7 @@ accessible field net/minecraft/data/models/BlockModelGenerators modelOutput Ljav
|
||||
accessible method net/minecraft/data/models/BlockModelGenerators delegateItemModel (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/resources/ResourceLocation;)V
|
||||
accessible method net/minecraft/data/models/BlockModelGenerators delegateItemModel (Lnet/minecraft/world/item/Item;Lnet/minecraft/resources/ResourceLocation;)V
|
||||
accessible method net/minecraft/data/models/BlockModelGenerators createHorizontallyRotatedBlock (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/data/models/model/TexturedModel$Provider;)V
|
||||
accessible field net/minecraft/data/models/ItemModelGenerators output Ljava/util/function/BiConsumer;
|
||||
accessible method net/minecraft/data/models/ItemModelGenerators generateFlatItem (Lnet/minecraft/world/item/Item;Lnet/minecraft/data/models/model/ModelTemplate;)V
|
||||
accessible method net/minecraft/data/models/ItemModelGenerators generateFlatItem (Lnet/minecraft/world/item/Item;Ljava/lang/String;Lnet/minecraft/data/models/model/ModelTemplate;)V
|
||||
accessible method net/minecraft/data/models/model/TextureSlot create (Ljava/lang/String;)Lnet/minecraft/data/models/model/TextureSlot;
|
||||
|
@ -27,8 +27,5 @@ accessible method net/minecraft/client/renderer/ItemInHandRenderer renderPlayerA
|
||||
accessible method com/mojang/blaze3d/audio/Channel pumpBuffers (I)V
|
||||
accessible field net/minecraft/client/sounds/SoundEngine executor Lnet/minecraft/client/sounds/SoundEngineExecutor;
|
||||
|
||||
# Data generators
|
||||
accessible field net/minecraft/data/models/ItemModelGenerators output Ljava/util/function/BiConsumer;
|
||||
|
||||
# Turtle model
|
||||
accessible method net/minecraft/client/renderer/block/model/ItemOverrides <init> ()V
|
||||
|
@ -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
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user