Class InventorySlotReference
java.lang.Object
com.refinedmods.refinedstorage.common.support.slotreference.InventorySlotReference
- All Implemented Interfaces:
SlotReference
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isDisabledSlot
(int playerSlotIndex) static SlotReference
of
(net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand) Optional
<net.minecraft.world.item.ItemStack> resolve
(net.minecraft.world.entity.player.Player player)
-
Method Details
-
resolve
public Optional<net.minecraft.world.item.ItemStack> resolve(net.minecraft.world.entity.player.Player player) - Specified by:
resolve
in interfaceSlotReference
-
getFactory
- Specified by:
getFactory
in interfaceSlotReference
-
isDisabledSlot
public boolean isDisabledSlot(int playerSlotIndex) - Specified by:
isDisabledSlot
in interfaceSlotReference
-
of
public static SlotReference of(net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand)
-