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$a
intermediary net/minecraft/class_2593$class_2594
named 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 private
Type()
-
Method Summary
Modifier and Type Method Description static CommandBlockBlockEntity.Type
valueOf(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 a
Lcfy$a;a:Lcfy$a;
intermediary field_11922
Lnet/minecraft/class_2593$class_2594;field_11922:Lnet/minecraft/class_2593$class_2594;
named SEQUENCE
Lnet/minecraft/block/entity/CommandBlockBlockEntity$Type;SEQUENCE:Lnet/minecraft/block/entity/CommandBlockBlockEntity$Type;
-
AUTO
- Mappings:
Namespace Name Mixin selector official b
Lcfy$a;b:Lcfy$a;
intermediary field_11923
Lnet/minecraft/class_2593$class_2594;field_11923:Lnet/minecraft/class_2593$class_2594;
named AUTO
Lnet/minecraft/block/entity/CommandBlockBlockEntity$Type;AUTO:Lnet/minecraft/block/entity/CommandBlockBlockEntity$Type;
-
REDSTONE
- Mappings:
Namespace Name Mixin selector official c
Lcfy$a;c:Lcfy$a;
intermediary field_11924
Lnet/minecraft/class_2593$class_2594;field_11924:Lnet/minecraft/class_2593$class_2594;
named REDSTONE
Lnet/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
-