The hatch prompt, care sheet and Pet House list built species names from
pet type IDs, so players saw "Catblack", "Mainecoon" or "Bernesse".
Pet types now take an optional display-name (own entry only, never
inherited from species). Without it, the TFMC IDs that run words together
get built-in names (Black Cat, Maine Coon, Bernese Mountain Dog, ...) and
other IDs become Title Case. The names are no longer lowercased, so proper
names keep their capitals. IDs and saved data are unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Status record
mvn -o verifywith the Windows-only directory fsync stubbed locally: 1062 tests, the only failure is the test of that stubbed path; every changed class has 100% line coverage; see Notes)What changed
Players saw species names built from internal pet type IDs: "Catblack", "Mainecoon", "Bernesse" in the hatch prompt ("Will your new mainecoon be a boy or a girl?"), on the care sheet's Species item and in the Pet House list ("Female catblack").
pets.<id>.display-namesets the species name players see. It is read only from the pet's own entry and is never inherited fromspecies.<id>, so one breed's name can't spread to every dog or cat.cavalier_king_charles_spaniel→ Cavalier King Charles Spaniel,snow_fox→ Snow Fox).Pet type IDs, saved pets and items are not changed. The live config needs no edit. The commented
fox_examplein the default config documents the new key.Why
Fix 1 of the 2026-11-21 player-text review. The live Main config has 22 pet types, and 13 of them had broken names.
How to test on Dev
/companionpets egg catblackand/companionpets egg mainecoon, then hatch one: the chat prompt names "Black Cat" or "Maine Coon", capitalised.display-name: Shadow Catunderpets.catblack, run/companionpets reload, and check that the care sheet shows "Shadow Cat".Notes
PetStore.close()fails on directory fsync (AccessDenied), also on unmodified origin/main (checked withPetTextsTest#aConfiguredTypeMadeOnlyOfSeparatorsCanHatchAndOpenItsPetProfile). With those fsyncs stubbed out locally, the whole suite passed (the one failure was the test of the stubbed path itself). The stub is not committed. Linux CI is authoritative.plugins/MMOItems/item/pets.yml,MEAT_TREATandFISH_TREATbase.lore), not in this plugin.🤖 Generated with Claude Code