#I want to make a flying entity, which can fly low and high but also walk

1 messages · Page 1 of 1 (latest)

cerulean nest
#

You can use the wiki to work out how to add flying behaviour, and similar to the phantom I’m sure there’s a swoop ability that can be applied to fly low. To transition to walking, you need to add a walking component group and remove flying depending on when you want to walk or fly

spring pelican
#

its peaceful entity

#

Forget it, it could be like a parrot, but it doesn't fly, it just keeps jumping without flying

cerulean nest
#

This could help

spring pelican
#

its for riding

cerulean nest
#

You can add a seat component

spring pelican
#

nvm, thx

cerulean nest
#

Read the page it says how you can use the horse jump mechanic to raise and lower flight

spring pelican
cerulean nest
#

Ah okay. Peaceful doesn’t matter if you mean it’s not dangerous then just don’t add any attack components. As for automatic flying, you can adjust the levitation effect based on its y level

spring pelican
cerulean nest
#

Again, wiki page tells you how to do this

#

/effect @e[type=example:flying_entity,y=64,dy=10] levitation 2 3

spring pelican
#

Ah thanks!

cerulean nest
#

But then for different y levels apply different amounts of levitation and slow falling

#

Maybe add tags when you want to drop to lower y levels, target entities with these tags to only get levitation up to a lower y level

spring pelican
spring pelican
cerulean nest
#

I linked it above, might not be perfect but always useful to read as teaches you a lot

#

It might only be about controlling the flying entity tho, so not that useful for you I guess

spring pelican
#

ok

spring pelican
#

i crtl c parrot json.

spring pelican
#

the fly like bee you to make?