| Modifier and Type | Method and Description |
|---|---|
@Nullable ItemStack |
getItem()
Get the item being enchanted.
|
@Nullable ItemStack |
getSecondary()
Get the secondary item being used for the enchant.
|
void |
setItem(@Nullable ItemStack item)
Set the item being enchanted.
|
void |
setSecondary(@Nullable ItemStack item)
Set the secondary item being used for the enchant.
|
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, setStorageContentsforEach, spliteratorvoid setItem(@Nullable @Nullable ItemStack item)
item - The new item@Nullable @Nullable ItemStack getItem()
void setSecondary(@Nullable @Nullable ItemStack item)
item - The new itemCopyright © 2022. All rights reserved.