MobEffectCategory
Importing the class
If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.
import crafttweaker.api.entity.effect.MobEffectCategory;
Implements
Undocumented Interfaces
Comparable<Enum>
Enum Constants
MobEffectCategory is an enum with 3 constants. They are accessible like so:
// MobEffectCategory.BENEFICIAL<constant:minecraft:mobeffect/category:beneficial>// MobEffectCategory.HARMFUL<constant:minecraft:mobeffect/category:harmful>// MobEffectCategory.NEUTRAL<constant:minecraft:mobeffect/category:neutral>
Members
Getter
// MobEffectCategory.tooltipFormatting as ChatFormatting<constant:minecraft:mobeffect/category:beneficial>.tooltipFormatting
Return Type:
ChatFormatting
tooltipFormatting() as ChatFormatting
<constant:minecraft:mobeffect/category:beneficial>.tooltipFormatting();
Return Type:
ChatFormatting