Skip to content

Developer API

So1o98 edited this page Aug 23, 2026 · 14 revisions

Player Journal features an API which developers can use to interact with the mod. The following calls are included

hasUnlockedPage : Checks if a player has unlocked a specific class getTornPagesBalance : Checks page balance getItemUsageRestrictions : Checks if a specific item is restricted canPlayerUseItem : Checks config and data packs to see if a player can use an item grantCustomXp : Allows custom Xp grants getPlayerLevel : Retrieves a players level for a specific skill

Clone this wiki locally