public class EnchantmentList extends Object
| Constructor and Description |
|---|
EnchantmentList(int size) |
| Modifier and Type | Method and Description |
|---|---|
int |
getSize() |
EnchantmentEntry |
getSlot(int slot) |
EnchantmentList |
setSlot(int slot,
EnchantmentEntry entry) |
public EnchantmentList setSlot(int slot, EnchantmentEntry entry)
slot - The index of enchantment.entry - The given enchantment entry.EnchantmentListpublic EnchantmentEntry getSlot(int slot)
public int getSize()
Copyright © 2020. All rights reserved.