Modifier and Type | Method | Description |
---|---|---|
ItemStack |
getItem() |
Get the item being enchanted.
|
ItemStack |
getSecondary() |
Get the secondary item being used for the enchant.
|
void |
setItem(ItemStack item) |
Set the item being enchanted.
|
void |
setSecondary(ItemStack item) |
Set the secondary item being used for the enchant.
|
addItem, all, all, clear, clear, contains, contains, contains, contains, containsAtLeast, first, first, firstEmpty, getContents, getHolder, getItem, getLocation, getMaxStackSize, getName, getSize, getStorageContents, getTitle, getType, getViewers, iterator, iterator, remove, remove, removeItem, removeItemAnySlot, setContents, setItem, setMaxStackSize, setStorageContents
forEach, spliterator
void setItem(@Nullable ItemStack item)
item
- The new item@Nullable ItemStack getItem()
void setSecondary(@Nullable ItemStack item)
item
- The new item@Nullable ItemStack getSecondary()
Copyright © 2020. All rights reserved.