It runs, sort of...

This commit is contained in:
modmuss50 2023-05-13 11:01:44 +01:00 committed by modmuss
parent 027be66230
commit 08f75889ec
19 changed files with 75 additions and 79 deletions

View file

@ -27,7 +27,7 @@ package reborncore.api.events;
import net.fabricmc.fabric.api.event.Event;
import net.fabricmc.fabric.api.event.EventFactory;
import net.minecraft.entity.player.PlayerEntity;
import net.minecraft.inventory.CraftingInventory;
import net.minecraft.inventory.RecipeInputInventory;
import net.minecraft.item.ItemStack;
@ -39,6 +39,6 @@ public interface ItemCraftCallback {
}
});
void onCraft(ItemStack stack, CraftingInventory craftingInventory, PlayerEntity playerEntity);
void onCraft(ItemStack stack, RecipeInputInventory craftingInventory, PlayerEntity playerEntity);
}

View file

@ -25,7 +25,7 @@
package reborncore.mixin.common;
import net.minecraft.entity.player.PlayerEntity;
import net.minecraft.inventory.CraftingInventory;
import net.minecraft.inventory.RecipeInputInventory;
import net.minecraft.item.ItemStack;
import net.minecraft.screen.slot.CraftingResultSlot;
import org.spongepowered.asm.mixin.Final;
@ -41,7 +41,7 @@ public abstract class MixinCraftingResultSlot {
@Shadow
@Final
private CraftingInventory input;
private RecipeInputInventory input;
@Shadow
@Final

View file

@ -32,7 +32,7 @@
"fabric-api": ">=0.75.3",
"team_reborn_energy": ">=3.0.0",
"fabric-biome-api-v1": ">=3.0.0",
"minecraft": ">=1.19.4- <1.19.5-"
"minecraft": ">=1.20- <1.20.1-"
},
"authors": [
"Team Reborn",