#Need help with entity

1 messages · Page 1 of 1 (latest)

ruby hinge
#

I have made a entity from block bench and i have coded him to minecraft:random_stroll , minecraft:movement.basic , minecraft: navigation.walk but my entity in game is not walking around why?

tardy sequoiaBOT
#
Thanks for asking your question!

Once you have finished, please close your thread.

dreamy island
#

how about the minecraft:movement?

ruby hinge
dreamy island
#

let me check

#

did you write it as minecraft:random_stroll or minecraft:behavior.random_stroll?

dreamy island
#

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

ruby hinge
#

I have applied all

#

But nothing happend

dreamy island
#

try revisiting the wiki or testing your mobs again

#

wait no

ruby hinge
#

?

dreamy island
#

are there any errors on the logs?

ruby hinge
#

I havent seen yet

dreamy island
#

but is it active?

ruby hinge
#

What?

#

I use vscode

dreamy island
#

try sending the code so i can see what's wrong

ruby hinge
#

Can i send you the behaviour pack and resouce packs link?

dreamy island
#

maybe just the mob behavior

ruby hinge
#

Ok

dreamy island
#

why is there 2 navigation behavior?

#

1 is enough

ruby hinge
#

Oh ok

dreamy island
#

and movement could just use the value

#

no need for max

ruby hinge
#

Ok

dreamy island
#

im presuming you're editing appleman?

ruby hinge
#

No it was an test

dreamy island
#

oh

ruby hinge
#

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

dreamy island
#

I think there is a plugin for that

ruby hinge
#

Which?

dreamy island
#

It's called Blockception

#

someone also had the same question as you

ruby hinge
#

Now what about my entity?

dreamy island
#

so first of all

ruby hinge
#

Yes

dreamy island
#

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
ruby hinge
#

Ok

#

And how can i add animations in my code like i have made animations and downloaded also can you explain in detail pleasee

dreamy island
#
"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

ruby hinge
#

No i want that if he move then his hands should move

#

I have recorded the animation how i add in code?

dreamy island
#

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

ruby hinge
#

This in which folder?

dreamy island
dreamy island
dreamy island
#

or a reference

ruby hinge
#

In where?

dreamy island
#

or you could use the wiki

ruby hinge
#

Animations folder?

dreamy island
ruby hinge
#

Oh ok

dreamy island
#

the animations are for your animations

#

while the entity folders are for the visuals of your mob

ruby hinge
#

I need to add animations

dreamy island
#

you can add new animations by putting another one below the walk

ruby hinge
#

Ok le me try and tell you tomorrow

dreamy island
#

alright

ruby hinge
#

@dreamy island i have to add my animations in code? Like that file

#

Animations.json

ruby hinge
#

How can i add?

#

And where i can

dreamy island
#

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

ruby hinge
#

I have to create a animations folder?

dreamy island
#

create a animations folder

ruby hinge
#

Any other folder or only this

dreamy island
#

put your animation file in the animations folder

ruby hinge
#

Animation controller also?

#

Or not

dreamy island
ruby hinge
#

I have to create that also

#

?

dreamy island
#

you should separate them so its easier to search

ruby hinge
#

Folder?

dreamy island
ruby hinge
#

Ok

dreamy island
#

basic animations like idle and walk doesn't need much

#

the entity files are enough

ruby hinge
#

Ok

dreamy island
#

the animation controller is more complicated and is used for more advanced animations

ruby hinge
#

Oh ok

dreamy island
#

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

gritty ginkgoBOT
ruby hinge
#

Ok thanku

ruby hinge
#

@dreamy island

dreamy island
#

what

ruby hinge
#

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 ????

dreamy island
#

for bedrock you select the bedrock entity or block, depending on your needa

ruby hinge
#

i have to make an itme

#

whati select?

dreamy island
#

java items are only for java

ruby hinge
#

item

dreamy island
ruby hinge
#

what do i select?

#

and then in code change the type to "item" ?

dreamy island
#

no

ruby hinge
#

then????

dreamy island
#

well

ruby hinge
#

its entity there

dreamy island
#

what are you trying to do

ruby hinge
#

i am trying to add an new item in game

#

a new pickaxe

#

i have made that pickaxe

dreamy island
#

and?

ruby hinge
#

i want to add it in game

dreamy island
#

is it a 3d model?

ruby hinge
#

yes

dreamy island
#

you need to use attachables

ruby hinge
#

what are they/

dreamy island
#

the things that appear when you use a item or armor

#

you should see for yourself in the wiki

#

?attachables

ruby hinge
#

oh ok

gritty ginkgoBOT
dreamy island
#

?items

gritty ginkgoBOT
#
1.16+ 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
ruby hinge
#

ok thanku

dreamy island
#

those two are required

ruby hinge
#

ok

dreamy island
#

and also you probably should close this thread now that the problem is solved

ruby hinge
#

👍