Enum Class Contributor.Role
- All Implemented Interfaces:
Serializable, Comparable<Contributor.Role>, Constable
- Enclosing class:
Contributor
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionintbit()net.minecraft.network.chat.TextColorgetColor()booleanisIn(int bitmask) net.minecraft.network.chat.MutableComponentstatic Contributor.RoleReturns the enum constant of this class with the specified name.static Contributor.Role[]values()Returns an array containing the constants of this enum class, in the order they are declared.net.minecraft.network.chat.MutableComponentwithColor(net.minecraft.network.chat.MutableComponent text)
-
Enum Constant Details
-
MOD_CREATOR
-
FABRIC_MAINTAINER
-
NEOFORGE_MAINTAINER
-
CI_MAINTAINER
-
DEVELOPER
-
TRANSLATOR
-
MASCOT
-
VOICE_ACTOR_FEMALE
-
GENERIC
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
bit
public int bit() -
isIn
public boolean isIn(int bitmask) -
getColor
public net.minecraft.network.chat.TextColor getColor() -
withColor
public net.minecraft.network.chat.MutableComponent withColor(net.minecraft.network.chat.MutableComponent text) -
shortName
public net.minecraft.network.chat.MutableComponent shortName()
-