#Need help with entity
1 messages · Page 1 of 1 (latest)
Once you have finished, please close your thread.
how about the minecraft:movement?
Yea i have also added this
let me check
did you write it as minecraft:random_stroll or minecraft:behavior.random_stroll?
2nd one
there is
minecraft:behavior.random_stroll,
minecraft:movement.basic,
minecraft:navigation.walk,
how about minecraft:jump.static?
it probably doesn't affect your mobs much if you're not making it able to jump
?
are there any errors on the logs?
I havent seen yet
but is it active?
try sending the code so i can see what's wrong
Can i send you the behaviour pack and resouce packs link?
maybe just the mob behavior
Oh ok
Ok
im presuming you're editing appleman?
No it was an test
oh
can you tell how can i get ore defined lines in vscode
Which extensions and which commands in terminal
Like if if do "minecraft" then it tell me more
After minecraft
I think there is a plugin for that
Which?
Now what about my entity?
so first of all
Yes
the required ones are :
minecraft:behavior.random_stroll
minecraft:movement
minecraft:movement.basic
minecraft:jump_static
the ones you dont need are :
minecraft:move_to_random_block
Ok
And how can i add animations in my code like i have made animations and downloaded also can you explain in detail pleasee
"minecraft:jump.static": {},
"minecraft:movement.basic": {},
"minecraft:movement": {
"value": 0.3 or any float number
},
"minecraft:behavior.random_stroll": {
"priority": 7
}
for animations you need to use resource packs
and then add an animation to your entity in the mob.entity.json file
the mob is changed to your mob name
or you could just use playanimation if you're using commands
No i want that if he move then his hands should move
I have recorded the animation how i add in code?
use the animate in scripts
wait
"format_version": "1.10.0",
"minecraft:client_entity": {
"description": {
"identifier": "namespace:mob_name",
"materials": {
"default": "entity_alphatest"
},
"textures": {
"default": "textures/entity/corrupted"
},
"geometry": {
"default": "geometry.humanoid.custom"
},
"animations": {
"move": "animation.humanoid.move"
},
"scripts": {
"animate": [
{
"move": "query.modified_move_speed"
}
]
},
"render_controllers": ["controller.render.default"],
"spawn_egg": {
"base_color": "#550055",
"overlay_color": "#1D0058"
},
"enable_attachables": true,
"hide_armor": false
}
}
}
just change the namespace to anything except minecraft and the mob name to your mob, then after that change the animation of your mob movement to the animation you want it to use
This in which folder?
This?
yep
In where?
or you could use the wiki
Animations folder?
in the resource pack/entity folders
Oh ok
the animations are for your animations
while the entity folders are for the visuals of your mob
I need to add animations
you can add new animations by putting another one below the walk
Ok le me try and tell you tomorrow
alright
yes
change the animation.test.move to your animation
you should be able to see the name of your animation in blockbench
and after that save you animation from blockbench then move it to the animations folder
you can learn more in wiki.dev
I have to create a animations folder?
Any other folder or only this
put your animation file in the animations folder
animation controllers are in the animation_controllers folder
you should separate them so its easier to search
Folder?
if youre not using them yet you dont need to
Ok
Ok
the animation controller is more complicated and is used for more advanced animations
Oh ok
but for now you should just focus on the entity files and the animation files
if you need more information, you can see them in the website below
?wiki
Ok thanku
@dreamy island
what
which option i have to select to make a bedrock edition entity in block bench like there are bedrock entity java item modded entity which i have to select ????
for bedrock you select the bedrock entity or block, depending on your needa
java items are only for java
item
make a bedrock entity
no
then????
well
its entity there
what are you trying to do
and?
i want to add it in game
is it a 3d model?
yes
you need to use attachables
what are they/
the things that appear when you use a item or armor
you should see for yourself in the wiki
?attachables
oh ok
Attachables are a system in resource packs to give items custom models and animations when held.
https://wiki.bedrock.dev/items/attachables.html
?items
Items have a totally new, and completely different format in 1.16.100 and higher. The largest difference between the two (outside of component differences) is that there is no longer any resourcepack item file.
Be sure to move any and all components from your resource file to your behaviour file. Do mind that certain ones are updated in their syntax, such as render_offsets (see ?render_offsets) and icon, the latter seen in the following example:
"minecraft:icon": {
"texture": "jade_katana"
}```
Learn about new items here: https://wiki.bedrock.dev/items/items-16.html
ok thanku
those two are required
ok
and also you probably should close this thread now that the problem is solved
👍