#Entity attack like player? :D
1 messages ยท Page 1 of 1 (latest)
u can use this but you need to replace the identifiers into your mob's identifier
also the
model
I see, like for example.. Gura, use her entity id
vtber:gura?
This is in its animation behaviour
{
"format_version": "1.8.0",
"minecraft:client_entity": {
"description": {
"identifier": "vtber:greek_gura",
"materials": {
"default": "skeleton"
},
"textures": {
"default": "textures/entity/pamobile/vtber_greek_gura"
},
"geometry": {
"default": "geometry.vtber_greek_gura"
},
"scripts": {
"pre_animation": [
"variable.tcos0 = (Math.cos(query.modified_distance_moved * 38.17) * query.modified_move_speed / variable.gliding_speed_value) * 57.3;"
]
},
"animations": {
"look_at_target_default": "animation.humanoid.look_at_target.default",
"look_at_target_gliding": "animation.humanoid.look_at_target.gliding",
"look_at_target_swimming": "animation.humanoid.look_at_target.swimming",
"move": "animation.humanoid.move",
"riding.arms": "animation.humanoid.riding.arms",
"riding.legs": "animation.humanoid.riding.legs",
"holding": "animation.humanoid.holding",
"brandish_spear": "animation.humanoid.brandish_spear",
"charging": "animation.humanoid.charging",
"attack.rotations": "animation.humanoid.attack.rotations",
"sneaking": "animation.humanoid.sneaking",
"bob": "animation.humanoid.bob",
"damage_nearby_mobs": "animation.humanoid.damage_nearby_mobs",
"bow_and_arrow": "animation.humanoid.bow_and_arrow",
"swimming": "animation.humanoid.swimming",
"use_item_progress": "animation.humanoid.use_item_progress",
"skeleton_attack": "animation.skeleton.attack"
},
"animation_controllers": [
{
"look_at_target": "controller.animation.humanoid.look_at_target"
},
{
"move": "controller.animation.humanoid.move"
},
{
"riding": "controller.animation.humanoid.riding"
},
{
"holding": "controller.animation.humanoid.holding"
},
{
"brandish_spear": "controller.animation.humanoid.brandish_spear"
},
{
"charging": "controller.animation.humanoid.charging"
},
{
"attack": "controller.animation.humanoid.attack"
},
{
"sneaking": "controller.animation.humanoid.sneaking"
},
{
"bob": "controller.animation.humanoid.bob"
},
{
"damage_nearby_mobs": "controller.animation.humanoid.damage_nearby_mobs"
},
{
"bow_and_arrow": "controller.animation.humanoid.bow_and_arrow"
},
{
"swimming": "controller.animation.humanoid.swimming"
},
{
"use_item_progress": "controller.animation.humanoid.use_item_progress"
},
{
"skeleton_attack": "controller.animation.skeleton.attack"
}
],
"spawn_egg": {
"texture": "vtber:greek_gura_spawn_egg",
"texture_index": 0
},
"render_controllers": [
"controller.render.skeleton"
],
"enable_attachables": true
}
}
}
The last few bits has this tidbit, I think I need to remove the skeleton stuff?
"skeleton_attack": "controller.animation.skeleton.attack"
}
],
"spawn_egg": {
"texture": "vtber:greek_gura_spawn_egg",
"texture_index": 0
},
"render_controllers": [
"controller.render.skeleton"
],
"enable_attachables": true
}
}
}
yea
thats the thing
that makes your mob attack like a zombie.
Yeah I noticed. So I can just remove while replacing with the reference right?
u can do some workarounds ig
if you dont mind me asking what is the animation.humanoid.bob? lol, if i just imported this into my pack and changed the identifiers and texture would it work?
bob? that's like the idle animation for players or humanoid entities.
ohhh okay loll
thank you
well idk what ur trying to do but its kinda unnecessary to do so lol
oh i just wanted a mob that attacks like a player lol
ah ok then its completely unrelated to it lol
the bob anim is like the arms swaying for a bit.
ohh loll