Package dev.itsharshxd.zentrix.api.cosmetics
package dev.itsharshxd.zentrix.api.cosmetics
-
ClassDescriptionOne cosmetic as menus show it, of a built-in category or an addon's type.Where a player's own action on a cosmetic came from.A kind of cosmetic players own and choose from.A player's cosmetics of one category before and after a change, as stored.One cosmetic of an addon's type, as its
handlerlists it.Builds aCosmeticDefinition.What an addon implements for a cosmetic type it registers withCosmeticsService.registerType(org.bukkit.plugin.Plugin, dev.itsharshxd.zentrix.api.cosmetics.CosmeticTypeDefinition, dev.itsharshxd.zentrix.api.cosmetics.CosmeticHandler): the cosmetics there are, and what they do.A moment of a match at which Zentrix triggers an addon's cosmetic type, throughCosmeticHandler.onTrigger(dev.itsharshxd.zentrix.api.cosmetics.CosmeticTrigger).What one player owns and chose in one cosmetic category.Where a cosmetic preview shows, and how, as passed toCosmeticHandler.startPreview(org.bukkit.entity.Player, CosmeticDefinition, CosmeticPreview, Runnable).What became of a player's own action on a cosmetic: equipping, unequipping or buying it.What happened.The cosmetics each player owns, per category, and the one they chose in each.Where one online player stands with one cosmetic, as last read.A player's equipped cosmetic of an addon's type, triggered at a moment of a match.A kind of cosmetic as the cosmetics menu shows it: one of Zentrix's own categories or one an addon registered.How an addon's cosmetic type shows in/cosmeticsand when it triggers.Builds aCosmeticTypeDefinition.Names a cosmetic type: one of Zentrix's owncategories, under thezentrixnamespace, or one an addon registered, under the addon's namespace.