SimpleBucketMobs
将生物装入桶中!:D
权限
| 权限 | 作用 | 默认值 |
|---|---|---|
simplebucketmobs.bucket.<mob> |
允许用户捕获指定的生物 | false |
simplebucketmobs.bucket.all |
允许用户捕获所有已启用的生物 | op |
simplebucketmobs.reload |
重新加载插件配置文件 | op |
simplebucketmobs.debucket |
从生物桶中将保存的生物 NBT 数据输出到聊天栏。 | op |
以下关于纹理配置的信息,适用于想要编辑纹理的情况。所有已发布的原版生物均已配置为使用 配套资源包
纹理配置
此配置文件为 texture.yml,专门用于自定义模型数据。目前,自定义模型数据应用于水桶。
该纹理配置旨在支持自定义,以便您可以为每种生物变体制作特殊的纹理。
例如,如果您想设置一种特殊的蓝色绵羊纹理,而不是让所有绵羊都使用通用纹理。
使用 "default"
分配自定义模型数据最简单的方法是使用 default 选项。
SHEEP:
default: 1
PIG:
default: 2
这是最简单的设置方式,它将应用于该类型的所有生物。 在上面的示例中,所有绵羊将拥有自定义模型数据 1,所有猪将拥有自定义模型数据 2。
使用 nbtKey 和 nbtValue
nbtKey 和 nbtValue 是我用来指代 NBT 标签的方式。nbtValue 是我们的“目标”。示例通过移除额外的 JSON 进行了简化。
以村民的职业为例...
{ "VillagerData": {"level":1, "profession":"minecraft:none", "type":"minecraft:desert"} }
如果我们希望根据村民的职业来区分自定义模型数据,在本例中我们的 nbtValue 将是 "minecraft:none"。
您需要沿着路径使用所有的 nbtKey 才能到达 nbtValue。这在您的 texture.yml 中将显示如下...
VILLAGER:
VillagerData:
profession:
"minecraft:none": 1
如上所示,您可以使用 NBT 标签中存储的任何信息来区分特定的生物变体。这里有几个更多示例...
鹦鹉(变体)
{ "Variant": 1 }
PARROT:
default: 0
Variant:
1: 1
绵羊(颜色)
{ "Color": "2b" }
SHEEP:
default: 0
Color:
0b: 0
1b: 1
2b: 2
注意
您只能使用一组 nbtValues(在村民示例中为 profession)。
用于搜索所需 nbtValue 的方法不是递归的,因此不会找到所有可能的值。
SimpleBucketMobs
Throw mobs into buckets! :D
Permissions
| Permission | What it do | Default |
|---|---|---|
simplebucketmobs.bucket.<mob> |
Allows the user to bucket the specified mob | false |
simplebucketmobs.bucket.all |
Allows the user to bucket all enabled mobs | op |
simplebucketmobs.reload |
Reload plugin configuration files | op |
simplebucketmobs.debucket |
Dump saved mob NBT data from Mob Bucket to chat. | op |
The following information about texture configuration, is for if you want to edit the textures. All released vanilla mobs have been configured to use the Accompanying resource pack
Texture Configuration
This configuration is texture.yml which is specifically used for custom model data. Currently, the custom model data is applied to a bucket.
The texture configuration is made to be customizable in the event you wanted to make special textures for each variant of a mob.
For example, if you wanted to set a special blue sheep texture, rather than just having a generic texture for all sheep.
Using "default"
The simplest way to assign custom model data is to use the default option.
SHEEP:
default: 1
PIG:
default: 2
This is the easiest way to set it and will set it to all mobs of that type. In the above example, all sheep will have custom model data 1 and all pigs will have custom model data 2.
Using the nbtKey and nbtValue
nbtKey and nbtValue are the ways I will be referring to the NBT Tags. nbtValue is our "goal". The examples are simplified by removing the extra JSON.
Consider a villager's profession...
{ "VillagerData": {"level":1, "profession":"minecraft:none", "type":"minecraft:desert"} }
If we want to differentiate custom model data based on a villager's profession, our nbtValue will be "minecraft:none" in this example.
You would get to the nbtValue using all the nbtKeys along the way. This will look like this in your texture.yml...
VILLAGER:
VillagerData:
profession:
"minecraft:none": 1
As shown above, you can use any information stored in the NBT tags to differentiate specific variants of a mob. Here are a few more examples...
Parrot (Variant)
{ "Variant": 1 }
PARROT:
default: 0
Variant:
1: 1
Sheep (Color)
{ "Color": "2b" }
SHEEP:
default: 0
Color:
0b: 0
1b: 1
2b: 2
Note
You can only use one set of nbtValues (in the villager example, profession).
The method used to search for the desired nbtValue is not recursive and will not find all possible values.
下载 Simple Bucket Mobs
下载 Simple Bucket Mobs
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Simple Bucket Mobs
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Simple Bucket Mobs
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Simple Bucket Mobs
下载 Simple Bucket Mobs
下载 Simple Bucket Mobs
下载 Simple Bucket Mobs
- 修复放置生物时无法实际将其放置在目标位置的问题
- 彻底重构配置系统
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
插件
用于绘制游戏内地图或在浏览器中随探索实时进行地图绘制的实时地图。
评论 0
登录后参与评分
还没有评论,来抢沙发吧