Package | Description |
---|---|
net.minecraft.enchantment | |
net.minecraft.inventory.container | |
net.minecraft.item |
Modifier and Type | Method and Description |
---|---|
static java.util.List<EnchantmentData> |
EnchantmentHelper.buildEnchantmentList(java.util.Random randomIn,
ItemStack itemStackIn,
int level,
boolean allowTreasure) |
static java.util.List<EnchantmentData> |
EnchantmentHelper.getEnchantmentDatas(int p_185291_0_,
ItemStack stack,
boolean allowTreasure) |
Modifier and Type | Method and Description |
---|---|
static void |
EnchantmentHelper.removeIncompatible(java.util.List<EnchantmentData> dataList,
EnchantmentData data) |
Modifier and Type | Method and Description |
---|---|
static void |
EnchantmentHelper.removeIncompatible(java.util.List<EnchantmentData> dataList,
EnchantmentData data) |
Modifier and Type | Method and Description |
---|---|
private java.util.List<EnchantmentData> |
EnchantmentContainer.getEnchantmentList(ItemStack stack,
int enchantSlot,
int level) |
Modifier and Type | Method and Description |
---|---|
static void |
EnchantedBookItem.addEnchantment(ItemStack p_92115_0_,
EnchantmentData stack) |
static ItemStack |
EnchantedBookItem.getEnchantedItemStack(EnchantmentData p_92111_0_) |