- 欢迎来到Minecraft插件百科!
- 对百科编辑一脸懵逼?帮助:快速入门带您快速熟悉百科编辑!
- 因近日遭受攻击,百科现已限制编辑,有意编辑请加入插件百科企鹅群:223812289
MythicAnimatorStands:修订间差异
跳转到导航
跳转到搜索
1240798440(留言 | 贡献) 小 (→动作文件内容格式) |
1240798440(留言 | 贡献) 小 (→动作文件内容格式) |
||
| 第29行: | 第29行: | ||
===动作文件内容格式=== | ===动作文件内容格式=== | ||
<spoiler> | <spoiler> | ||
ex.anim | |||
<pre> | <pre> | ||
interpolate | interpolate | ||
| 第63行: | 第64行: | ||
*frame即在哪一帧修改动作,必须从0开始,越写越大,最大值为length-1,下方接要修改的动作角度 | *frame即在哪一帧修改动作,必须从0开始,越写越大,最大值为length-1,下方接要修改的动作角度 | ||
*Armorstand_Position盔甲架的视角,总共四项,最后一项为视角俯仰视角度 | *Armorstand_Position盔甲架的视角,总共四项,最后一项为视角俯仰视角度 | ||
</spoiler> | |||
===生物Yml内容栗子=== | |||
<spoiler> | |||
<pre> | |||
鲨鲨: | |||
Type: armor_stand | |||
Options: | |||
Invincible: true | |||
HasArms: true | |||
ItemBody: COS_GreenChest | |||
ItemFeet: COS_BlueFeet | |||
ItemHand: COS_IronSword | |||
ItemHead: BlackbeardHead | |||
ItemLegs: COS_YellowLegs | |||
Skills: | |||
- asinit{anim=ex.anim;mobtype=鲲鲲} @self ~onTimer:60 | |||
鲲鲲: | |||
Type: Villager | |||
Options: | |||
Silent: true | |||
PreventOtherDrops: true | |||
</pre> | |||
</spoiler> | </spoiler> | ||
2021年2月18日 (四) 15:35的版本
- 鲲鲲:本页面已更新至0.490a-SNAPSHOT,切忌盔甲架附属版本过低
- 最近一次编辑日期为 2021.2.18
MythicAnimatorStands
| 外文名 | MythicAnimatorStands |
| 插件类型 | Spigot / CraftBukkit |
| 最新版本 | v0.492(稳定版)/v0.490a-SNAPSHOT(测试版) |
| 源地址 | https://github.com/BerndiVader/MythicAnimatorStands/tree/noProtocolLib |
版本须知
与Artifacts一样,该插件版本需与所依赖的插件相匹配
如何使用
- 创建文件夹
- 在Mobs文件夹内创建Yml
- 在怪物Yml内创建怪物
- 在Anims文件夹内创建动作文件
- 应用动作文件
- ...
动作文件
- 后缀为.Anim
- 应被储存于/Plugins/MythicMobs/Anims
- 插件加载并不会生成文件夹与文件,故应手动创建文件夹与文件
动作文件内容格式
<spoiler> ex.anim
interpolate length 11 Animate_Negate frame 0 Armorstand_Position 0.0 0.0 0.0 0.0 Armorstand_Middle 0 0 0 Armorstand_Right_Leg 0 0 0 Armorstand_Left_Leg 0 0 0 Armorstand_Left_Arm 0 0 0 Armorstand_Right_Arm 0 0 0 Armorstand_Head 0 0 0 frame 5 executeSkill particlestest @selflocation Armorstand_Position 0.0 1 0.0 0.0 Armorstand_Middle 0 0 0 Armorstand_Right_Leg 62.129 0 0 Armorstand_Left_Leg -58.6659 0 0 Armorstand_Left_Arm 137.7983 0 0 Armorstand_Right_Arm 53.7447 0.1168 -16.2259 Armorstand_Head 0 -49.8781 0 frame 10 Armorstand_Position 0.0 0.0 0.0 0.0 Armorstand_Middle 0 0 0 Armorstand_Right_Leg 0 0 0 Armorstand_Left_Leg 0 0 0 Armorstand_Left_Arm 0 0 0 Armorstand_Right_Arm 0 0 0 Armorstand_Head 0 0 0
- 动作文件内容开头必须为interpolate
- length即动画(多个动作合起来)总帧数
- frame即在哪一帧修改动作,必须从0开始,越写越大,最大值为length-1,下方接要修改的动作角度
- Armorstand_Position盔甲架的视角,总共四项,最后一项为视角俯仰视角度
</spoiler>
生物Yml内容栗子
<spoiler>
鲨鲨:
Type: armor_stand
Options:
Invincible: true
HasArms: true
ItemBody: COS_GreenChest
ItemFeet: COS_BlueFeet
ItemHand: COS_IronSword
ItemHead: BlackbeardHead
ItemLegs: COS_YellowLegs
Skills:
- asinit{anim=ex.anim;mobtype=鲲鲲} @self ~onTimer:60
鲲鲲:
Type: Villager
Options:
Silent: true
PreventOtherDrops: true
</spoiler>
技能列表
| asanit-激活动作文件 | |||||||||
|---|---|---|---|---|---|---|---|---|---|
|
对MM盔甲架激活动作文件
|
| asanimate-激活动作文件(有持续时间) | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
修改MM盔甲架的动作
|
| asequio-盔甲架穿戴 | ||||||
|---|---|---|---|---|---|---|
|
为盔甲架戴上装备
鲲鲲:
- asequip{item=DIAMOND_SWORD:4} ~onSpawn
> 出生后将钻石剑戴到头部
|
| asinit-激活盔甲架 | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
令MM盔甲架变为动作载体
鲲鲲:莫得栗子啦QAQ。 |
| aslookat-令MM盔甲架面对目标 |
|---|
|
令MM盔甲架面对目标 |
| aspause-令MM盔甲架暂停当前的动作 |
|---|
|
令MM盔甲架暂停当前的动作 |
| asrun-令MM盔甲架继续使用动作 |
|---|
|
令MM盔甲架继续使用动作 |
| asunload-令MM盔甲架变为普通盔甲架 |
|---|
|
需要前置插件MythicMobsExtension令MM盔甲架变为普通盔甲架 |
条件列表
| AnimateStandPaused-目标盔甲架是否已暂停 |
|---|
|
修改项a=true/false,为true时表示暂停之后满足条件,为false表示暂停之前满足 |
| aimobtargetdistance-是否为已激活动作文件的盔甲架 |
|---|
| aimobtargetdistance-盔甲架的AI生物的目标离盔甲架有多远 |
|---|
- aimobtargetdistance{d=数值;a=true/false}
|
目标选择器
@aitarget,AI生物的目标
