Translations:Implementation and Events/118/en

From DragonMineZ Wiki
Revision as of 05:26, 13 October 2026 by FuzzyBot (talk | contribs) (Importing a new version from external source)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

StatsProvider.get(cap, entity) is a shortcut for player.getCapability(StatsCapability.INSTANCE); both return a LazyOptional<StatsData>. DMZ's getters are generated by Lombok at compile time, so you don't need Lombok in your add-on to call them.