Skip to content

PDC

PDC means Bukkit PersistentDataContainer. CoreLib uses it to store structured module state on items and other objects.

Why PDC matters

Lore is display text, not reliable data. PDC is more suitable for real state such as item IDs, strengthening stars, forge quality, gem sockets, set pieces, skill IDs, and attribute payloads.

Namespace rule

Each module should write its own namespace or source and avoid overwriting other module data. For example, Gem should not clear Strengthen data, and Strengthen should not clear Forge data.

Advice

Do not manually edit PDC in production. Use module commands or APIs to inspect, clear, or refresh state.