本帖最后由 2052926343 于 2022-2-19 11:12 编辑 
用MythicMobs插件创造出小白和掠夺者后,他们手上有弓和弩,但是攻击方式是跑过来打人,怎么让它们射出箭来,并且设置伤害,游戏版本1.16.5,插件版本4.11.0
用MythicMobs插件创造出小白和掠夺者后,他们手上有弓和弩,但是攻击方式是跑过来打人,怎么让它们射出箭来,并且设置伤害,游戏版本1.16.5,插件版本4.11.0
不是?等下?就是小白直接拿着弓过来锤人么?
一般正常情况小白都是拿弓的时候射箭,拿剑的时候和你贴贴
你发个你写的怪看看呢,会不会是哪里写错了
一般正常情况小白都是拿弓的时候射箭,拿剑的时候和你贴贴
你发个你写的怪看看呢,会不会是哪里写错了
超级喵 发表于 2022-2-19 09:24
不是?等下?就是小白直接拿着弓过来锤人么?
一般正常情况小白都是拿弓的时候射箭,拿剑的时候和你贴贴
你 ...
2lueduozhe:
Mobtype: pillager
Display: '掠夺者'
Health: 80
Damage: 8
Skills:
Equipment:
Drops:
- emerald 1 0.4
- emerald 1 0.8
- money 12
- exp 2
Options:
AlwaysShowName: true
PreventOtherDrops: true
MovementSpeed: 0.3
AIGoalSelectors:
- 0 clear
- 1 meleeattack
这是掠夺者,小白和这个一样
Mobtype得对应上mc原生的怪物
原来是云某人 发表于 2022-2-19 11:05
Mobtype得对应上mc原生的怪物
掠夺者就是原生的啊
2052926343 发表于 2022-2-19 11:11
掠夺者就是原生的啊
小白得用小白的原生怪,掠夺者没有射箭的动作(方法)
MC全部的怪物类型
All Superinterfaces:
Attributable, CommandSender, Damageable, Entity, LivingEntity, Lootable, Metadatable, Nameable, Permissible, PersistentDataHolder, ProjectileSource, ServerOperator
All Known Subinterfaces:
AbstractHorse, AbstractSkeleton, AbstractVillager, Ageable, Ambient, Animals, Axolotl, Bat, Bee, Blaze, Breedable, Cat, CaveSpider, ChestedHorse, Chicken, Cod, Cow, Creature, Creeper, Dolphin, Donkey, Drowned, ElderGuardian, EnderDragon, Enderman, Endermite, Evoker, Fish, Flying, Fox, Ghast, Giant, GlowSquid, Goat, Golem, Guardian, Hoglin, Horse, Husk, Illager, Illusioner, IronGolem, Llama, MagmaCube, Monster, Mule, MushroomCow, NPC, Ocelot, Panda, Parrot, Phantom, Pig, Piglin, PiglinAbstract, PiglinBrute, PigZombie, Pillager, PolarBear, PufferFish, Rabbit, Raider, Ravager, Salmon, Sheep, Shulker, Silverfish, Skeleton, SkeletonHorse, Slime, Snowman, Spellcaster, Spider, Squid, Steerable, Stray, Strider, Tameable, TraderLlama, TropicalFish, Turtle, Vex, Villager, Vindicator, WanderingTrader, WaterMob, Witch, Wither, WitherSkeleton, Wolf, Zoglin, Zombie, ZombieHorse, ZombieVillager
All Superinterfaces:
Attributable, CommandSender, Damageable, Entity, LivingEntity, Lootable, Metadatable, Nameable, Permissible, PersistentDataHolder, ProjectileSource, ServerOperator
All Known Subinterfaces:
AbstractHorse, AbstractSkeleton, AbstractVillager, Ageable, Ambient, Animals, Axolotl, Bat, Bee, Blaze, Breedable, Cat, CaveSpider, ChestedHorse, Chicken, Cod, Cow, Creature, Creeper, Dolphin, Donkey, Drowned, ElderGuardian, EnderDragon, Enderman, Endermite, Evoker, Fish, Flying, Fox, Ghast, Giant, GlowSquid, Goat, Golem, Guardian, Hoglin, Horse, Husk, Illager, Illusioner, IronGolem, Llama, MagmaCube, Monster, Mule, MushroomCow, NPC, Ocelot, Panda, Parrot, Phantom, Pig, Piglin, PiglinAbstract, PiglinBrute, PigZombie, Pillager, PolarBear, PufferFish, Rabbit, Raider, Ravager, Salmon, Sheep, Shulker, Silverfish, Skeleton, SkeletonHorse, Slime, Snowman, Spellcaster, Spider, Squid, Steerable, Stray, Strider, Tameable, TraderLlama, TropicalFish, Turtle, Vex, Villager, Vindicator, WanderingTrader, WaterMob, Witch, Wither, WitherSkeleton, Wolf, Zoglin, Zombie, ZombieHorse, ZombieVillager
2052926343 发表于 2022-2-19 10:59
2lueduozhe:
Mobtype: pillager
Display: '掠夺者'
不好意思,我这边玩的是1.12.2 你给我看一下你小白的配置先
超级喵 发表于 2022-2-19 14:14
不好意思,我这边玩的是1.12.2 你给我看一下你小白的配置先
2kulou:
Mobtype: skeleton
Display: '骷髅'
Health: 80
Damage: 8
Skills:
Equipment:
Drops:
- emerald 1 0.4
- emerald 1 0.8
- money 12
- exp 2
Options:
AlwaysShowName: true
PreventOtherDrops: true
MovementSpeed: 0.3
AIGoalSelectors:
- 0 clear
- 1 meleeattack
 本帖最后由 超级喵 于 2022-2-19 15:18 编辑 
你有没有尝试把下面AI去掉看看呢,因为一般性他们拿着弓本来就是远程攻击。而且我没记错的话 meleeattack是近距离攻击模式
我去看了下wikihttps://gitlab.com/SharkGirl_kun ... 5%AE%9E%E4%BD%93/AI
 
 
你看,的确是你AI写错了
2052926343 发表于 2022-2-19 14:58
2kulou:
Mobtype: skeleton
Display: '骷髅'
你有没有尝试把下面AI去掉看看呢,因为一般性他们拿着弓本来就是远程攻击。而且我没记错的话 meleeattack是近距离攻击模式
我去看了下wikihttps://gitlab.com/SharkGirl_kun ... 5%AE%9E%E4%BD%93/AI
 
你看,的确是你AI写错了