Interface CraftingGrid

All Superinterfaces:
Grid, PreviewProvider
All Known Implementing Classes:
CraftingGridBlockEntity

public interface CraftingGrid extends Grid
  • Method Details

    • getCraftingMatrix

      RecipeMatrixContainer getCraftingMatrix()
    • getCraftingResult

      net.minecraft.world.inventory.ResultContainer getCraftingResult()
    • getRemainingItems

      net.minecraft.core.NonNullList<net.minecraft.world.item.ItemStack> getRemainingItems(net.minecraft.world.entity.player.Player player, net.minecraft.world.item.crafting.CraftingInput input)
    • startExtractTransaction

      ExtractTransaction startExtractTransaction(net.minecraft.world.entity.player.Player player, boolean directCommit)
    • clearMatrix

      boolean clearMatrix(net.minecraft.world.entity.player.Player player, boolean toPlayerInventory)
    • transferRecipe

      void transferRecipe(net.minecraft.world.entity.player.Player player, List<List<ItemResource>> recipe)
    • acceptQuickCraft

      void acceptQuickCraft(net.minecraft.world.entity.player.Player player, net.minecraft.world.item.ItemStack craftedStack)