Class GuideRegistry
java.lang.Object
net.ixdarklord.folios.internal.core.GuideRegistry
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.ixdarklord.coolcatcore.api.registry.RegistryEntry<GuideBookItem>static final net.ixdarklord.coolcatcore.api.attachment.Attachment<GuideRecord>What has been done with this copy of a book that keeps its own ("progress": "book"): its marks go with it.static final StringThe book a guide book item is, by id:{folios_book:"mymod:handbook"}.static final net.ixdarklord.coolcatcore.api.attachment.Attachment<Map<net.minecraft.resources.ResourceLocation,GuideRecord>> What a player has done with each book (seeGuideRecord): saved with them, sent only to them, kept when they die.static final StringOn a guide book while its holder reads it in their hands: others see them hold it up open. -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisReading(net.minecraft.world.item.ItemStack stack) static voidsetReading(net.minecraft.world.item.ItemStack stack, boolean reading)
-
Field Details
-
GUIDE_BOOK
The book a guide book item is, by id:{folios_book:"mymod:handbook"}.- See Also:
-
READING
On a guide book while its holder reads it in their hands: others see them hold it up open. Taken off a player's book when they stop (or it leaves their hand); on an armor stand's, it stays, so it can be shown reading.- See Also:
-
PLAYER_PROGRESS
public static final net.ixdarklord.coolcatcore.api.attachment.Attachment<Map<net.minecraft.resources.ResourceLocation,GuideRecord>> PLAYER_PROGRESSWhat a player has done with each book (seeGuideRecord): saved with them, sent only to them, kept when they die. -
BOOK_PROGRESS
What has been done with this copy of a book that keeps its own ("progress": "book"): its marks go with it. -
BOOK_ITEM
-
-
Method Details
-
isReading
public static boolean isReading(net.minecraft.world.item.ItemStack stack) -
setReading
public static void setReading(net.minecraft.world.item.ItemStack stack, boolean reading)
-