Uses of Class
net.citizensnpcs.api.trait.TraitInfo
-
Uses of TraitInfo in net.citizensnpcs.api.trait
Modifier and TypeMethodDescriptionTraitInfo.asDefaultTrait()
static TraitInfo
Constructs a factory with the given trait class.TraitInfo.optInToStats()
TraitInfo.withSupplier
(Supplier<? extends Trait> supplier) Modifier and TypeMethodDescriptionTraitFactory.getRegisteredTraits()
Returns all currently registered traits, including internal traitsModifier and TypeMethodDescriptionvoid
TraitFactory.deregisterTrait
(TraitInfo info) Removes a trait.void
TraitFactory.registerTrait
(TraitInfo info) Registers a trait using the given information. -
Uses of TraitInfo in net.citizensnpcs.npc
Modifier and TypeMethodDescriptionvoid
CitizensTraitFactory.deregisterTrait
(TraitInfo info) void
CitizensTraitFactory.registerTrait
(TraitInfo info)