Interface SlotReferenceHandlerItem

All Known Implementing Classes:
AbstractNetworkEnergyItem, PortableGridBlockItem, WirelessAutocraftingMonitorItem, WirelessGridItem
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface @API(status=STABLE, since="2.0.0-milestone.4.3") public interface SlotReferenceHandlerItem
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    use(net.minecraft.server.level.ServerPlayer player, net.minecraft.world.item.ItemStack stack, SlotReference slotReference)
     
  • Method Details

    • use

      void use(net.minecraft.server.level.ServerPlayer player, net.minecraft.world.item.ItemStack stack, SlotReference slotReference)