Class CompositeSlotReferenceProvider

java.lang.Object
com.refinedmods.refinedstorage.common.support.slotreference.CompositeSlotReferenceProvider
All Implemented Interfaces:
SlotReferenceProvider

public class CompositeSlotReferenceProvider extends Object implements SlotReferenceProvider
  • Constructor Details

    • CompositeSlotReferenceProvider

      public CompositeSlotReferenceProvider()
  • Method Details

    • addProvider

      public void addProvider(SlotReferenceProvider provider)
    • find

      public List<SlotReference> find(net.minecraft.world.entity.player.Player player, Set<net.minecraft.world.item.Item> validItems)
      Specified by:
      find in interface SlotReferenceProvider
    • findForUse

      public Optional<SlotReference> findForUse(net.minecraft.world.entity.player.Player player, net.minecraft.world.item.Item referenceItem, Set<net.minecraft.world.item.Item> validItems)