net.minecraft.world.item

public class EnchantedBookItem

extends Item

All mapped superinterfaces:

FeatureElement, ItemLike

cib
net.minecraft.world.item.EnchantedBookItem
net.minecraft.class_1772
net.minecraft.item.EnchantedBookItem
net.minecraft.src.C_1362_
net.minecraft.world.item.ItemEnchantedBook

Field summary

Modifier and TypeField
public static final String
a
TAG_STORED_ENCHANTMENTS
field_30874
STORED_ENCHANTMENTS_KEY
f_150830_

Constructor summary

ModifierConstructor
public (Item$Properties arg0)

Method summary

Modifier and TypeMethod
public boolean
i(cjf arg0)
isFoil(ItemStack arg0)
method_7886(class_1799 arg0)
hasGlint(ItemStack arg0)
m_5812_(C_1391_ arg0)
public boolean
d_(cjf arg0)
isEnchantable(ItemStack arg0)
method_7870(class_1799 arg0)
isEnchantable(ItemStack arg0)
m_8120_(C_1391_ arg0)
public static ListTag
d(cjf arg0)
getEnchantments(ItemStack arg0)
method_7806(class_1799 arg0)
getEnchantmentNbt(ItemStack stack)
m_41163_(C_1391_ p_41164_)
public void
a(cjf arg0, cpv arg1, List<tl> arg2, ckw arg3)
appendHoverText(ItemStack arg0, Level arg1, List<Component> arg2, TooltipFlag arg3)
method_7851(class_1799 arg0, class_1937 arg1, List<class_2561> arg2, class_1836 arg3)
appendTooltip(ItemStack arg0, World arg1, List<Text> arg2, TooltipContext arg3)
m_7373_(C_1391_ p_41158_, C_1596_ p_41159_, List<C_4996_> p_41160_, C_1431_ arg3)
public static void
a(cjf arg0, cnr arg1)
addEnchantment(ItemStack arg0, EnchantmentInstance arg1)
method_7807(class_1799 arg0, class_1889 arg1)
addEnchantment(ItemStack stack, EnchantmentLevelEntry entry)
m_41153_(C_1391_ p_41154_, C_1524_ p_41155_)
public static ItemStack
a(cnr arg0)
createForEnchantment(EnchantmentInstance arg0)
method_7808(class_1889 arg0)
forEnchantment(EnchantmentLevelEntry info)
m_41161_(C_1524_ p_41162_)