枚举 Attachment
- java.lang.Object
-
- java.lang.Enum<Attachment>
-
- net.minecraft.block.enums.Attachment
-
- 所有已实现的接口:
Serializable,Comparable<Attachment>,StringIdentifiable
public enum Attachment extends Enum<Attachment> implements StringIdentifiable
- Mappings:
Namespace Name official ckgintermediary net/minecraft/class_3867named net/minecraft/block/enums/Attachment
-
-
枚举常量概要
枚举常量 枚举常量 说明 CEILINGDOUBLE_WALLFLOORSINGLE_WALL
-
构造器概要
构造器 限定符 构造器 说明 privateAttachment(String name)
-
-
-
枚举常量详细资料
-
FLOOR
public static final Attachment FLOOR
- Mappings:
Namespace Name Mixin selector official aLckg;a:Lckg;intermediary field_17098Lnet/minecraft/class_3867;field_17098:Lnet/minecraft/class_3867;named FLOORLnet/minecraft/block/enums/Attachment;FLOOR:Lnet/minecraft/block/enums/Attachment;
-
CEILING
public static final Attachment CEILING
- Mappings:
Namespace Name Mixin selector official bLckg;b:Lckg;intermediary field_17099Lnet/minecraft/class_3867;field_17099:Lnet/minecraft/class_3867;named CEILINGLnet/minecraft/block/enums/Attachment;CEILING:Lnet/minecraft/block/enums/Attachment;
-
SINGLE_WALL
public static final Attachment SINGLE_WALL
- Mappings:
Namespace Name Mixin selector official cLckg;c:Lckg;intermediary field_17100Lnet/minecraft/class_3867;field_17100:Lnet/minecraft/class_3867;named SINGLE_WALLLnet/minecraft/block/enums/Attachment;SINGLE_WALL:Lnet/minecraft/block/enums/Attachment;
-
DOUBLE_WALL
public static final Attachment DOUBLE_WALL
- Mappings:
Namespace Name Mixin selector official dLckg;d:Lckg;intermediary field_17101Lnet/minecraft/class_3867;field_17101:Lnet/minecraft/class_3867;named DOUBLE_WALLLnet/minecraft/block/enums/Attachment;DOUBLE_WALL:Lnet/minecraft/block/enums/Attachment;
-
-
字段详细资料
-
name
private final String name
- Mappings:
Namespace Name Mixin selector official eLckg;e:Ljava/lang/String;intermediary field_17102Lnet/minecraft/class_3867;field_17102:Ljava/lang/String;named nameLnet/minecraft/block/enums/Attachment;name:Ljava/lang/String;
-
-
构造器详细资料
-
Attachment
private Attachment(String name)
- Mappings:
Namespace Name Mixin selector official <init>Lckg;<init>(Ljava/lang/String;ILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_3867;<init>(Ljava/lang/String;ILjava/lang/String;)Vnamed <init>Lnet/minecraft/block/enums/Attachment;<init>(Ljava/lang/String;ILjava/lang/String;)V
-
-
方法详细资料
-
values
public static Attachment[] values()
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。该方法可用于迭代 常量, 如下所示:for (Attachment c : Attachment.values()) System.out.println(c);
- 返回:
- 按照声明该枚举类型的常量的顺序返回的包含这些常量的数组
-
valueOf
public static Attachment valueOf(String name)
返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)- 参数:
name- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException- 如果该枚举类型没有带有指定名称的常量NullPointerException- 如果参数为空值
-
asString
public String asString()
- 指定者:
asString在接口中StringIdentifiable- Mappings:
Namespace Name Mixin selector official cLagz;c()Ljava/lang/String;intermediary method_15434Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
-
-