Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- AbstractQuestGridScreen - Class in fr.pacdu.pacpackquests.client.screen
- AbstractQuestGridScreen(Component) - Constructor for class fr.pacdu.pacpackquests.client.screen.AbstractQuestGridScreen
- AbstractQuestGridScreen.GridNode - Interface in fr.pacdu.pacpackquests.client.screen
- addDiscoveredStructure(UUID, String, long) - Method in class fr.pacdu.pacpackquests.data.QuestState
-
Adds a structure instance chunk coordinate to the player's discovered set.
- addNewCategory(String) - Method in class fr.pacdu.pacpackquests.client.screen.QuestScreen
- amount() - Method in record class fr.pacdu.pacpackquests.reward.CommandReward
-
Returns the value of the
amountrecord component. - amount() - Method in record class fr.pacdu.pacpackquests.reward.ItemReward
-
Returns the value of the
amountrecord component. - amount() - Method in record class fr.pacdu.pacpackquests.reward.LevelReward
-
Returns the value of the
amountrecord component. - amount() - Method in interface fr.pacdu.pacpackquests.reward.QuestReward
-
Returns the numerical quantity or level of this reward.
- amount() - Method in record class fr.pacdu.pacpackquests.reward.XpReward
-
Returns the value of the
amountrecord component. - applyZoom(float, double, double) - Method in class fr.pacdu.pacpackquests.client.screen.AbstractQuestGridScreen
-
Adjusts the zoom level and scales panX/panY around the specified focal point (relX, relY) relative to the canvas.
B
- BIOME - Enum constant in enum class fr.pacdu.pacpackquests.util.RegistryType
- BLOCK - Enum constant in enum class fr.pacdu.pacpackquests.util.RegistryType
C
- cameraPositions - Static variable in class fr.pacdu.pacpackquests.client.config.ClientConfig
- CameraState(double, double, float) - Constructor for record class fr.pacdu.pacpackquests.client.config.ClientConfig.CameraState
-
Creates an instance of a
CameraStaterecord class. - canvasOffsetX - Variable in class fr.pacdu.pacpackquests.client.screen.AbstractQuestGridScreen
- canvasOffsetY - Variable in class fr.pacdu.pacpackquests.client.screen.AbstractQuestGridScreen
- categMarginBottom - Variable in class fr.pacdu.pacpackquests.client.screen.AbstractQuestGridScreen
- categMarginTop - Variable in class fr.pacdu.pacpackquests.client.screen.AbstractQuestGridScreen
- categories() - Method in record class fr.pacdu.pacpackquests.network.ReorderCategoryPayload
-
Returns the value of the
categoriesrecord component. - category() - Method in record class fr.pacdu.pacpackquests.network.CreateCategoryPayload
-
Returns the value of the
categoryrecord component. - category() - Method in record class fr.pacdu.pacpackquests.network.DeleteCategoryPayload
-
Returns the value of the
categoryrecord component. - category() - Method in record class fr.pacdu.pacpackquests.network.QuestSyncPayload
-
Returns the value of the
categoryrecord component. - category() - Method in record class fr.pacdu.pacpackquests.network.SaveQuestPayload
-
Returns the value of the
categoryrecord component. - category() - Method in record class fr.pacdu.pacpackquests.QuestDefinition
-
Returns the value of the
categoryrecord component. - categoryNameMaxChars - Variable in class fr.pacdu.pacpackquests.client.screen.AbstractQuestGridScreen
- categoryNew() - Method in record class fr.pacdu.pacpackquests.network.EditCategoryPayload
-
Returns the value of the
categoryNewrecord component. - categoryOld() - Method in record class fr.pacdu.pacpackquests.network.EditCategoryPayload
-
Returns the value of the
categoryOldrecord component. - categoryOrder - Static variable in class fr.pacdu.pacpackquests.config.ModConfig
- centerOn(int, int) - Method in class fr.pacdu.pacpackquests.client.screen.AbstractQuestGridScreen
-
Centers the camera on specific canvas coordinates (canvasX, canvasY).
- claimed - Variable in class fr.pacdu.pacpackquests.data.QuestState
-
Player UUID -> (Quest ID -> Claimed status)
- ClaimQuestPayload - Record Class in fr.pacdu.pacpackquests.network
- ClaimQuestPayload(String) - Constructor for record class fr.pacdu.pacpackquests.network.ClaimQuestPayload
-
Creates an instance of a
ClaimQuestPayloadrecord class. - clampPanning() - Method in class fr.pacdu.pacpackquests.client.screen.AbstractQuestGridScreen
- CLIENT_CATEGORIES - Static variable in class fr.pacdu.pacpackquests.client.ClientQuestData
- CLIENT_CLAIMED - Static variable in class fr.pacdu.pacpackquests.client.ClientQuestData
- CLIENT_DEFINITIONS - Static variable in class fr.pacdu.pacpackquests.client.ClientQuestData
- CLIENT_FINISHED - Static variable in class fr.pacdu.pacpackquests.client.ClientQuestData
- CLIENT_PROGRESS - Static variable in class fr.pacdu.pacpackquests.client.ClientQuestData
- ClientConfig - Class in fr.pacdu.pacpackquests.client.config
- ClientConfig() - Constructor for class fr.pacdu.pacpackquests.client.config.ClientConfig
- ClientConfig.CameraState - Record Class in fr.pacdu.pacpackquests.client.config
- ClientNetworkHandler - Class in fr.pacdu.pacpackquests.client
- ClientQuestData - Class in fr.pacdu.pacpackquests.client
- CODEC - Static variable in class fr.pacdu.pacpackquests.data.QuestState
-
Mojang Codec definition for serializing and deserializing QuestState to/from NBT/Dat.
- CODEC - Static variable in record class fr.pacdu.pacpackquests.network.ClaimQuestPayload
- CODEC - Static variable in record class fr.pacdu.pacpackquests.network.CreateCategoryPayload
- CODEC - Static variable in record class fr.pacdu.pacpackquests.network.DeleteCategoryPayload
- CODEC - Static variable in record class fr.pacdu.pacpackquests.network.DeleteQuestPayload
- CODEC - Static variable in record class fr.pacdu.pacpackquests.network.EditCategoryPayload
- CODEC - Static variable in record class fr.pacdu.pacpackquests.network.MoveQuestPayload
- CODEC - Static variable in record class fr.pacdu.pacpackquests.network.QuestCompletedPayload
- CODEC - Static variable in record class fr.pacdu.pacpackquests.network.QuestProgressPayload
- CODEC - Static variable in record class fr.pacdu.pacpackquests.network.QuestSyncPayload
- CODEC - Static variable in record class fr.pacdu.pacpackquests.network.ReorderCategoryPayload
- CODEC - Static variable in record class fr.pacdu.pacpackquests.network.RequestRegistryPayload
- CODEC - Static variable in record class fr.pacdu.pacpackquests.network.SaveQuestPayload
- CODEC - Static variable in record class fr.pacdu.pacpackquests.network.SyncRegistryPayload
- command() - Method in record class fr.pacdu.pacpackquests.reward.CommandReward
-
Returns the value of the
commandrecord component. - COMMAND - Enum constant in enum class fr.pacdu.pacpackquests.RewardType
- COMMAND - Enum constant in enum class fr.pacdu.pacpackquests.util.RegistryType
- CommandReward - Record Class in fr.pacdu.pacpackquests.reward
-
A quest reward that executes a server command on behalf of or targeting the player upon claiming.
- CommandReward(String, String, int) - Constructor for record class fr.pacdu.pacpackquests.reward.CommandReward
-
Creates an instance of a
CommandRewardrecord class. - Constants - Class in fr.pacdu.pacpackquests
-
Global constant definitions and logger for the PacPack Quests mod.
- CRAFT_ITEM - Enum constant in enum class fr.pacdu.pacpackquests.TaskType
- CraftingResultSlotMixin - Class in fr.pacdu.pacpackquests.mixin
- CraftingResultSlotMixin() - Constructor for class fr.pacdu.pacpackquests.mixin.CraftingResultSlotMixin
- CreateCategoryPayload - Record Class in fr.pacdu.pacpackquests.network
- CreateCategoryPayload(String) - Constructor for record class fr.pacdu.pacpackquests.network.CreateCategoryPayload
-
Creates an instance of a
CreateCategoryPayloadrecord class. - createIconStack(HolderLookup.Provider) - Method in record class fr.pacdu.pacpackquests.reward.CommandReward
- createIconStack(HolderLookup.Provider) - Method in record class fr.pacdu.pacpackquests.reward.ItemReward
- createIconStack(HolderLookup.Provider) - Method in record class fr.pacdu.pacpackquests.reward.LevelReward
- createIconStack(HolderLookup.Provider) - Method in interface fr.pacdu.pacpackquests.reward.QuestReward
-
Generates a visual ItemStack representing this reward for display in tooltips and menus.
- createIconStack(HolderLookup.Provider) - Method in record class fr.pacdu.pacpackquests.reward.XpReward
- createReward(RewardType, String, int, String) - Static method in record class fr.pacdu.pacpackquests.QuestDefinition
-
Factory helper to create a concrete
QuestRewardinstance based on a type enum.
D
- DEFAULT_CATEGORY_NAME - Static variable in class fr.pacdu.pacpackquests.Constants
-
The default category name used when no custom categories are specified.
- DeleteCategoryPayload - Record Class in fr.pacdu.pacpackquests.network
- DeleteCategoryPayload(String) - Constructor for record class fr.pacdu.pacpackquests.network.DeleteCategoryPayload
-
Creates an instance of a
DeleteCategoryPayloadrecord class. - deleteQuest(String) - Method in class fr.pacdu.pacpackquests.data.QuestState
-
Deletes all progress, claims, and discovery tracking for a deleted quest across all players.
- DeleteQuestPayload - Record Class in fr.pacdu.pacpackquests.network
- DeleteQuestPayload(String) - Constructor for record class fr.pacdu.pacpackquests.network.DeleteQuestPayload
-
Creates an instance of a
DeleteQuestPayloadrecord class. - description() - Method in record class fr.pacdu.pacpackquests.QuestDefinition
-
Returns the general description of this quest stored in its properties map.
- description() - Method in record class fr.pacdu.pacpackquests.reward.CommandReward
-
Returns the value of the
descriptionrecord component. - DIMENSION - Enum constant in enum class fr.pacdu.pacpackquests.util.RegistryType
- discoveredStructures - Variable in class fr.pacdu.pacpackquests.data.QuestState
-
Player UUID -> (Quest ID -> Set of discovered structure chunk coordinate longs)
- displayX() - Method in record class fr.pacdu.pacpackquests.network.QuestSyncPayload
-
Returns the value of the
displayXrecord component. - displayX() - Method in record class fr.pacdu.pacpackquests.network.SaveQuestPayload
-
Returns the value of the
displayXrecord component. - displayX() - Method in record class fr.pacdu.pacpackquests.QuestDefinition
-
Returns the value of the
displayXrecord component. - displayY() - Method in record class fr.pacdu.pacpackquests.network.QuestSyncPayload
-
Returns the value of the
displayYrecord component. - displayY() - Method in record class fr.pacdu.pacpackquests.network.SaveQuestPayload
-
Returns the value of the
displayYrecord component. - displayY() - Method in record class fr.pacdu.pacpackquests.QuestDefinition
-
Returns the value of the
displayYrecord component. - draggedQuestId - Variable in class fr.pacdu.pacpackquests.client.screen.AbstractQuestGridScreen
- drawBackgroundFrame(GuiGraphics, Component) - Method in class fr.pacdu.pacpackquests.client.screen.AbstractQuestGridScreen
- drawCheckmark(GuiGraphics, int, int, int) - Static method in class fr.pacdu.pacpackquests.client.util.DrawUtils
-
Draw a green 90-degree checkmark with a clean cardinal (non-diagonal) white outline.
- drawConnectionLine(GuiGraphics, AbstractQuestGridScreen.GridNode, AbstractQuestGridScreen.GridNode, int, int, boolean) - Method in class fr.pacdu.pacpackquests.client.screen.AbstractQuestGridScreen
- DrawUtils - Class in fr.pacdu.pacpackquests.client.util
-
A small utility class for common custom drawings like checkmarks.
- DrawUtils() - Constructor for class fr.pacdu.pacpackquests.client.util.DrawUtils
E
- EditCategoryPayload - Record Class in fr.pacdu.pacpackquests.network
- EditCategoryPayload(String, String) - Constructor for record class fr.pacdu.pacpackquests.network.EditCategoryPayload
-
Creates an instance of a
EditCategoryPayloadrecord class. - EditCommandScreen - Class in fr.pacdu.pacpackquests.client.screen
- EditCommandScreen(Screen, String, String, BiConsumer<String, String>) - Constructor for class fr.pacdu.pacpackquests.client.screen.EditCommandScreen
- EditQuestScreen - Class in fr.pacdu.pacpackquests.client.screen
- EditQuestScreen(QuestScreen, String, String, int, int) - Constructor for class fr.pacdu.pacpackquests.client.screen.EditQuestScreen
- EditQuestScreen(QuestScreen, String, String, int, int, QuestDefinition) - Constructor for class fr.pacdu.pacpackquests.client.screen.EditQuestScreen
- entries() - Method in record class fr.pacdu.pacpackquests.network.SyncRegistryPayload
-
Returns the value of the
entriesrecord component. - equals(Object) - Method in record class fr.pacdu.pacpackquests.client.config.ClientConfig.CameraState
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class fr.pacdu.pacpackquests.network.ClaimQuestPayload
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class fr.pacdu.pacpackquests.network.CreateCategoryPayload
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class fr.pacdu.pacpackquests.network.DeleteCategoryPayload
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class fr.pacdu.pacpackquests.network.DeleteQuestPayload
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class fr.pacdu.pacpackquests.network.EditCategoryPayload
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class fr.pacdu.pacpackquests.network.MoveQuestPayload
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class fr.pacdu.pacpackquests.network.QuestCompletedPayload
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class fr.pacdu.pacpackquests.network.QuestProgressPayload
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class fr.pacdu.pacpackquests.network.QuestSyncPayload
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class fr.pacdu.pacpackquests.network.ReorderCategoryPayload
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class fr.pacdu.pacpackquests.network.RequestRegistryPayload
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class fr.pacdu.pacpackquests.network.SaveQuestPayload
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class fr.pacdu.pacpackquests.network.SyncRegistryPayload
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class fr.pacdu.pacpackquests.QuestDefinition
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class fr.pacdu.pacpackquests.QuestTask
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class fr.pacdu.pacpackquests.reward.CommandReward
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class fr.pacdu.pacpackquests.reward.ItemReward
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class fr.pacdu.pacpackquests.reward.LevelReward
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class fr.pacdu.pacpackquests.reward.XpReward
-
Indicates whether some other object is "equal to" this one.
- EXPLORE_BIOME - Enum constant in enum class fr.pacdu.pacpackquests.TaskType
- EXPLORE_DIMENSION - Enum constant in enum class fr.pacdu.pacpackquests.TaskType
- EXPLORE_STRUCTURE - Enum constant in enum class fr.pacdu.pacpackquests.TaskType
F
- FabricNetworkHelper - Class in fr.pacdu.pacpackquests.platform
- FabricNetworkHelper() - Constructor for class fr.pacdu.pacpackquests.platform.FabricNetworkHelper
- FabricPlatformHelper - Class in fr.pacdu.pacpackquests.platform
- FabricPlatformHelper() - Constructor for class fr.pacdu.pacpackquests.platform.FabricPlatformHelper
- FabricQuestEventHandler - Class in fr.pacdu.pacpackquests.event
- FACTORY - Static variable in class fr.pacdu.pacpackquests.data.QuestState
-
SavedData.Factory registration for the Minecraft Server data storage.
- forceFullGridBounds() - Method in class fr.pacdu.pacpackquests.client.screen.AbstractQuestGridScreen
- forceFullGridBounds() - Method in class fr.pacdu.pacpackquests.client.screen.QuestScreen
- formatDisplayString(String) - Static method in class fr.pacdu.pacpackquests.client.util.TranslationUtils
- formatStringToValidPath(String) - Static method in class fr.pacdu.pacpackquests.util.PathSecurity
-
Formats an arbitrary string to be safe for filenames and filesystem paths: converts to lowercase, decomposes accents/diacritics, and removes invalid characters.
- fr.pacdu.pacpackquests - package fr.pacdu.pacpackquests
- fr.pacdu.pacpackquests.client - package fr.pacdu.pacpackquests.client
- fr.pacdu.pacpackquests.client.config - package fr.pacdu.pacpackquests.client.config
- fr.pacdu.pacpackquests.client.gui - package fr.pacdu.pacpackquests.client.gui
- fr.pacdu.pacpackquests.client.screen - package fr.pacdu.pacpackquests.client.screen
- fr.pacdu.pacpackquests.client.util - package fr.pacdu.pacpackquests.client.util
- fr.pacdu.pacpackquests.config - package fr.pacdu.pacpackquests.config
- fr.pacdu.pacpackquests.data - package fr.pacdu.pacpackquests.data
- fr.pacdu.pacpackquests.event - package fr.pacdu.pacpackquests.event
- fr.pacdu.pacpackquests.mixin - package fr.pacdu.pacpackquests.mixin
- fr.pacdu.pacpackquests.network - package fr.pacdu.pacpackquests.network
- fr.pacdu.pacpackquests.platform - package fr.pacdu.pacpackquests.platform
- fr.pacdu.pacpackquests.platform.services - package fr.pacdu.pacpackquests.platform.services
- fr.pacdu.pacpackquests.reward - package fr.pacdu.pacpackquests.reward
- fr.pacdu.pacpackquests.util - package fr.pacdu.pacpackquests.util
- fromCommandString(String, HolderLookup.Provider) - Static method in class fr.pacdu.pacpackquests.util.ItemUtils
-
Reconstructs an ItemStack from a target string.
G
- getAllItemsInTag(ResourceLocation) - Static method in class fr.pacdu.pacpackquests.util.TagUtils
-
Gets ALL items associated with a tag ResourceLocation.
- getConfigDirectory() - Method in class fr.pacdu.pacpackquests.platform.FabricPlatformHelper
- getConfigDirectory() - Method in interface fr.pacdu.pacpackquests.platform.services.IPlatformHelper
-
Returns the global configuration directory for the game instance.
- getFirstBlockInTag(ResourceLocation) - Static method in class fr.pacdu.pacpackquests.util.TagUtils
-
Gets the first block associated with a tag ResourceLocation.
- getFirstEntityTypeInTag(ResourceLocation) - Static method in class fr.pacdu.pacpackquests.util.TagUtils
-
Gets the first entity associated with a tag ResourceLocation.
- getFirstItemInTag(ResourceLocation) - Static method in class fr.pacdu.pacpackquests.util.TagUtils
-
Gets the first item associated with a tag ResourceLocation.
- getModName(String) - Static method in class fr.pacdu.pacpackquests.client.util.TranslationUtils
-
Resolves human-readable mod name for a given namespace.
- getModName(String) - Method in class fr.pacdu.pacpackquests.platform.FabricPlatformHelper
- getModName(String) - Method in interface fr.pacdu.pacpackquests.platform.services.IPlatformHelper
-
Retrieves the display name of a mod from its identifier.
- getNodeBounds() - Method in class fr.pacdu.pacpackquests.client.screen.AbstractQuestGridScreen
-
Computes the bounding box of current nodes, including padding.
- getNodes() - Method in class fr.pacdu.pacpackquests.client.screen.AbstractQuestGridScreen
- getNodes() - Method in class fr.pacdu.pacpackquests.client.screen.ParentSelectionScreen
- getNodes() - Method in class fr.pacdu.pacpackquests.client.screen.QuestScreen
- getPlatformName() - Method in class fr.pacdu.pacpackquests.platform.FabricPlatformHelper
- getPlatformName() - Method in interface fr.pacdu.pacpackquests.platform.services.IPlatformHelper
-
Returns the human-readable name of the running mod loader (e.g.
- getProgress(UUID, String) - Method in class fr.pacdu.pacpackquests.data.QuestState
-
Gets the current progress value for a quest by player UUID.
- getQuestsRootDir() - Static method in class fr.pacdu.pacpackquests.util.PathSecurity
-
Returns the absolute, normalized root directory for quests.
- getRegistryType() - Method in class fr.pacdu.pacpackquests.client.screen.SelectionScreen
- getRegistryType(TaskType) - Static method in enum class fr.pacdu.pacpackquests.TaskType
- getRepresentativeItem(String, RegistryType) - Static method in class fr.pacdu.pacpackquests.client.util.IconUtils
-
Returns a representative item for ANY quest target.
- getRewardText(QuestReward, boolean) - Static method in class fr.pacdu.pacpackquests.client.util.TranslationUtils
-
Formats the visual display text of a reward with appropriate styling and color.
- getSafeCategoryDir(String) - Static method in class fr.pacdu.pacpackquests.util.PathSecurity
-
Returns the safe category directory Path if valid, or empty Optional if unsafe or invalid.
- getSafeQuestFile(String, String) - Static method in class fr.pacdu.pacpackquests.util.PathSecurity
-
Returns the safe quest JSON file Path if both category and questId are valid, or empty Optional if unsafe or invalid.
- getScrollAmount() - Method in class fr.pacdu.pacpackquests.client.gui.ScrollbarWidget
- getServerState(MinecraftServer) - Static method in class fr.pacdu.pacpackquests.data.QuestState
-
Retrieves the persistent
QuestStateinstance from the server's overworld data storage. - getStaticLookup() - Static method in class fr.pacdu.pacpackquests.util.ItemUtils
- getStepOffset() - Method in class fr.pacdu.pacpackquests.client.gui.ScrollbarWidget
- getTagSize(ResourceLocation, RegistryType) - Static method in class fr.pacdu.pacpackquests.client.util.TranslationUtils
-
Returns the number of elements contained in a tag for any given RegistryType.
- getTranslatedName(String, RegistryType) - Static method in class fr.pacdu.pacpackquests.client.util.TranslationUtils
-
Translate an id (e.g.
- getTranslatedName(String, RegistryType, boolean) - Static method in class fr.pacdu.pacpackquests.client.util.TranslationUtils
- getTranslatedRewardName(String, RegistryType) - Static method in class fr.pacdu.pacpackquests.client.util.TranslationUtils
-
Translate an id specifically for a reward into a readable name (e.g.
- grant(ServerPlayer, RegistryAccess) - Method in record class fr.pacdu.pacpackquests.reward.CommandReward
- grant(ServerPlayer, RegistryAccess) - Method in record class fr.pacdu.pacpackquests.reward.ItemReward
- grant(ServerPlayer, RegistryAccess) - Method in record class fr.pacdu.pacpackquests.reward.LevelReward
- grant(ServerPlayer, RegistryAccess) - Method in interface fr.pacdu.pacpackquests.reward.QuestReward
-
Grants the reward to the given server player.
- grant(ServerPlayer, RegistryAccess) - Method in record class fr.pacdu.pacpackquests.reward.XpReward
- gridSpacing - Variable in class fr.pacdu.pacpackquests.client.screen.AbstractQuestGridScreen
H
- handleClaimQuest(ServerPlayer, ClaimQuestPayload) - Static method in class fr.pacdu.pacpackquests.network.ServerNetworkHandler
- handleCreateCategory(CreateCategoryPayload) - Static method in class fr.pacdu.pacpackquests.client.ClientQuestData
- handleCreateCategory(ServerPlayer, CreateCategoryPayload) - Static method in class fr.pacdu.pacpackquests.network.ServerNetworkHandler
- handleDeleteCategory(DeleteCategoryPayload) - Static method in class fr.pacdu.pacpackquests.client.ClientQuestData
- handleDeleteCategory(ServerPlayer, DeleteCategoryPayload) - Static method in class fr.pacdu.pacpackquests.network.ServerNetworkHandler
- handleDeleteQuest(DeleteQuestPayload) - Static method in class fr.pacdu.pacpackquests.client.ClientQuestData
- handleDeleteQuest(ServerPlayer, DeleteQuestPayload) - Static method in class fr.pacdu.pacpackquests.network.ServerNetworkHandler
- handleEditCategory(EditCategoryPayload) - Static method in class fr.pacdu.pacpackquests.client.ClientQuestData
- handleEditCategory(ServerPlayer, EditCategoryPayload) - Static method in class fr.pacdu.pacpackquests.network.ServerNetworkHandler
- handleMoveQuest(ServerPlayer, MoveQuestPayload) - Static method in class fr.pacdu.pacpackquests.network.ServerNetworkHandler
- handleQuestCompleted(QuestCompletedPayload) - Static method in class fr.pacdu.pacpackquests.client.ClientQuestData
- handleQuestProgress(QuestProgressPayload) - Static method in class fr.pacdu.pacpackquests.client.ClientQuestData
- handleQuestSync(QuestSyncPayload) - Static method in class fr.pacdu.pacpackquests.client.ClientQuestData
- handleReorderCategory(ReorderCategoryPayload) - Static method in class fr.pacdu.pacpackquests.client.ClientQuestData
- handleReorderCategory(ServerPlayer, ReorderCategoryPayload) - Static method in class fr.pacdu.pacpackquests.network.ServerNetworkHandler
- handleRequestRegistry(ServerPlayer, RequestRegistryPayload) - Static method in class fr.pacdu.pacpackquests.network.ServerNetworkHandler
- handleSaveQuest(ServerPlayer, SaveQuestPayload) - Static method in class fr.pacdu.pacpackquests.network.ServerNetworkHandler
- handleSyncRegistry(SyncRegistryPayload) - Static method in class fr.pacdu.pacpackquests.client.ClientQuestData
- hasDiscoveredStructure(UUID, String, long) - Method in class fr.pacdu.pacpackquests.data.QuestState
-
Checks if a player has already discovered a structure instance by chunk coordinate.
- hashCode() - Method in record class fr.pacdu.pacpackquests.client.config.ClientConfig.CameraState
-
Returns a hash code value for this object.
- hashCode() - Method in record class fr.pacdu.pacpackquests.network.ClaimQuestPayload
-
Returns a hash code value for this object.
- hashCode() - Method in record class fr.pacdu.pacpackquests.network.CreateCategoryPayload
-
Returns a hash code value for this object.
- hashCode() - Method in record class fr.pacdu.pacpackquests.network.DeleteCategoryPayload
-
Returns a hash code value for this object.
- hashCode() - Method in record class fr.pacdu.pacpackquests.network.DeleteQuestPayload
-
Returns a hash code value for this object.
- hashCode() - Method in record class fr.pacdu.pacpackquests.network.EditCategoryPayload
-
Returns a hash code value for this object.
- hashCode() - Method in record class fr.pacdu.pacpackquests.network.MoveQuestPayload
-
Returns a hash code value for this object.
- hashCode() - Method in record class fr.pacdu.pacpackquests.network.QuestCompletedPayload
-
Returns a hash code value for this object.
- hashCode() - Method in record class fr.pacdu.pacpackquests.network.QuestProgressPayload
-
Returns a hash code value for this object.
- hashCode() - Method in record class fr.pacdu.pacpackquests.network.QuestSyncPayload
-
Returns a hash code value for this object.
- hashCode() - Method in record class fr.pacdu.pacpackquests.network.ReorderCategoryPayload
-
Returns a hash code value for this object.
- hashCode() - Method in record class fr.pacdu.pacpackquests.network.RequestRegistryPayload
-
Returns a hash code value for this object.
- hashCode() - Method in record class fr.pacdu.pacpackquests.network.SaveQuestPayload
-
Returns a hash code value for this object.
- hashCode() - Method in record class fr.pacdu.pacpackquests.network.SyncRegistryPayload
-
Returns a hash code value for this object.
- hashCode() - Method in record class fr.pacdu.pacpackquests.QuestDefinition
-
Returns a hash code value for this object.
- hashCode() - Method in record class fr.pacdu.pacpackquests.QuestTask
-
Returns a hash code value for this object.
- hashCode() - Method in record class fr.pacdu.pacpackquests.reward.CommandReward
-
Returns a hash code value for this object.
- hashCode() - Method in record class fr.pacdu.pacpackquests.reward.ItemReward
-
Returns a hash code value for this object.
- hashCode() - Method in record class fr.pacdu.pacpackquests.reward.LevelReward
-
Returns a hash code value for this object.
- hashCode() - Method in record class fr.pacdu.pacpackquests.reward.XpReward
-
Returns a hash code value for this object.
I
- icon() - Method in interface fr.pacdu.pacpackquests.client.screen.AbstractQuestGridScreen.GridNode
- icon() - Method in record class fr.pacdu.pacpackquests.QuestDefinition
-
Returns the value of the
iconrecord component. - iconId() - Method in record class fr.pacdu.pacpackquests.network.QuestSyncPayload
-
Returns the value of the
iconIdrecord component. - iconId() - Method in record class fr.pacdu.pacpackquests.network.SaveQuestPayload
-
Returns the value of the
iconIdrecord component. - IconUtils - Class in fr.pacdu.pacpackquests.client.util
- IconUtils() - Constructor for class fr.pacdu.pacpackquests.client.util.IconUtils
- id() - Method in interface fr.pacdu.pacpackquests.client.screen.AbstractQuestGridScreen.GridNode
- id() - Method in record class fr.pacdu.pacpackquests.QuestDefinition
-
Returns the value of the
idrecord component. - incrementProgress(ServerPlayer, QuestDefinition, int) - Static method in class fr.pacdu.pacpackquests.data.QuestProgressHandler
-
Increments the current progress of a quest for a player by a given delta, checking parent dependencies.
- INetworkHelper - Interface in fr.pacdu.pacpackquests.platform.services
-
Service Provider Interface (SPI) abstracting network packet dispatching across mod loaders.
- init() - Method in class fr.pacdu.pacpackquests.client.screen.AbstractQuestGridScreen
- init() - Method in class fr.pacdu.pacpackquests.client.screen.EditCommandScreen
- init() - Method in class fr.pacdu.pacpackquests.client.screen.EditQuestScreen
- init() - Method in class fr.pacdu.pacpackquests.client.screen.ParentSelectionScreen
- init() - Method in class fr.pacdu.pacpackquests.client.screen.QuestScreen
- init() - Method in class fr.pacdu.pacpackquests.client.screen.SelectionScreen
- IPlatformHelper - Interface in fr.pacdu.pacpackquests.platform.services
-
Service Provider Interface (SPI) abstracting environment and mod-loader specific operations.
- isClaimed() - Method in record class fr.pacdu.pacpackquests.network.QuestProgressPayload
-
Returns the value of the
isClaimedrecord component. - isClaimed(UUID, String) - Method in class fr.pacdu.pacpackquests.data.QuestState
-
Checks if a player has already claimed the rewards for a quest.
- isDevelopmentEnvironment() - Method in class fr.pacdu.pacpackquests.platform.FabricPlatformHelper
- isDevelopmentEnvironment() - Method in interface fr.pacdu.pacpackquests.platform.services.IPlatformHelper
-
Checks if the game is running within a development environment.
- isFinished() - Method in record class fr.pacdu.pacpackquests.network.QuestProgressPayload
-
Returns the value of the
isFinishedrecord component. - isFinished(UUID, String) - Method in class fr.pacdu.pacpackquests.data.QuestState
-
Checks if a player has reached the required amount to finish a quest.
- isHovering(double, double, double, double, double, double) - Method in class fr.pacdu.pacpackquests.client.screen.AbstractQuestGridScreen
- isHoveringNode(int, int, double, double) - Method in class fr.pacdu.pacpackquests.client.screen.AbstractQuestGridScreen
- isLocked() - Method in interface fr.pacdu.pacpackquests.client.screen.AbstractQuestGridScreen.GridNode
- isModLoaded(String) - Method in class fr.pacdu.pacpackquests.platform.FabricPlatformHelper
- isModLoaded(String) - Method in interface fr.pacdu.pacpackquests.platform.services.IPlatformHelper
-
Checks if a mod with the given ID is present in the current environment.
- isPathContained(Path, Path) - Static method in class fr.pacdu.pacpackquests.util.PathSecurity
-
Checks if child path is strictly inside parent path (not equal, no traversal escaping).
- isPauseScreen() - Method in class fr.pacdu.pacpackquests.client.screen.QuestScreen
- isValid(String) - Static method in enum class fr.pacdu.pacpackquests.RewardType
- isValid(String) - Static method in enum class fr.pacdu.pacpackquests.TaskType
- isValidIdentifier(String) - Static method in class fr.pacdu.pacpackquests.util.PathSecurity
-
Checks if the given identifier is safe to be used in file and directory names.
- ITEM - Enum constant in enum class fr.pacdu.pacpackquests.RewardType
- ITEM - Enum constant in enum class fr.pacdu.pacpackquests.util.RegistryType
- ItemReward - Record Class in fr.pacdu.pacpackquests.reward
-
A quest reward that grants item stacks (direct items, items with NBT/components, or random items from a tag).
- ItemReward(String, int) - Constructor for record class fr.pacdu.pacpackquests.reward.ItemReward
-
Creates an instance of a
ItemRewardrecord class. - ItemUtils - Class in fr.pacdu.pacpackquests.util
-
Utility class for converting between ItemStacks and vanilla 1.21 item command syntax strings (with Data Components), as well as matching player ItemStacks against quest targets.
K
- keyPressed(int, int, int) - Method in class fr.pacdu.pacpackquests.client.screen.EditCommandScreen
- keyPressed(int, int, int) - Method in class fr.pacdu.pacpackquests.client.screen.EditQuestScreen
- keyPressed(int, int, int) - Method in class fr.pacdu.pacpackquests.client.screen.QuestScreen
- keyPressed(int, int, int) - Method in class fr.pacdu.pacpackquests.client.screen.SelectionScreen
- KILL_MOB - Enum constant in enum class fr.pacdu.pacpackquests.TaskType
L
- LEVEL - Enum constant in enum class fr.pacdu.pacpackquests.RewardType
- LevelReward - Record Class in fr.pacdu.pacpackquests.reward
-
A quest reward that grants experience levels directly to the player.
- LevelReward(int) - Constructor for record class fr.pacdu.pacpackquests.reward.LevelReward
-
Creates an instance of a
LevelRewardrecord class. - load() - Static method in class fr.pacdu.pacpackquests.client.config.ClientConfig
- load() - Static method in class fr.pacdu.pacpackquests.config.ModConfig
- load(Class<T>) - Static method in class fr.pacdu.pacpackquests.platform.Services
-
Loads the first available service implementation for the given service interface.
- load(CompoundTag, HolderLookup.Provider) - Static method in class fr.pacdu.pacpackquests.data.QuestState
- LOADED_QUESTS - Static variable in class fr.pacdu.pacpackquests.data.QuestManager
- loadQuests(HolderLookup.Provider) - Static method in class fr.pacdu.pacpackquests.data.QuestManager
- loadQuests(MinecraftServer) - Static method in class fr.pacdu.pacpackquests.data.QuestManager
- LOG - Static variable in class fr.pacdu.pacpackquests.Constants
-
Global SLF4J logger instance for the mod.
- LOOT_TABLE - Enum constant in enum class fr.pacdu.pacpackquests.util.RegistryType
M
- matches(ItemStack, String, HolderLookup.Provider) - Static method in class fr.pacdu.pacpackquests.util.ItemUtils
-
Checks if a player's ItemStack satisfies a quest target requirement.
- maxGridColumns - Static variable in class fr.pacdu.pacpackquests.config.ModConfig
- maxGridRows - Static variable in class fr.pacdu.pacpackquests.config.ModConfig
- MINE_BLOCK - Enum constant in enum class fr.pacdu.pacpackquests.TaskType
- MOB - Enum constant in enum class fr.pacdu.pacpackquests.util.RegistryType
- MOD_ID - Static variable in class fr.pacdu.pacpackquests.Constants
-
The unique mod identifier.
- MOD_NAME - Static variable in class fr.pacdu.pacpackquests.Constants
-
The user-facing mod name.
- ModConfig - Class in fr.pacdu.pacpackquests.config
- ModConfig() - Constructor for class fr.pacdu.pacpackquests.config.ModConfig
- mouseClicked(double, double, int) - Method in class fr.pacdu.pacpackquests.client.gui.ScrollbarWidget
- mouseClicked(double, double, int) - Method in class fr.pacdu.pacpackquests.client.screen.EditCommandScreen
- mouseClicked(double, double, int) - Method in class fr.pacdu.pacpackquests.client.screen.EditQuestScreen
- mouseClicked(double, double, int) - Method in class fr.pacdu.pacpackquests.client.screen.ParentSelectionScreen
- mouseClicked(double, double, int) - Method in class fr.pacdu.pacpackquests.client.screen.QuestScreen
- mouseClicked(double, double, int) - Method in class fr.pacdu.pacpackquests.client.screen.SelectionScreen
- mouseDragged(double, double, int, double, double) - Method in class fr.pacdu.pacpackquests.client.gui.ScrollbarWidget
- mouseDragged(double, double, int, double, double) - Method in class fr.pacdu.pacpackquests.client.screen.AbstractQuestGridScreen
- mouseDragged(double, double, int, double, double) - Method in class fr.pacdu.pacpackquests.client.screen.EditQuestScreen
- mouseDragged(double, double, int, double, double) - Method in class fr.pacdu.pacpackquests.client.screen.QuestScreen
- mouseDragged(double, double, int, double, double) - Method in class fr.pacdu.pacpackquests.client.screen.SelectionScreen
- mouseReleased(double, double, int) - Method in class fr.pacdu.pacpackquests.client.gui.ScrollbarWidget
- mouseReleased(double, double, int) - Method in class fr.pacdu.pacpackquests.client.screen.EditQuestScreen
- mouseReleased(double, double, int) - Method in class fr.pacdu.pacpackquests.client.screen.QuestScreen
- mouseReleased(double, double, int) - Method in class fr.pacdu.pacpackquests.client.screen.SelectionScreen
- mouseScrolled(double, double, double) - Method in class fr.pacdu.pacpackquests.client.gui.ScrollbarWidget
- mouseScrolled(double, double, double, double) - Method in class fr.pacdu.pacpackquests.client.gui.ScrollbarWidget
- mouseScrolled(double, double, double, double) - Method in class fr.pacdu.pacpackquests.client.screen.AbstractQuestGridScreen
- mouseScrolled(double, double, double, double) - Method in class fr.pacdu.pacpackquests.client.screen.EditCommandScreen
- mouseScrolled(double, double, double, double) - Method in class fr.pacdu.pacpackquests.client.screen.EditQuestScreen
- mouseScrolled(double, double, double, double) - Method in class fr.pacdu.pacpackquests.client.screen.QuestScreen
- mouseScrolled(double, double, double, double) - Method in class fr.pacdu.pacpackquests.client.screen.SelectionScreen
- MoveQuestPayload - Record Class in fr.pacdu.pacpackquests.network
- MoveQuestPayload(String, int, int) - Constructor for record class fr.pacdu.pacpackquests.network.MoveQuestPayload
-
Creates an instance of a
MoveQuestPayloadrecord class.
N
- NETWORK - Static variable in class fr.pacdu.pacpackquests.platform.Services
-
The network service instance providing client and server packet dispatchers.
- newX() - Method in record class fr.pacdu.pacpackquests.network.MoveQuestPayload
-
Returns the value of the
newXrecord component. - newY() - Method in record class fr.pacdu.pacpackquests.network.MoveQuestPayload
-
Returns the value of the
newYrecord component.
O
- OBTAIN_ITEM - Enum constant in enum class fr.pacdu.pacpackquests.TaskType
- of(TaskType, String, int) - Static method in record class fr.pacdu.pacpackquests.QuestTask
-
Creates a new
QuestTaskinstance. - onBlockBreak(ServerPlayer, BlockState) - Static method in class fr.pacdu.pacpackquests.data.QuestEventHandler
- onEntityKill(ServerPlayer, Entity) - Static method in class fr.pacdu.pacpackquests.data.QuestEventHandler
- onInitialize() - Method in class fr.pacdu.pacpackquests.PacPackQuests
- onInitializeClient() - Method in class fr.pacdu.pacpackquests.client.PacPackQuestsClient
- onServerTick(MinecraftServer) - Static method in class fr.pacdu.pacpackquests.data.QuestEventHandler
- onUseBlock(ServerPlayer, Level, BlockPos) - Static method in class fr.pacdu.pacpackquests.data.QuestEventHandler
- onUseEntity(ServerPlayer, Level, Entity) - Static method in class fr.pacdu.pacpackquests.data.QuestEventHandler
- OPEN_LOOT_CHEST - Enum constant in enum class fr.pacdu.pacpackquests.TaskType
- openQuestMenuKey - Static variable in class fr.pacdu.pacpackquests.client.ClientQuestData
P
- PacPackQuests - Class in fr.pacdu.pacpackquests
- PacPackQuests() - Constructor for class fr.pacdu.pacpackquests.PacPackQuests
- PacPackQuestsClient - Class in fr.pacdu.pacpackquests.client
- PacPackQuestsClient() - Constructor for class fr.pacdu.pacpackquests.client.PacPackQuestsClient
- PADDING - Static variable in class fr.pacdu.pacpackquests.client.screen.AbstractQuestGridScreen
- panX - Variable in class fr.pacdu.pacpackquests.client.screen.AbstractQuestGridScreen
- panX() - Method in record class fr.pacdu.pacpackquests.client.config.ClientConfig.CameraState
-
Returns the value of the
panXrecord component. - panY - Variable in class fr.pacdu.pacpackquests.client.screen.AbstractQuestGridScreen
- panY() - Method in record class fr.pacdu.pacpackquests.client.config.ClientConfig.CameraState
-
Returns the value of the
panYrecord component. - parents() - Method in interface fr.pacdu.pacpackquests.client.screen.AbstractQuestGridScreen.GridNode
- parents() - Method in record class fr.pacdu.pacpackquests.network.QuestSyncPayload
-
Returns the value of the
parentsrecord component. - parents() - Method in record class fr.pacdu.pacpackquests.network.SaveQuestPayload
-
Returns the value of the
parentsrecord component. - parents() - Method in record class fr.pacdu.pacpackquests.QuestDefinition
-
Returns the value of the
parentsrecord component. - ParentSelectionScreen - Class in fr.pacdu.pacpackquests.client.screen
- ParentSelectionScreen(EditQuestScreen, String, String, List<String>, String, int, int, String) - Constructor for class fr.pacdu.pacpackquests.client.screen.ParentSelectionScreen
- PathSecurity - Class in fr.pacdu.pacpackquests.util
-
Utility class providing path validation, canonicalization, and security checks against path traversal attacks and reserved filesystem names.
- PLATFORM - Static variable in class fr.pacdu.pacpackquests.platform.Services
-
The platform service instance providing environment and mod-loading utilities.
- primaryReward() - Method in record class fr.pacdu.pacpackquests.QuestDefinition
-
Returns the first reward of the quest, or a default fallback reward if none exist.
- primaryTask() - Method in record class fr.pacdu.pacpackquests.QuestDefinition
-
Returns the first task of the quest, or a default fallback task if none exist.
- progress - Variable in class fr.pacdu.pacpackquests.data.QuestState
-
Player UUID -> (Quest ID -> Progress count)
- progress() - Method in record class fr.pacdu.pacpackquests.network.QuestProgressPayload
-
Returns the value of the
progressrecord component. - properties() - Method in record class fr.pacdu.pacpackquests.network.QuestSyncPayload
-
Returns the value of the
propertiesrecord component. - properties() - Method in record class fr.pacdu.pacpackquests.network.SaveQuestPayload
-
Returns the value of the
propertiesrecord component. - properties() - Method in record class fr.pacdu.pacpackquests.QuestDefinition
-
Returns the value of the
propertiesrecord component.
Q
- QUEST_CATEGORY_KEY - Static variable in class fr.pacdu.pacpackquests.client.PacPackQuestsClient
- QuestCompletedPayload - Record Class in fr.pacdu.pacpackquests.network
- QuestCompletedPayload(String) - Constructor for record class fr.pacdu.pacpackquests.network.QuestCompletedPayload
-
Creates an instance of a
QuestCompletedPayloadrecord class. - QuestCompletedToast - Class in fr.pacdu.pacpackquests.client
- QuestCompletedToast(QuestDefinition) - Constructor for class fr.pacdu.pacpackquests.client.QuestCompletedToast
- QuestDefinition - Record Class in fr.pacdu.pacpackquests
-
Represents the immutable static configuration and metadata of a quest.
- QuestDefinition(String, String, String, ItemStack, int, int, List<String>, Map<String, String>, List<QuestTask>, List<QuestReward>) - Constructor for record class fr.pacdu.pacpackquests.QuestDefinition
-
Creates an instance of a
QuestDefinitionrecord class. - QuestEventHandler - Class in fr.pacdu.pacpackquests.data
- questId() - Method in record class fr.pacdu.pacpackquests.network.ClaimQuestPayload
-
Returns the value of the
questIdrecord component. - questId() - Method in record class fr.pacdu.pacpackquests.network.DeleteQuestPayload
-
Returns the value of the
questIdrecord component. - questId() - Method in record class fr.pacdu.pacpackquests.network.MoveQuestPayload
-
Returns the value of the
questIdrecord component. - questId() - Method in record class fr.pacdu.pacpackquests.network.QuestCompletedPayload
-
Returns the value of the
questIdrecord component. - questId() - Method in record class fr.pacdu.pacpackquests.network.QuestProgressPayload
-
Returns the value of the
questIdrecord component. - questId() - Method in record class fr.pacdu.pacpackquests.network.QuestSyncPayload
-
Returns the value of the
questIdrecord component. - questId() - Method in record class fr.pacdu.pacpackquests.network.SaveQuestPayload
-
Returns the value of the
questIdrecord component. - QuestManager - Class in fr.pacdu.pacpackquests.data
-
Handles the loading and management of quest definitions from JSON files on the server.
- QuestManager() - Constructor for class fr.pacdu.pacpackquests.data.QuestManager
- QuestProgressHandler - Class in fr.pacdu.pacpackquests.data
-
Handles server-side progression updates, prerequisite dependency validation, and client packet synchronization.
- QuestProgressPayload - Record Class in fr.pacdu.pacpackquests.network
- QuestProgressPayload(String, int, boolean, boolean) - Constructor for record class fr.pacdu.pacpackquests.network.QuestProgressPayload
-
Creates an instance of a
QuestProgressPayloadrecord class. - QuestReward - Interface in fr.pacdu.pacpackquests.reward
-
Common sealed interface representing a reward granted to a player upon claiming a completed quest.
- QuestScreen - Class in fr.pacdu.pacpackquests.client.screen
- QuestScreen() - Constructor for class fr.pacdu.pacpackquests.client.screen.QuestScreen
- QuestState - Class in fr.pacdu.pacpackquests.data
-
Represents the persistent save data for all players' quest progress, claims, and structure discoveries.
- QuestState() - Constructor for class fr.pacdu.pacpackquests.data.QuestState
- QuestSyncPayload - Record Class in fr.pacdu.pacpackquests.network
- QuestSyncPayload(QuestDefinition, HolderLookup.Provider) - Constructor for record class fr.pacdu.pacpackquests.network.QuestSyncPayload
- QuestSyncPayload(String, String, String, String, int, int, List<String>, Map<String, String>, List<QuestTask>, List<QuestReward>) - Constructor for record class fr.pacdu.pacpackquests.network.QuestSyncPayload
-
Creates an instance of a
QuestSyncPayloadrecord class. - QuestTask - Record Class in fr.pacdu.pacpackquests
-
Represents an individual task or objective within a quest (e.g.
- QuestTask(TaskType, String, int) - Constructor for record class fr.pacdu.pacpackquests.QuestTask
-
Creates an instance of a
QuestTaskrecord class.
R
- read(FriendlyByteBuf) - Static method in record class fr.pacdu.pacpackquests.QuestTask
-
Deserializes a
QuestTaskfrom aFriendlyByteBuf. - read(FriendlyByteBuf) - Static method in record class fr.pacdu.pacpackquests.reward.CommandReward
-
Reads a
CommandRewardfrom the network buffer. - read(FriendlyByteBuf) - Static method in record class fr.pacdu.pacpackquests.reward.ItemReward
-
Reads an
ItemRewardfrom the network buffer. - read(FriendlyByteBuf) - Static method in record class fr.pacdu.pacpackquests.reward.LevelReward
-
Reads a
LevelRewardfrom the network buffer. - read(FriendlyByteBuf) - Static method in interface fr.pacdu.pacpackquests.reward.QuestReward
-
Deserializes a polymorphic
QuestRewardfrom a network buffer. - read(FriendlyByteBuf) - Static method in record class fr.pacdu.pacpackquests.reward.XpReward
-
Reads an
XpRewardfrom the network buffer. - refreshEntries(List<String>) - Method in class fr.pacdu.pacpackquests.client.screen.SelectionScreen
- refreshUI() - Method in class fr.pacdu.pacpackquests.client.screen.QuestScreen
- register() - Static method in class fr.pacdu.pacpackquests.client.ClientNetworkHandler
- register() - Static method in class fr.pacdu.pacpackquests.event.FabricQuestEventHandler
- registryType() - Method in record class fr.pacdu.pacpackquests.network.RequestRegistryPayload
-
Returns the value of the
registryTyperecord component. - registryType() - Method in record class fr.pacdu.pacpackquests.network.SyncRegistryPayload
-
Returns the value of the
registryTyperecord component. - RegistryType - Enum Class in fr.pacdu.pacpackquests.util
-
Defines the taskType of game element we are looking for in the registries.
- removeCategory(String) - Method in class fr.pacdu.pacpackquests.client.screen.QuestScreen
- removed() - Method in class fr.pacdu.pacpackquests.client.screen.QuestScreen
- renameCategory(String, String) - Method in class fr.pacdu.pacpackquests.client.screen.QuestScreen
- render(GuiGraphics, int, int, float) - Method in class fr.pacdu.pacpackquests.client.screen.EditCommandScreen
- render(GuiGraphics, int, int, float) - Method in class fr.pacdu.pacpackquests.client.screen.ParentSelectionScreen
- render(GuiGraphics, ToastComponent, long) - Method in class fr.pacdu.pacpackquests.client.QuestCompletedToast
- render(GuiGraphics, int, int) - Method in class fr.pacdu.pacpackquests.client.gui.ScrollbarWidget
- render(GuiGraphics, int, int, float) - Method in class fr.pacdu.pacpackquests.client.screen.EditQuestScreen
- render(GuiGraphics, int, int, float) - Method in class fr.pacdu.pacpackquests.client.screen.QuestScreen
- render(GuiGraphics, int, int, float) - Method in class fr.pacdu.pacpackquests.client.screen.SelectionScreen
- renderNodeBase(GuiGraphics, AbstractQuestGridScreen.GridNode, int) - Method in class fr.pacdu.pacpackquests.client.screen.AbstractQuestGridScreen
- ReorderCategoryPayload - Record Class in fr.pacdu.pacpackquests.network
- ReorderCategoryPayload(List<String>) - Constructor for record class fr.pacdu.pacpackquests.network.ReorderCategoryPayload
-
Creates an instance of a
ReorderCategoryPayloadrecord class. - RequestRegistryPayload - Record Class in fr.pacdu.pacpackquests.network
- RequestRegistryPayload(RegistryType) - Constructor for record class fr.pacdu.pacpackquests.network.RequestRegistryPayload
-
Creates an instance of a
RequestRegistryPayloadrecord class. - requiredAmount() - Method in record class fr.pacdu.pacpackquests.QuestDefinition
-
Returns the required amount to fulfill the primary task.
- requiredAmount() - Method in record class fr.pacdu.pacpackquests.QuestTask
-
Returns the value of the
requiredAmountrecord component. - resetCamera() - Method in class fr.pacdu.pacpackquests.client.screen.AbstractQuestGridScreen
-
Resets zoom to 1.0f and adaptively positions the camera: - Horizontal: Centers if content fits; otherwise aligns leftmost quest to the left border with padding.
- resetScroll() - Method in class fr.pacdu.pacpackquests.client.gui.ScrollbarWidget
- resolveModNamespace(ItemStack, String) - Static method in class fr.pacdu.pacpackquests.util.ItemUtils
- reward() - Method in record class fr.pacdu.pacpackquests.QuestDefinition
-
Returns the target identifier of the primary reward (item ID or command string).
- rewardAmount() - Method in record class fr.pacdu.pacpackquests.QuestDefinition
-
Returns the numerical amount of the primary reward.
- rewardDescription() - Method in record class fr.pacdu.pacpackquests.QuestDefinition
-
Returns the human-readable description of the primary reward if applicable.
- rewards() - Method in record class fr.pacdu.pacpackquests.network.QuestSyncPayload
-
Returns the value of the
rewardsrecord component. - rewards() - Method in record class fr.pacdu.pacpackquests.network.SaveQuestPayload
-
Returns the value of the
rewardsrecord component. - rewards() - Method in record class fr.pacdu.pacpackquests.QuestDefinition
-
Returns the value of the
rewardsrecord component. - rewardType() - Method in record class fr.pacdu.pacpackquests.QuestDefinition
-
Returns the reward type of the primary reward.
- RewardType - Enum Class in fr.pacdu.pacpackquests
-
Defines the taskType of reward a player receives upon completing a quest.
S
- save() - Static method in class fr.pacdu.pacpackquests.client.config.ClientConfig
- save() - Static method in class fr.pacdu.pacpackquests.config.ModConfig
- save(CompoundTag, HolderLookup.Provider) - Method in class fr.pacdu.pacpackquests.data.QuestState
- saveQuest(QuestDefinition, HolderLookup.Provider) - Static method in class fr.pacdu.pacpackquests.data.QuestManager
- SaveQuestPayload - Record Class in fr.pacdu.pacpackquests.network
- SaveQuestPayload(QuestDefinition, HolderLookup.Provider) - Constructor for record class fr.pacdu.pacpackquests.network.SaveQuestPayload
- SaveQuestPayload(String, String, String, String, int, int, List<String>, Map<String, String>, List<QuestTask>, List<QuestReward>) - Constructor for record class fr.pacdu.pacpackquests.network.SaveQuestPayload
-
Creates an instance of a
SaveQuestPayloadrecord class. - ScrollbarWidget - Class in fr.pacdu.pacpackquests.client.gui
- ScrollbarWidget(int, int, int, int, double, boolean) - Constructor for class fr.pacdu.pacpackquests.client.gui.ScrollbarWidget
- SelectionScreen - Class in fr.pacdu.pacpackquests.client.screen
-
Screen for selecting elements across various Minecraft registries (items, blocks, entities, biomes, etc.).
- SelectionScreen(Screen, RegistryType, Consumer<String>, String) - Constructor for class fr.pacdu.pacpackquests.client.screen.SelectionScreen
- SelectionScreen(Screen, RegistryType, Consumer<String>, String, boolean) - Constructor for class fr.pacdu.pacpackquests.client.screen.SelectionScreen
- SelectionScreen(Screen, RegistryType, Consumer<String>, String, boolean, boolean) - Constructor for class fr.pacdu.pacpackquests.client.screen.SelectionScreen
- sendToAll(MinecraftServer, CustomPacketPayload) - Method in interface fr.pacdu.pacpackquests.platform.services.INetworkHelper
-
Broadcasts a custom packet payload from the server to all connected players.
- sendToPlayer(ServerPlayer, CustomPacketPayload) - Method in class fr.pacdu.pacpackquests.platform.FabricNetworkHelper
- sendToPlayer(ServerPlayer, CustomPacketPayload) - Method in interface fr.pacdu.pacpackquests.platform.services.INetworkHelper
-
Sends a custom packet payload from the server to a specific connected player.
- sendToServer(CustomPacketPayload) - Method in class fr.pacdu.pacpackquests.platform.FabricNetworkHelper
- sendToServer(CustomPacketPayload) - Method in interface fr.pacdu.pacpackquests.platform.services.INetworkHelper
-
Sends a custom packet payload from the client to the server.
- SERVER_LOOT_TABLES - Static variable in class fr.pacdu.pacpackquests.client.ClientQuestData
- SERVER_STRUCTURES - Static variable in class fr.pacdu.pacpackquests.client.ClientQuestData
- ServerNetworkHandler - Class in fr.pacdu.pacpackquests.network
- Services - Class in fr.pacdu.pacpackquests.platform
-
Service locator using the Java
ServiceLoaderAPI to dynamically bind loader-specific implementations (Fabric, NeoForge) at runtime without creating compile-time coupling in the common module. - setBounds(int, int, int, int) - Method in class fr.pacdu.pacpackquests.client.gui.ScrollbarWidget
- setClaimed(UUID, String) - Method in class fr.pacdu.pacpackquests.data.QuestState
-
Marks a quest as claimed for a player.
- setClaimed(UUID, String, boolean) - Method in class fr.pacdu.pacpackquests.data.QuestState
-
Updates the claimed status of a quest for a player.
- setFocused(GuiEventListener) - Method in class fr.pacdu.pacpackquests.client.screen.EditCommandScreen
- setMaxScroll(double, double) - Method in class fr.pacdu.pacpackquests.client.gui.ScrollbarWidget
- setProgress(ServerPlayer, QuestDefinition, int) - Static method in class fr.pacdu.pacpackquests.data.QuestProgressHandler
-
Sets the absolute progress value of a quest for a player, clamping to max required amount.
- setProgress(ServerPlayer, String, int) - Method in class fr.pacdu.pacpackquests.data.QuestState
-
Updates the progress of a quest for a player and triggers completion toast if newly completed.
- setScrollAmount(double) - Method in class fr.pacdu.pacpackquests.client.gui.ScrollbarWidget
- startX - Variable in class fr.pacdu.pacpackquests.client.screen.AbstractQuestGridScreen
- startY - Variable in class fr.pacdu.pacpackquests.client.screen.AbstractQuestGridScreen
- STRUCTURE - Enum constant in enum class fr.pacdu.pacpackquests.util.RegistryType
- SyncRegistryPayload - Record Class in fr.pacdu.pacpackquests.network
- SyncRegistryPayload(RegistryType, List<String>) - Constructor for record class fr.pacdu.pacpackquests.network.SyncRegistryPayload
-
Creates an instance of a
SyncRegistryPayloadrecord class. - syncToPlayer(ServerPlayer) - Static method in class fr.pacdu.pacpackquests.network.ServerNetworkHandler
T
- tabHeight - Variable in class fr.pacdu.pacpackquests.client.screen.AbstractQuestGridScreen
- tabWidth - Variable in class fr.pacdu.pacpackquests.client.screen.AbstractQuestGridScreen
- TagUtils - Class in fr.pacdu.pacpackquests.util
- TagUtils() - Constructor for class fr.pacdu.pacpackquests.util.TagUtils
- target() - Method in record class fr.pacdu.pacpackquests.QuestDefinition
-
Returns the target string (e.g.
- target() - Method in record class fr.pacdu.pacpackquests.QuestTask
-
Returns the value of the
targetrecord component. - target() - Method in record class fr.pacdu.pacpackquests.reward.ItemReward
-
Returns the value of the
targetrecord component. - tasks() - Method in record class fr.pacdu.pacpackquests.network.QuestSyncPayload
-
Returns the value of the
tasksrecord component. - tasks() - Method in record class fr.pacdu.pacpackquests.network.SaveQuestPayload
-
Returns the value of the
tasksrecord component. - tasks() - Method in record class fr.pacdu.pacpackquests.QuestDefinition
-
Returns the value of the
tasksrecord component. - taskType() - Method in record class fr.pacdu.pacpackquests.QuestDefinition
-
Returns the task type of the primary task.
- TaskType - Enum Class in fr.pacdu.pacpackquests
-
Defines the different types of tasks a player can complete in a quest.
- title() - Method in interface fr.pacdu.pacpackquests.client.screen.AbstractQuestGridScreen.GridNode
- title() - Method in record class fr.pacdu.pacpackquests.network.QuestSyncPayload
-
Returns the value of the
titlerecord component. - title() - Method in record class fr.pacdu.pacpackquests.network.SaveQuestPayload
-
Returns the value of the
titlerecord component. - title() - Method in record class fr.pacdu.pacpackquests.QuestDefinition
-
Returns the value of the
titlerecord component. - toCommandString(ItemStack) - Static method in class fr.pacdu.pacpackquests.util.ItemUtils
- toCommandString(ItemStack, HolderLookup.Provider) - Static method in class fr.pacdu.pacpackquests.util.ItemUtils
-
Converts an ItemStack to standard vanilla 1.21 item command syntax.
- toDefinition(HolderLookup.Provider) - Method in record class fr.pacdu.pacpackquests.network.QuestSyncPayload
- toDefinition(HolderLookup.Provider) - Method in record class fr.pacdu.pacpackquests.network.SaveQuestPayload
- toggleEditModeKey - Static variable in class fr.pacdu.pacpackquests.client.ClientQuestData
- toString() - Method in record class fr.pacdu.pacpackquests.client.config.ClientConfig.CameraState
-
Returns a string representation of this record class.
- toString() - Method in record class fr.pacdu.pacpackquests.network.ClaimQuestPayload
-
Returns a string representation of this record class.
- toString() - Method in record class fr.pacdu.pacpackquests.network.CreateCategoryPayload
-
Returns a string representation of this record class.
- toString() - Method in record class fr.pacdu.pacpackquests.network.DeleteCategoryPayload
-
Returns a string representation of this record class.
- toString() - Method in record class fr.pacdu.pacpackquests.network.DeleteQuestPayload
-
Returns a string representation of this record class.
- toString() - Method in record class fr.pacdu.pacpackquests.network.EditCategoryPayload
-
Returns a string representation of this record class.
- toString() - Method in record class fr.pacdu.pacpackquests.network.MoveQuestPayload
-
Returns a string representation of this record class.
- toString() - Method in record class fr.pacdu.pacpackquests.network.QuestCompletedPayload
-
Returns a string representation of this record class.
- toString() - Method in record class fr.pacdu.pacpackquests.network.QuestProgressPayload
-
Returns a string representation of this record class.
- toString() - Method in record class fr.pacdu.pacpackquests.network.QuestSyncPayload
-
Returns a string representation of this record class.
- toString() - Method in record class fr.pacdu.pacpackquests.network.ReorderCategoryPayload
-
Returns a string representation of this record class.
- toString() - Method in record class fr.pacdu.pacpackquests.network.RequestRegistryPayload
-
Returns a string representation of this record class.
- toString() - Method in record class fr.pacdu.pacpackquests.network.SaveQuestPayload
-
Returns a string representation of this record class.
- toString() - Method in record class fr.pacdu.pacpackquests.network.SyncRegistryPayload
-
Returns a string representation of this record class.
- toString() - Method in record class fr.pacdu.pacpackquests.QuestDefinition
-
Returns a string representation of this record class.
- toString() - Method in record class fr.pacdu.pacpackquests.QuestTask
-
Returns a string representation of this record class.
- toString() - Method in record class fr.pacdu.pacpackquests.reward.CommandReward
-
Returns a string representation of this record class.
- toString() - Method in record class fr.pacdu.pacpackquests.reward.ItemReward
-
Returns a string representation of this record class.
- toString() - Method in record class fr.pacdu.pacpackquests.reward.LevelReward
-
Returns a string representation of this record class.
- toString() - Method in record class fr.pacdu.pacpackquests.reward.XpReward
-
Returns a string representation of this record class.
- TranslationUtils - Class in fr.pacdu.pacpackquests.client.util
- type() - Method in record class fr.pacdu.pacpackquests.network.ClaimQuestPayload
- type() - Method in record class fr.pacdu.pacpackquests.network.CreateCategoryPayload
- type() - Method in record class fr.pacdu.pacpackquests.network.DeleteCategoryPayload
- type() - Method in record class fr.pacdu.pacpackquests.network.DeleteQuestPayload
- type() - Method in record class fr.pacdu.pacpackquests.network.EditCategoryPayload
- type() - Method in record class fr.pacdu.pacpackquests.network.MoveQuestPayload
- type() - Method in record class fr.pacdu.pacpackquests.network.QuestCompletedPayload
- type() - Method in record class fr.pacdu.pacpackquests.network.QuestProgressPayload
- type() - Method in record class fr.pacdu.pacpackquests.network.QuestSyncPayload
- type() - Method in record class fr.pacdu.pacpackquests.network.ReorderCategoryPayload
- type() - Method in record class fr.pacdu.pacpackquests.network.RequestRegistryPayload
- type() - Method in record class fr.pacdu.pacpackquests.network.SaveQuestPayload
- type() - Method in record class fr.pacdu.pacpackquests.network.SyncRegistryPayload
- type() - Method in record class fr.pacdu.pacpackquests.QuestTask
-
Returns the value of the
typerecord component. - type() - Method in record class fr.pacdu.pacpackquests.reward.CommandReward
- type() - Method in record class fr.pacdu.pacpackquests.reward.ItemReward
- type() - Method in record class fr.pacdu.pacpackquests.reward.LevelReward
- type() - Method in interface fr.pacdu.pacpackquests.reward.QuestReward
-
Returns the category type of this reward.
- type() - Method in record class fr.pacdu.pacpackquests.reward.XpReward
- TYPE - Static variable in record class fr.pacdu.pacpackquests.network.ClaimQuestPayload
- TYPE - Static variable in record class fr.pacdu.pacpackquests.network.CreateCategoryPayload
- TYPE - Static variable in record class fr.pacdu.pacpackquests.network.DeleteCategoryPayload
- TYPE - Static variable in record class fr.pacdu.pacpackquests.network.DeleteQuestPayload
- TYPE - Static variable in record class fr.pacdu.pacpackquests.network.EditCategoryPayload
- TYPE - Static variable in record class fr.pacdu.pacpackquests.network.MoveQuestPayload
- TYPE - Static variable in record class fr.pacdu.pacpackquests.network.QuestCompletedPayload
- TYPE - Static variable in record class fr.pacdu.pacpackquests.network.QuestProgressPayload
- TYPE - Static variable in record class fr.pacdu.pacpackquests.network.QuestSyncPayload
- TYPE - Static variable in record class fr.pacdu.pacpackquests.network.ReorderCategoryPayload
- TYPE - Static variable in record class fr.pacdu.pacpackquests.network.RequestRegistryPayload
- TYPE - Static variable in record class fr.pacdu.pacpackquests.network.SaveQuestPayload
- TYPE - Static variable in record class fr.pacdu.pacpackquests.network.SyncRegistryPayload
U
- updateClaimButtonState() - Method in class fr.pacdu.pacpackquests.client.screen.QuestScreen
- updateParents(List<String>) - Method in class fr.pacdu.pacpackquests.client.screen.EditQuestScreen
V
- valueOf(String) - Static method in enum class fr.pacdu.pacpackquests.RewardType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class fr.pacdu.pacpackquests.TaskType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class fr.pacdu.pacpackquests.util.RegistryType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class fr.pacdu.pacpackquests.RewardType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class fr.pacdu.pacpackquests.TaskType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class fr.pacdu.pacpackquests.util.RegistryType
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- windowHeight - Variable in class fr.pacdu.pacpackquests.client.screen.AbstractQuestGridScreen
- windowWidth - Variable in class fr.pacdu.pacpackquests.client.screen.AbstractQuestGridScreen
- withCategory(String) - Method in record class fr.pacdu.pacpackquests.QuestDefinition
-
Creates a copy of this quest moved into a different category.
- withIdAndTitle(String, String) - Method in record class fr.pacdu.pacpackquests.QuestDefinition
-
Creates a copy of this quest with a new ID and title.
- withPosition(int, int) - Method in record class fr.pacdu.pacpackquests.QuestDefinition
-
Creates a copy of this quest with updated canvas coordinates.
- write(FriendlyByteBuf) - Method in record class fr.pacdu.pacpackquests.QuestTask
-
Serializes this task into a
FriendlyByteBuf. - write(FriendlyByteBuf) - Method in record class fr.pacdu.pacpackquests.reward.CommandReward
- write(FriendlyByteBuf) - Method in record class fr.pacdu.pacpackquests.reward.ItemReward
- write(FriendlyByteBuf) - Method in record class fr.pacdu.pacpackquests.reward.LevelReward
- write(FriendlyByteBuf) - Method in interface fr.pacdu.pacpackquests.reward.QuestReward
-
Serializes this reward into a network buffer.
- write(FriendlyByteBuf) - Method in record class fr.pacdu.pacpackquests.reward.XpReward
X
- x() - Method in interface fr.pacdu.pacpackquests.client.screen.AbstractQuestGridScreen.GridNode
- XP - Enum constant in enum class fr.pacdu.pacpackquests.RewardType
- XpReward - Record Class in fr.pacdu.pacpackquests.reward
-
A quest reward that grants flat experience points directly to the player.
- XpReward(int) - Constructor for record class fr.pacdu.pacpackquests.reward.XpReward
-
Creates an instance of a
XpRewardrecord class.
Y
- y() - Method in interface fr.pacdu.pacpackquests.client.screen.AbstractQuestGridScreen.GridNode
Z
- zoom - Variable in class fr.pacdu.pacpackquests.client.screen.AbstractQuestGridScreen
- zoom() - Method in record class fr.pacdu.pacpackquests.client.config.ClientConfig.CameraState
-
Returns the value of the
zoomrecord component.
All Classes and Interfaces|All Packages|Constant Field Values