Enum Class CrusherProvider

java.lang.Object
java.lang.Enum<CrusherProvider>
com.idark.valoria.compat.jade.CrusherProvider
All Implemented Interfaces:
Serializable, Comparable<CrusherProvider>, Constable, snownee.jade.api.IBlockComponentProvider, snownee.jade.api.IJadeProvider, snownee.jade.api.IServerDataProvider<snownee.jade.api.BlockAccessor>, snownee.jade.api.IToggleableProvider

public enum CrusherProvider extends Enum<CrusherProvider> implements snownee.jade.api.IBlockComponentProvider, snownee.jade.api.IServerDataProvider<snownee.jade.api.BlockAccessor>
  • 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 data, snownee.jade.api.BlockAccessor accessor)
     
    void
    appendTooltip(snownee.jade.api.ITooltip tooltip, snownee.jade.api.BlockAccessor accessor, snownee.jade.api.config.IPluginConfig config)
     
    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.IBlockComponentProvider

    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 CrusherProvider[] 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 CrusherProvider 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
    • appendTooltip

      public void appendTooltip(snownee.jade.api.ITooltip tooltip, snownee.jade.api.BlockAccessor accessor, snownee.jade.api.config.IPluginConfig config)
      Specified by:
      appendTooltip in interface snownee.jade.api.IBlockComponentProvider
    • appendServerData

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

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