Modifier and Type | Method | 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, contains, contains, contains, contains, containsAtLeast, first, first, firstEmpty, getContents, getHolder, getItem, getLocation, getMaxStackSize, getSize, getStorageContents, getType, getViewers, iterator, iterator, remove, remove, removeItem, setContents, setItem, setMaxStackSize, setStorageContents
forEach, spliterator
void setItem(@Nullable @Nullable ItemStack item)
item
- The new item@Nullable @Nullable ItemStack getItem()
void setSecondary(@Nullable @Nullable ItemStack item)
item
- The new item@Nullable @Nullable ItemStack getSecondary()
Copyright © 2020. All rights reserved.