Package net.minecraft.block.entity
Enum CommandBlockBlockEntity.Type
java.lang.Object
java.lang.Enum<CommandBlockBlockEntity.Type>
net.minecraft.block.entity.CommandBlockBlockEntity.Type
- All Implemented Interfaces:
Serializable,Comparable<CommandBlockBlockEntity.Type>,java.lang.constant.Constable
- Enclosing class:
- CommandBlockBlockEntity
public static enum CommandBlockBlockEntity.Type extends Enum<CommandBlockBlockEntity.Type>
- Mappings:
Namespace Name official cfy$aintermediary net/minecraft/class_2593$class_2594named net/minecraft/block/entity/CommandBlockBlockEntity$Type
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
-
Constructor Summary
Constructors Modifier Constructor Description privateType() -
Method Summary
Modifier and Type Method Description static CommandBlockBlockEntity.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static CommandBlockBlockEntity.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SEQUENCE
- Mappings:
Namespace Name Mixin selector official aLcfy$a;a:Lcfy$a;intermediary field_11922Lnet/minecraft/class_2593$class_2594;field_11922:Lnet/minecraft/class_2593$class_2594;named SEQUENCELnet/minecraft/block/entity/CommandBlockBlockEntity$Type;SEQUENCE:Lnet/minecraft/block/entity/CommandBlockBlockEntity$Type;
-
AUTO
- Mappings:
Namespace Name Mixin selector official bLcfy$a;b:Lcfy$a;intermediary field_11923Lnet/minecraft/class_2593$class_2594;field_11923:Lnet/minecraft/class_2593$class_2594;named AUTOLnet/minecraft/block/entity/CommandBlockBlockEntity$Type;AUTO:Lnet/minecraft/block/entity/CommandBlockBlockEntity$Type;
-
REDSTONE
- Mappings:
Namespace Name Mixin selector official cLcfy$a;c:Lcfy$a;intermediary field_11924Lnet/minecraft/class_2593$class_2594;field_11924:Lnet/minecraft/class_2593$class_2594;named REDSTONELnet/minecraft/block/entity/CommandBlockBlockEntity$Type;REDSTONE:Lnet/minecraft/block/entity/CommandBlockBlockEntity$Type;
-
-
Constructor Details
-
Type
private Type()
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-