Package | Description |
---|---|
net.minecraft.enchantment | |
net.minecraft.inventory | |
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 p_185291_1_,
boolean allowTreasure) |
Modifier and Type | Method and Description |
---|---|
static void |
EnchantmentHelper.removeIncompatible(java.util.List<EnchantmentData> p_185282_0_,
EnchantmentData p_185282_1_) |
Modifier and Type | Method and Description |
---|---|
static void |
EnchantmentHelper.removeIncompatible(java.util.List<EnchantmentData> p_185282_0_,
EnchantmentData p_185282_1_) |
Modifier and Type | Method and Description |
---|---|
private java.util.List<EnchantmentData> |
ContainerEnchantment.getEnchantmentList(ItemStack stack,
int enchantSlot,
int level) |
Modifier and Type | Method and Description |
---|---|
static void |
ItemEnchantedBook.addEnchantment(ItemStack p_92115_0_,
EnchantmentData stack) |
static ItemStack |
ItemEnchantedBook.getEnchantedItemStack(EnchantmentData p_92111_0_) |