net.minecraft.world.item

public class EnchantedBookItem

extends Item

All mapped superinterfaces:

ItemLike

bzb
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(caa arg0)
isFoil(ItemStack arg0)
method_7886(class_1799 arg0)
hasGlint(ItemStack arg0)
m_5812_(C_1391_ arg0)
public boolean
c_(caa arg0)
isEnchantable(ItemStack arg0)
method_7870(class_1799 arg0)
isEnchantable(ItemStack arg0)
m_8120_(C_1391_ arg0)
public static ListTag
d(caa arg0)
getEnchantments(ItemStack arg0)
method_7806(class_1799 arg0)
getEnchantmentNbt(ItemStack stack)
m_41163_(C_1391_ p_41164_)
public void
a(caa arg0, cga arg1, List<rm> arg2, cbo 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(caa arg0, cdx 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(cdx arg0)
createForEnchantment(EnchantmentInstance arg0)
method_7808(class_1889 arg0)
forEnchantment(EnchantmentLevelEntry info)
m_41161_(C_1524_ p_41162_)
public void
a(bym arg0, hi<caa> arg1)
fillItemCategory(CreativeModeTab arg0, NonNullList<ItemStack> arg1)
method_7850(class_1761 arg0, class_2371<class_1799> arg1)
appendStacks(ItemGroup arg0, DefaultedList<ItemStack> arg1)
m_6787_(C_1336_ p_41152_, C_4702_<C_1391_> arg1)