Class CompositeSlotReferenceProvider
java.lang.Object
com.refinedmods.refinedstorage.common.support.slotreference.CompositeSlotReferenceProvider
- All Implemented Interfaces:
SlotReferenceProvider
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addProvider
(SlotReferenceProvider provider) find
(net.minecraft.world.entity.player.Player player, Set<net.minecraft.world.item.Item> validItems) findForUse
(net.minecraft.world.entity.player.Player player, net.minecraft.world.item.Item referenceItem, Set<net.minecraft.world.item.Item> validItems)
-
Constructor Details
-
CompositeSlotReferenceProvider
public CompositeSlotReferenceProvider()
-
-
Method Details
-
addProvider
-
find
public List<SlotReference> find(net.minecraft.world.entity.player.Player player, Set<net.minecraft.world.item.Item> validItems) - Specified by:
find
in interfaceSlotReferenceProvider
-
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)
-