Class InventorySlotReference
java.lang.Object
com.refinedmods.refinedstorage.common.support.slotreference.InventorySlotReference
- All Implemented Interfaces:
SlotReference
-
Method Summary
Modifier and TypeMethodDescriptionbooleanisDisabledSlot(int playerSlotIndex) static SlotReferenceof(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:
resolvein interfaceSlotReference
-
getFactory
- Specified by:
getFactoryin interfaceSlotReference
-
isDisabledSlot
public boolean isDisabledSlot(int playerSlotIndex) - Specified by:
isDisabledSlotin interfaceSlotReference
-
of
public static SlotReference of(net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand)
-