Enum Class NotebotUtils.OptionalInstrument
java.lang.Object
java.lang.Enum<NotebotUtils.OptionalInstrument>
meteordevelopment.meteorclient.utils.notebot.NotebotUtils.OptionalInstrument
- All Implemented Interfaces:
Serializable,Comparable<NotebotUtils.OptionalInstrument>,Constable
- Enclosing class:
- NotebotUtils
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Map<net.minecraft.block.enums.Instrument,NotebotUtils.OptionalInstrument> -
Method Summary
Modifier and TypeMethodDescriptionfromMinecraftInstrument(net.minecraft.block.enums.Instrument instrument) net.minecraft.block.enums.InstrumentReturns the enum constant of this class with the specified name.static NotebotUtils.OptionalInstrument[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
None
-
Harp
-
Basedrum
-
Snare
-
Hat
-
Bass
-
Flute
-
Bell
-
Guitar
-
Chime
-
Xylophone
-
IronXylophone
-
CowBell
-
Didgeridoo
-
Bit
-
Banjo
-
Pling
-
-
Field Details
-
BY_MINECRAFT_INSTRUMENT
public static final Map<net.minecraft.block.enums.Instrument,NotebotUtils.OptionalInstrument> BY_MINECRAFT_INSTRUMENT
-
-
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
-
toMinecraftInstrument
public net.minecraft.block.enums.Instrument toMinecraftInstrument() -
fromMinecraftInstrument
public static NotebotUtils.OptionalInstrument fromMinecraftInstrument(net.minecraft.block.enums.Instrument instrument)
-