Package com.idark.valoria.compat.jade
Enum Class KegProvider
- All Implemented Interfaces:
Serializable
,Comparable<KegProvider>
,Constable
,snownee.jade.api.IBlockComponentProvider
,snownee.jade.api.IJadeProvider
,snownee.jade.api.IServerDataProvider<snownee.jade.api.BlockAccessor>
,snownee.jade.api.IToggleableProvider
public enum KegProvider
extends Enum<KegProvider>
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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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
getUid()
static KegProvider
Returns the enum constant of this class with the specified name.static KegProvider[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
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
-
INSTANCE
-
-
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
-
appendTooltip
public void appendTooltip(snownee.jade.api.ITooltip tooltip, snownee.jade.api.BlockAccessor accessor, snownee.jade.api.config.IPluginConfig config) - Specified by:
appendTooltip
in interfacesnownee.jade.api.IBlockComponentProvider
-
appendServerData
public void appendServerData(net.minecraft.nbt.CompoundTag data, snownee.jade.api.BlockAccessor accessor) - Specified by:
appendServerData
in interfacesnownee.jade.api.IServerDataProvider<snownee.jade.api.BlockAccessor>
-
getUid
public net.minecraft.resources.ResourceLocation getUid()- Specified by:
getUid
in interfacesnownee.jade.api.IJadeProvider
-