public enum SkinType extends java.lang.Enum<SkinType>
定义了萌芽插件支持的各种皮肤和外观类型
用于 GermPacketAPI.sendSkin(org.bukkit.entity.Player, java.lang.String, com.germ.germplugin.api.SkinType, java.lang.String)
和 GermSkinAPI
等皮肤相关的功能
Enum Constant and Description |
---|
ARMOR_SKIN
时装工坊时装
使用时装工坊制作的服装皮肤
支持复杂的模型和动画效果
|
BEDROCK_SKIN
基岩版时装
兼容基岩版的时装格式
提供跨平台的皮肤支持
|
EFFECT_SKIN
特效时装
带有特殊效果的时装皮肤
可以包含粒子效果、发光效果等
|
MC_SKIN
MC原版皮肤
标准的Minecraft Java版皮肤格式
64x64或64x32像素的皮肤贴图
|
MC_SKIN_CAPE
MC原版披风
标准的Minecraft披风格式
通常为22x17像素的披风贴图
|
TAG_ABOVE
玩家头顶名字上方标签
显示在玩家名称标签上方的自定义文本
通常用于显示重要信息或状态
|
TAG_BELOW
玩家头顶名字下方标签
显示在玩家名称标签下方的自定义文本
可用于显示称号、等级等信息
|
Modifier and Type | Method and Description |
---|---|
static SkinType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SkinType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SkinType ARMOR_SKIN
使用时装工坊制作的服装皮肤
支持复杂的模型和动画效果
public static final SkinType BEDROCK_SKIN
兼容基岩版的时装格式
提供跨平台的皮肤支持
public static final SkinType MC_SKIN
标准的Minecraft Java版皮肤格式
64x64或64x32像素的皮肤贴图
public static final SkinType TAG_BELOW
显示在玩家名称标签下方的自定义文本
可用于显示称号、等级等信息
public static final SkinType TAG_ABOVE
显示在玩家名称标签上方的自定义文本
通常用于显示重要信息或状态
public static final SkinType EFFECT_SKIN
带有特殊效果的时装皮肤
可以包含粒子效果、发光效果等
public static final SkinType MC_SKIN_CAPE
标准的Minecraft披风格式
通常为22x17像素的披风贴图
public static SkinType[] values()
for (SkinType c : SkinType.values()) System.out.println(c);
public static SkinType 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 null