Package net.ixdarklord.folios.internal
Class FoliosHooks
java.lang.Object
net.ixdarklord.folios.internal.FoliosHooks
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Function<net.minecraft.resources.ResourceLocation, @Nullable net.minecraft.network.chat.Component> static Function<net.minecraft.resources.ResourceLocation, net.minecraft.network.chat.Component> static BiConsumer<net.minecraft.resources.ResourceLocation, net.minecraft.world.InteractionHand> -
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable net.minecraft.network.chat.ComponentbookCredit(net.minecraft.resources.ResourceLocation book) static net.minecraft.network.chat.ComponentbookName(net.minecraft.resources.ResourceLocation book) static net.minecraft.network.chat.ComponentdefaultName(net.minecraft.resources.ResourceLocation book) static voidopenFromItem(net.minecraft.resources.ResourceLocation book, net.minecraft.world.InteractionHand hand)
-
Field Details
-
opener
public static BiConsumer<net.minecraft.resources.ResourceLocation,net.minecraft.world.InteractionHand> opener -
names
public static Function<net.minecraft.resources.ResourceLocation,net.minecraft.network.chat.Component> names -
credits
public static Function<net.minecraft.resources.ResourceLocation,@Nullable net.minecraft.network.chat.Component> credits
-
-
Method Details
-
openFromItem
public static void openFromItem(net.minecraft.resources.ResourceLocation book, net.minecraft.world.InteractionHand hand) -
bookName
public static net.minecraft.network.chat.Component bookName(net.minecraft.resources.ResourceLocation book) -
bookCredit
@Nullable public static @Nullable net.minecraft.network.chat.Component bookCredit(net.minecraft.resources.ResourceLocation book) -
defaultName
public static net.minecraft.network.chat.Component defaultName(net.minecraft.resources.ResourceLocation book)
-