Enum Constant and Description |
---|
ANIMATION
动画配置文件
存储动画效果配置,用于GUI版本
|
BEND
弯曲动作文件(已弃用)
存储弯曲动作配置,用于引擎版本
建议使用ANIMATION类型替代
|
EFFECT
特效配置文件
存储特效和粒子效果配置,用于引擎版本
|
ENTITY
实体配置文件
存储自定义实体模型配置,用于引擎版本
|
GUI
GUI界面文件
存储用户界面配置文件,用于GUI版本
包含默认文件:game_quick_bar、tooltip、germ_gui_loading
|
ITEM
物品配置文件
存储自定义物品模型配置,用于引擎版本
|
JEXL
JEXL脚本文件
存储JavaScript脚本文件,用于GUI版本
文件扩展名:.js
|
MISC
杂项配置文件
存储其他杂项配置,用于GUI版本
|
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getFileNames()
获取默认文件名列表
|
GermPlugin.VersionType |
getVersionType()
获取版本类型
|
java.lang.String |
toString()
转换为小写字符串
返回枚举名称的小写形式,用于文件夹路径
|
static RootType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RootType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RootType JEXL
存储JavaScript脚本文件,用于GUI版本
文件扩展名:.js
public static final RootType GUI
存储用户界面配置文件,用于GUI版本
包含默认文件:game_quick_bar、tooltip、germ_gui_loading
public static final RootType ANIMATION
存储动画效果配置,用于GUI版本
public static final RootType MISC
存储其他杂项配置,用于GUI版本
public static final RootType BEND
存储弯曲动作配置,用于引擎版本
建议使用ANIMATION类型替代
public static final RootType EFFECT
存储特效和粒子效果配置,用于引擎版本
public static final RootType ENTITY
存储自定义实体模型配置,用于引擎版本
public static final RootType ITEM
存储自定义物品模型配置,用于引擎版本
public static RootType[] values()
for (RootType c : RootType.values()) System.out.println(c);
public static RootType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic GermPlugin.VersionType getVersionType()
public java.lang.String[] getFileNames()
public java.lang.String toString()
返回枚举名称的小写形式,用于文件夹路径
toString
in class java.lang.Enum<RootType>