枚举 BlockStateModelGenerator.TintType
- java.lang.Object
-
- java.lang.Enum<BlockStateModelGenerator.TintType>
-
- net.minecraft.data.client.model.BlockStateModelGenerator.TintType
-
- 所有已实现的接口:
Serializable,Comparable<BlockStateModelGenerator.TintType>
static enum BlockStateModelGenerator.TintType extends Enum<BlockStateModelGenerator.TintType>
- Mappings:
Namespace Name official iu$dintermediary net/minecraft/class_4910$class_4913named net/minecraft/data/client/model/BlockStateModelGenerator$TintType
-
-
枚举常量概要
枚举常量 枚举常量 说明 NOT_TINTEDTINTED
-
构造器概要
构造器 限定符 构造器 说明 privateTintType()
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 ModelgetCrossModel()ModelgetFlowerPotCrossModel()static BlockStateModelGenerator.TintTypevalueOf(String name)返回带有指定名称的该类型的枚举常量。static BlockStateModelGenerator.TintType[]values()按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
-
-
-
枚举常量详细资料
-
TINTED
public static final BlockStateModelGenerator.TintType TINTED
- Mappings:
Namespace Name Mixin selector official aLiu$d;a:Liu$d;intermediary field_22839Lnet/minecraft/class_4910$class_4913;field_22839:Lnet/minecraft/class_4910$class_4913;named TINTEDLnet/minecraft/data/client/model/BlockStateModelGenerator$TintType;TINTED:Lnet/minecraft/data/client/model/BlockStateModelGenerator$TintType;
-
NOT_TINTED
public static final BlockStateModelGenerator.TintType NOT_TINTED
- Mappings:
Namespace Name Mixin selector official bLiu$d;b:Liu$d;intermediary field_22840Lnet/minecraft/class_4910$class_4913;field_22840:Lnet/minecraft/class_4910$class_4913;named NOT_TINTEDLnet/minecraft/data/client/model/BlockStateModelGenerator$TintType;NOT_TINTED:Lnet/minecraft/data/client/model/BlockStateModelGenerator$TintType;
-
-
方法详细资料
-
values
public static BlockStateModelGenerator.TintType[] values()
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。该方法可用于迭代 常量, 如下所示:for (BlockStateModelGenerator.TintType c : BlockStateModelGenerator.TintType.values()) System.out.println(c);
- 返回:
- 按照声明该枚举类型的常量的顺序返回的包含这些常量的数组
-
valueOf
public static BlockStateModelGenerator.TintType valueOf(String name)
返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)- 参数:
name- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException- 如果该枚举类型没有带有指定名称的常量NullPointerException- 如果参数为空值
-
getCrossModel
public Model getCrossModel()
- Mappings:
Namespace Name Mixin selector official aLiu$d;a()Ljj;intermediary method_25726Lnet/minecraft/class_4910$class_4913;method_25726()Lnet/minecraft/class_4942;named getCrossModelLnet/minecraft/data/client/model/BlockStateModelGenerator$TintType;getCrossModel()Lnet/minecraft/data/client/model/Model;
-
getFlowerPotCrossModel
public Model getFlowerPotCrossModel()
- Mappings:
Namespace Name Mixin selector official bLiu$d;b()Ljj;intermediary method_25727Lnet/minecraft/class_4910$class_4913;method_25727()Lnet/minecraft/class_4942;named getFlowerPotCrossModelLnet/minecraft/data/client/model/BlockStateModelGenerator$TintType;getFlowerPotCrossModel()Lnet/minecraft/data/client/model/Model;
-
-