Package io.github.djtpj.trait
Class CompoundTrait
java.lang.Object
io.github.djtpj.trait.Trait
io.github.djtpj.trait.CompoundTrait
- All Implemented Interfaces:
org.bukkit.event.Listener
- Direct Known Subclasses:
FrailBody
,Hydrophobic
A CompoundTrait is a way to combine several
Simple Traits
into one that is viewed as such in the OriginPicker
-
Nested Class Summary
Nested classes/interfaces inherited from class io.github.djtpj.trait.Trait
Trait.Type
-
Field Summary
FieldsFields inherited from class io.github.djtpj.trait.Trait
icon, playerTraitMap, type
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
CompoundTrait
(String name, String description, org.bukkit.ChatColor color, org.bukkit.Material material, Trait.Type type, Trait... traits) -
Method Summary
-
Field Details
-
ID
- See Also:
-
traits
-
-
Constructor Details
-
CompoundTrait
protected CompoundTrait(String name, String description, org.bukkit.ChatColor color, org.bukkit.Material material, Trait.Type type, Trait... traits)
-
-
Method Details