Enum Class BuffStatusProvider

java.lang.Object
java.lang.Enum<BuffStatusProvider>
nokunami.floral_warfare.compat.jade.BuffStatusProvider
All Implemented Interfaces:
Serializable, Comparable<BuffStatusProvider>, Constable, snownee.jade.api.IEntityComponentProvider, snownee.jade.api.IJadeProvider, snownee.jade.api.IServerDataProvider<snownee.jade.api.EntityAccessor>, snownee.jade.api.IToggleableProvider

public enum BuffStatusProvider extends Enum<BuffStatusProvider> implements snownee.jade.api.IEntityComponentProvider, snownee.jade.api.IServerDataProvider<snownee.jade.api.EntityAccessor>
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    appendServerData(net.minecraft.nbt.CompoundTag compoundTag, snownee.jade.api.EntityAccessor entityAccessor)
     
    void
    appendTooltip(snownee.jade.api.ITooltip iTooltip, snownee.jade.api.EntityAccessor entityAccessor, snownee.jade.api.config.IPluginConfig iPluginConfig)
     
    static net.minecraft.network.chat.Component
     
    net.minecraft.resources.ResourceLocation
     
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface snownee.jade.api.IEntityComponentProvider

    getIcon

    Methods inherited from interface snownee.jade.api.IJadeProvider

    getDefaultPriority

    Methods inherited from interface snownee.jade.api.IToggleableProvider

    enabledByDefault, isRequired
  • Enum Constant Details

  • Method Details

    • values

      public static BuffStatusProvider[] 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

      public static BuffStatusProvider valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getEffectName

      public static net.minecraft.network.chat.Component getEffectName(BuffStatusInstance instance)
    • appendTooltip

      public void appendTooltip(snownee.jade.api.ITooltip iTooltip, snownee.jade.api.EntityAccessor entityAccessor, snownee.jade.api.config.IPluginConfig iPluginConfig)
      Specified by:
      appendTooltip in interface snownee.jade.api.IEntityComponentProvider
    • appendServerData

      public void appendServerData(net.minecraft.nbt.CompoundTag compoundTag, snownee.jade.api.EntityAccessor entityAccessor)
      Specified by:
      appendServerData in interface snownee.jade.api.IServerDataProvider<snownee.jade.api.EntityAccessor>
    • getUid

      public net.minecraft.resources.ResourceLocation getUid()
      Specified by:
      getUid in interface snownee.jade.api.IJadeProvider