Class Tribe
java.lang.Object
org.woftnw.eof.Tribe
Represents a dragon tribe.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAbility(Ability ability) voidaddAttribute(Attribute attribute) Ability[]Get the abilities of this tribe.Get the active abilities of this tribe.Get the attributes of this tribe.Get the value that is used in the persistent data container.Get the simple name of the tribe.net.kyori.adventure.text.format.TextColorGet the text color of a tribe to be used in aTextComponent.Get the name of the tribe.
-
Constructor Details
-
Tribe
-
-
Method Details
-
getTribeName
Get the name of the tribe.Example:
MUDWING.getTribeName() // "MudWing"- Returns:
- The tribe name.
-
getSimpleName
Get the simple name of the tribe.Example:
MUDWING.getSimpleName() // "Mud"- Returns:
- The simple name.
-
getTextColor
public net.kyori.adventure.text.format.TextColor getTextColor()Get the text color of a tribe to be used in aTextComponent.- Returns:
- The
TextColorof the tribe.
-
getPDCValue
Get the value that is used in the persistent data container.- Returns:
- The value for the PDC.
-
getAttributes
Get the attributes of this tribe.- Returns:
- The attributes this tribe has.
-
addAttribute
-
getAbilities
Get the abilities of this tribe.- Returns:
- The abilities this tribe has.
-
addAbility
-
getActiveAbilities
Get the active abilities of this tribe.- Returns:
- The active abilities this tribe has.
-