public final class Enchantments
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static Type<Enchantments> |
TYPE |
Constructor and Description |
---|
Enchantments(boolean showInTooltip) |
Enchantments(it.unimi.dsi.fastutil.ints.Int2IntMap enchantments,
boolean showInTooltip) |
Modifier and Type | Method and Description |
---|---|
void |
add(int id,
int level) |
void |
clear() |
it.unimi.dsi.fastutil.ints.Int2IntMap |
enchantments() |
int |
getLevel(int id) |
void |
remove(int id) |
boolean |
showInTooltip() |
int |
size() |
public static final Type<Enchantments> TYPE