Interface SmithingInventory
Interface to the inventory of a Smithing table.
-
Method Summary
Modifier and TypeMethodDescriptionGets the input equipment (second slot).Gets the input mineral (third slot).Gets the input template (first slot).Get the current recipe formed on the smithing table, if any.Check what item is in the result slot of this smithing table.default voidsetInputEquipment(@Nullable ItemStack itemStack) Sets the input equipment (second slot).default voidsetInputMineral(@Nullable ItemStack itemStack) Sets the input mineral (third slot).default voidsetInputTemplate(@Nullable ItemStack itemStack) Sets the input template (first slot).voidSet the item in the result slot of the smithing tableMethods inherited from interface Inventory
addItem, all, all, clear, clear, close, contains, contains, contains, contains, containsAtLeast, first, first, firstEmpty, getContents, getHolder, getHolder, getItem, getLocation, getMaxStackSize, getSize, getStorageContents, getType, getViewers, isEmpty, iterator, iterator, remove, remove, removeItem, removeItemAnySlot, setContents, setItem, setMaxStackSize, setStorageContentsMethods inherited from interface Iterable
forEach, spliterator
-
Method Details
-
getResult
-
setResult
-
getRecipe
-
getInputTemplate
-
setInputTemplate
-
getInputEquipment
-
setInputEquipment
-
getInputMineral
-
setInputMineral
-