Interface SlotReference
- All Known Implementing Classes:
InventorySlotReference
@API(status=STABLE,
since="2.0.0-milestone.3.1")
public interface SlotReference
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isDisabledSlot
(int playerSlotIndex) Optional
<net.minecraft.world.item.ItemStack> resolve
(net.minecraft.world.entity.player.Player player)
-
Method Details
-
isDisabledSlot
boolean isDisabledSlot(int playerSlotIndex) -
resolve
Optional<net.minecraft.world.item.ItemStack> resolve(net.minecraft.world.entity.player.Player player) -
getFactory
SlotReferenceFactory getFactory()
-