Interface ItemCopyingRecipe.SupportsItemCopying

All Known Implementing Classes:
AttributeFilterItem, ClipboardBlockItem, FilterItem, ListFilterItem, PackageFilterItem, ScheduleItem
Enclosing class:
ItemCopyingRecipe

public static interface ItemCopyingRecipe.SupportsItemCopying
  • Method Summary

    Modifier and Type
    Method
    Description
    default boolean
    canCopyFromItem(net.minecraft.world.item.ItemStack item)
     
    default boolean
    canCopyToItem(net.minecraft.world.item.ItemStack item)
     
    default net.minecraft.world.item.ItemStack
    createCopy(net.minecraft.world.item.ItemStack original, int count)
     
    net.minecraft.core.component.DataComponentType<?>
     
  • Method Details

    • createCopy

      default net.minecraft.world.item.ItemStack createCopy(net.minecraft.world.item.ItemStack original, int count)
    • canCopyFromItem

      default boolean canCopyFromItem(net.minecraft.world.item.ItemStack item)
    • canCopyToItem

      default boolean canCopyToItem(net.minecraft.world.item.ItemStack item)
    • getComponentType

      net.minecraft.core.component.DataComponentType<?> getComponentType()