net.minecraft.world.item

public class WrittenBookItem

extends Item

All mapped superinterfaces:

ItemLike

bwq
net.minecraft.world.item.WrittenBookItem
net.minecraft.class_1843
net.minecraft.item.WrittenBookItem
net.minecraft.src.C_1439_
net.minecraft.world.item.ItemWrittenBook

Field summary

Modifier and TypeField
public static final int
a
TITLE_LENGTH
field_30929
field_30929
f_151235_
public static final int
b
TITLE_MAX_LENGTH
field_30930
MAX_TITLE_LENGTH
f_151236_
public static final int
c
PAGE_EDIT_LENGTH
field_30931
field_30931
f_151237_
public static final int
d
PAGE_LENGTH
field_30932
field_30932
f_151238_
public static final int
e
MAX_PAGES
field_30933
field_30933
f_151239_
public static final int
f
MAX_GENERATION
field_30934
field_30934
f_151240_
public static final String
g
TAG_TITLE
field_30935
TITLE_KEY
f_151241_
public static final String
h
TAG_FILTERED_TITLE
field_30936
FILTERED_TITLE_KEY
f_151242_
public static final String
i
TAG_AUTHOR
field_30937
AUTHOR_KEY
f_151243_
public static final String
j
TAG_PAGES
field_30938
PAGES_KEY
f_151244_
public static final String
r
TAG_FILTERED_PAGES
field_30939
FILTERED_PAGES_KEY
f_151245_
public static final String
s
TAG_GENERATION
field_30940
GENERATION_KEY
f_151246_
public static final String
t
TAG_RESOLVED
field_30941
RESOLVED_KEY
f_151247_

Constructor summary

ModifierConstructor
public (Item$Properties arg0)

Method summary

Modifier and TypeMethod
public static boolean
a(ok arg0)
makeSureTagIsValid(CompoundTag arg0)
method_8053(class_2487 arg0)
isValid(NbtCompound nbt)
m_43471_(C_4917_ p_43472_)
public static int
d(buw arg0)
getGeneration(ItemStack arg0)
method_8052(class_1799 arg0)
getGeneration(ItemStack stack)
m_43473_(C_1391_ p_43474_)
public static int
k(buw arg0)
getPageCount(ItemStack arg0)
method_17443(class_1799 arg0)
getPageCount(ItemStack stack)
m_43477_(C_1391_ p_43478_)
public Component
m(buw arg0)
getName(ItemStack arg0)
method_7864(class_1799 arg0)
getName(ItemStack arg0)
m_7626_(C_1391_ arg0)
public void
a(buw arg0, cav arg1, List<qk> arg2, bwj 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_43458_, C_1596_ p_43459_, List<C_4996_> p_43460_, C_1431_ arg3)
public InteractionResult
a(bwy arg0)
useOn(UseOnContext arg0)
method_7884(class_1838 arg0)
useOnBlock(ItemUsageContext arg0)
m_6225_(C_1450_ arg0)
public InteractionResultHolder<ItemStack>
a(cav arg0, boj arg1, awg arg2)
use(Level arg0, Player arg1, InteractionHand arg2)
method_7836(class_1937 arg0, class_1657 arg1, class_1268 arg2)
use(World arg0, PlayerEntity arg1, Hand arg2)
m_7203_(C_1596_ p_43469_, C_1141_ p_43470_, C_470_ arg2)
public static boolean
a(buw arg0, dm arg1, boj arg2)
resolveBookComponents(ItemStack arg0, CommandSourceStack arg1, Player arg2)
method_8054(class_1799 arg0, class_2168 arg1, class_1657 arg2)
resolve(ItemStack book, ServerCommandSource commandSource, PlayerEntity player)
m_43461_(C_1391_ p_43462_, C_2969_ p_43463_, C_1141_ p_43464_)
private static String
a(dm arg0, boj arg1, String arg2)
resolvePage(CommandSourceStack arg0, Player arg1, String arg2)
method_33826(class_2168 arg0, class_1657 arg1, String arg2)
textToJson(ServerCommandSource commandSource, PlayerEntity player, String text)
m_151248_(C_2969_ p_151249_, C_1141_ p_151250_, String p_151251_)
public boolean
i(buw arg0)
isFoil(ItemStack arg0)
method_7886(class_1799 arg0)
hasGlint(ItemStack arg0)
m_5812_(C_1391_ arg0)