Package org.bukkit.inventory.view
Interface CrafterView
- All Superinterfaces:
- InventoryView
An instance of 
InventoryView which provides extra methods related to
 crafter view data.- 
Nested Class SummaryNested classes/interfaces inherited from interface org.bukkit.inventory.InventoryViewInventoryView.Property
- 
Field SummaryFields inherited from interface org.bukkit.inventory.InventoryViewOUTSIDE
- 
Method SummaryModifier and TypeMethodDescriptionGet the upper inventory involved in this transaction.booleanChecks whether or not this crafter view is powered.booleanisSlotDisabled(int slot) Checks if the given crafter slot is disabled.voidsetSlotDisabled(int slot, boolean disabled) Sets the status of the crafter slot.Methods inherited from interface org.bukkit.inventory.InventoryViewclose, convertSlot, countSlots, getBottomInventory, getCursor, getInventory, getItem, getOriginalTitle, getPlayer, getSlotType, getTitle, getType, setCursor, setItem, setProperty, setTitle
- 
Method Details- 
getTopInventoryDescription copied from interface:InventoryViewGet the upper inventory involved in this transaction.- Specified by:
- getTopInventoryin interface- InventoryView
- Returns:
- the inventory
 
- 
isSlotDisabledboolean isSlotDisabled(int slot) Checks if the given crafter slot is disabled.- Parameters:
- slot- the slot to check
- Returns:
- true if the slot is disabled otherwise false
 
- 
isPoweredboolean isPowered()Checks whether or not this crafter view is powered.- Returns:
- true if the crafter is powered
 
- 
setSlotDisabledvoid setSlotDisabled(int slot, boolean disabled) Sets the status of the crafter slot.- Parameters:
- slot- the slot to set the status of
- disabled- true if the slot should be disabled otherwise false
 
 
-