尚未更新!!!!以匹配我的其他村民资源包!!描述不适用于当前可下载的文件
此资源包本身功能有限。它仅会为村民显示 Steve 和 Alex 的皮肤纹理。
它是设计供你自行编辑的,以便你可以添加玩家皮肤。
步骤 1
设置纹理路径
第一步是可选的
在 \assets\minecraft\emf\cem 中,你会找到成年村民和幼年村民的模型文件。内部而言,这两个文件的内容是一样的。用文本编辑器打开这些文件。你需要修改第三行关于纹理的部分:
"texture": "semos:textures/entities/humanoides/template/example.png",
你可以将其设置为你的资源包希望使用的任何文件或文件夹。别忘了对两个模型都进行修改并保存。
步骤 2
准备你的纹理
第二步也是可选的
但是!你必须确保你的皮肤纹理没有任何像素超出正常纹理区域。我的资源包使用了一些额外区域来实现眼睛动画。如果你想要这些眼睛动画效果,你应该相应地编辑纹理。
可以参考下方的模板。资源包中还提供了 64*64 分辨率的模板,你可以用它作为编辑软件中的参考指南。
首先,复制你的脸部以及最左上角的部分。编辑这个角落,使其不包含你想要实现动画的部分(如眼睛、嘴巴、眉毛)。只需将每个部分的像素放置到对应的方格中即可。你可以查看资源包中 Steve 的纹理以获得更好的理解。
注意,眼睛的白色部分需要延伸到瞳孔所在的位置!

步骤 3
这一步不是可选的 :D
只需将步骤 2 中的纹理放入你在步骤 1 中选择的文件夹即可。
你可以使用 Optifine 的标准方法来拥有多种纹理,但详情见下文。
步骤 4
这一步有点棘手。
这是为了让模型正确显示手臂,无论皮肤是窄型还是宽型。
打开位于 assets\semos\entity_animations\non_lib_animations 中的 semos_villagers_to_player_animations.jpm 文件
首先,如果可以通过重命名村民来设置皮肤,你需要将窄型皮肤的自定义名称添加到变量 "varb.slim_skin_custom_named" 的列表中(如果自定义名称中包含空格,正则表达式需要使用 \\s 代替空格(例如:My slim skin 应写为 My\\sslim\\sskin
在 "var.texture" 变量中,round(lerp(random(id),2,4)) 中的 2 和 4 可以设置为任意你想要的值。
对于每个实体,这个数字都会不同,这将允许你创建皮肤组。但你必须确保该组只由窄型或宽型皮肤组成。
你还需要将窄型皮肤的结果添加到变量 "varb.slim_skin" 中
然后,你可以在 .propertie 文件中使用变量 var.texture,如下所示:
var.1.texture=2
skins.1=1-9
当变量等于 2 时,这将从后缀 1 到 9 中选择一种皮肤。
如果你想使用自定义名称规则,它们需要在 var.x.texture 之前设置。
你也可以在此文件中添加其他变量,但这假设你知道如何操作。
步骤 5
加载游戏,加载资源包并享受吧 :)
附加组件:
此资源包与我其他资源包的以下附加组件兼容
通过此文件跟踪我的资源包版本与哪个附加组件版本兼容:[点击此处链接]
分享
你可以自由地在自己的资源包中使用此模型,但请更改纹理位置到你自己的命名空间,以避免与其他做同样操作的资源包发生冲突。
请在网站上的描述中以及资源包本身的某个地方放上此资源包的链接 :)
Not updated yet!!!! to match my other villagers pack!!! description doesn't fit the current file you can donwload
This ressource pack in itself doesn't do much. It will only display a Steve and Alex texture for you villagers.
It is meant to be edited by you so you can add player skins.
Step 1
Setting up the texture path
This first step in optional
In \assets\minecraft\emf\cem you will find the model for both the villager and the baby villager. Internatly the files are the same. Open those files with a text editor. You need to change the third line about the texture
"texture": "semos:textures/entities/humanoides/template/example.png",
You can set it to whatever file or folder you wanna your pack to use. Don't forget to do it for both models and save them.
Step 2
Prepare your texture
This second step is also optional
BUT! you have to make sure your skin texture don't have any pixels outside of the normal texture zones. My packs uses some of those for eyes animations. If you want those eyes animations you should so edit the texture accordinly.
Follow the template below for help. There is also the template in 64*64 in the pack so you can use it as a guide in your editing software.
First, copy your face and the very top left. Edit this corner so it doesn't have what you want animated. (eyes, mouth, brows). Simply put the pixel of each part where they are in each square. You can check the steve texture of the pack for better understanding.
Note, the white parts of the eyes needs to be extended to where the puplis are!

Step 3
This one is not optional :D
Just put your texture from step 2 in the folder you choose in step 1.
You can have many textures using the usual optifine method, but more on that below
Step 4
This one is a little bit tricky.
This is to make the model display the arms correctly if the skin is a slim one or not.
Open the semos_villagers_to_player_animations.jpm that is located in assets\semos\entity_animations\non_lib_animations
First, if the skin can be set by renaming the villagers, you'll need to add the custom name for the slim skin in the list of the variable "varb.slim_skin_custom_named" (If the custom name has a space in it, the regex need to be \\s instead (example: My slim skin would be My\\sslim\\sskin
In the "var.texture" variable, round(lerp(random(id),2,4)) 2 and 4 can be set to whatever you want.
For each entity this number will be different and this will let you have group of skin if you will. But you will need to make sure this group is only made of slim or wide skins.
You will also need to add the result for slim skin in the variable "varb.slim_skin"
You will then use the variable var.texture in the .propertie like so:
var.1.texture=2
skins.1=1-9
This would chose on skin between the sufix 1 to 9 when the variable is equal to 2
If you want custom names rules, they need to be set up BEFORE the var.x.texture ones
You can add other variables in this file if you wish. But this is assuming you know how to do it
Step 5
Load the game, load the pack and enjoy :)
Addons:
This pack is compatible with the following addons of my other packs
Keep track of what versions of my packs are compatible with wich addon version with this file: [with this link]
- [Animations] With Semos Animations Lib the model will have Fresh Animations inspired animations.
- [Capes] Capes will have about 50% chances to render. The texture distribution follow the actual number of owner per cape
- [Cosmetics] Let you use several cosmetics packs Warning! Can be heavy on performances
- [Biome fix]
For 1.21.9+ Display the biome outfits of villagers. Warning! Very heavy on performances
- [Job fix]
For 1.21.9+ Display the job outfits of villagers. Warning! Very heavy on performances
Sharing
You are free to use this model in your own pack, but please change the texture location to you own namespace to avoid conflicts with other pack that would do so
Please put a link to this pack in your description on the website as well as somewhere in the pack itself :)
评论 0
登录后参与评分
还没有评论,来抢沙发吧