Class GuideRegistry

java.lang.Object
net.ixdarklord.folios.internal.core.GuideRegistry

public final class GuideRegistry extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static 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 net.ixdarklord.coolcatcore.api.registry.RegistryEntry<net.minecraft.core.component.DataComponentType<net.minecraft.resources.ResourceLocation>>
     
    static final net.ixdarklord.coolcatcore.api.attachment.Attachment<Map<net.minecraft.resources.ResourceLocation,GuideRecord>>
    What a player has done with each book (see GuideRecord): saved with them, sent only to them, kept when they die.
    static final net.ixdarklord.coolcatcore.api.registry.RegistryEntry<net.minecraft.core.component.DataComponentType<net.minecraft.util.Unit>>
    On a guide book while its holder reads it in their hands: others see them hold it up open.
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • GUIDE_BOOK

      public static final net.ixdarklord.coolcatcore.api.registry.RegistryEntry<net.minecraft.core.component.DataComponentType<net.minecraft.resources.ResourceLocation>> GUIDE_BOOK
    • READING

      public static final net.ixdarklord.coolcatcore.api.registry.RegistryEntry<net.minecraft.core.component.DataComponentType<net.minecraft.util.Unit>> 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 a mannequin's, it stays, so it can be shown reading.
    • PLAYER_PROGRESS

      public static final net.ixdarklord.coolcatcore.api.attachment.Attachment<Map<net.minecraft.resources.ResourceLocation,GuideRecord>> PLAYER_PROGRESS
      What a player has done with each book (see GuideRecord): saved with them, sent only to them, kept when they die.
    • BOOK_PROGRESS

      public static final net.ixdarklord.coolcatcore.api.attachment.Attachment<GuideRecord> 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

      public static final net.ixdarklord.coolcatcore.api.registry.RegistryEntry<GuideBookItem> BOOK_ITEM