枚举的使用
org.bukkit.profile.PlayerTextures.SkinModel
使用PlayerTextures.SkinModel的程序包
-
org.bukkit.profile中PlayerTextures.SkinModel的使用
修饰符和类型方法说明PlayerSkinPatch.getModelPatch()Gets the type of model patched onto this profile.PlayerTextures.getSkinModel()获取玩家皮肤所套用的模型.static PlayerTextures.SkinModel返回带有指定名称的该类型的枚举常量。static PlayerTextures.SkinModel[]PlayerTextures.SkinModel.values()按照声明该枚举类型的常量的顺序, 返回一个包含这些常量的数组。修饰符和类型方法说明voidPlayerSkinPatch.setModelPatch(PlayerTextures.SkinModel model) Gets the type of model patched onto this profile.voidPlayerTextures.setSkin(@Nullable URL skinUrl, @Nullable PlayerTextures.SkinModel skinModel) 设置玩家的皮肤及其模型.