pmmo_skill_books-1.20.1-3.0.0.jar
Curse Maven Snippet
What's new
Changelog
3.0.0 (1.20.1 Forge)
Existing books and insignias keep working: the NBT format is unchanged, and the named colors are matched to the old art. Clients and servers must both update, since the network protocol changed.
Added
- Any color.
colornow also takes a hex value like"#c77dff", on every book and insignia at every rank. Textures are a shared base plus a tinted overlay, so there are no more missing color/rank combinations. - Datapack loot. New global loot modifier
pmmo_skill_books:add_skill_grantadds a book to any existing loot table (chests, mob drops, blocks) without replacing it. Itsskill_grantfield takes the book's NBT as plain JSON and is checked when the datapack loads. See README.txt for examples, including crafting recipes and loot tables. - Scrolling skill picker. Books can offer any number of skills. With more than 4, the picker gets a draggable scrollbar and shows the top of the next card, so it's clear the list scrolls.
- Level books in the creative tab have their own names (e.g. "Mining Level Book") instead of sharing the XP books' names.
- PMMO is now declared as a required dependency, so a missing PMMO gives a clear error at startup.
Changed
- Redrawn book and insignia textures.
- Book tooltips with more than 4 skills list the first 3 and count the rest ("[Mining, Combat, Magic, or 9 more]").
- Skill names in messages and tooltips now show in each player's own language instead of the server's.
Fixed
- Using a book on a skill already at max level consumed it for nothing. It's now refused and kept.
- Level and set books that would go past a skill's max level could throw an error. They're now capped at the max.
- A set book used at the skill's current level erased the progress toward the next level. It's now refused and kept.
- Books were consumed even when PMMO granted nothing (for example when another mod cancelled the XP). They're now kept.
- On multi-skill books, the skill pick could be sent without finishing the read, skipping the read time. The server now checks the read finished, that the book is still in hand, and that the skill is on it.
- The reading animation now starts immediately, and using a book (even one that's refused) no longer also uses the item in the other hand.
- On computers set to Turkish, insignias and the ranks and colors with an "i" in their name (iron, diamond, white, pink, the light_ colors) showed the wrong texture, because uppercasing turned "i" into "İ".
- A button in the skill picker could stay pressed after a mouse release outside the window and trigger later.
For mod developers (breaking)
SkillGrantEvent:getApplicationType()now returns theApplicationTypeenum instead of aString, andgetApplicationValue()returnslonginstead ofLong. The value is the amount actually granted, after capping at max level. Constructors changed to match.SkillGrantEvent.Preis cancelable through@Cancelable; cancelling it keeps the book and the player's XP levels.- The internal
utilspackage andSkillGrantUtilwere removed; book data is read throughdata.SkillGrantData.
This mod has no additional files