#How do I make entities render like the ender dragon?

1 messages · Page 1 of 1 (latest)

lime grotto
#

I’m creating an addon with a gigantic zombie (scale 30x) but it disappears when I get not even that far, I’ve noticed that the ender dragon doesn’t do this, how can I recreate this in my pack?

hushed cloak
#

And if so, it can't really be done
You can either bring the entity closer to the player with teleport or you can use an animation to animate them closer to the player

lime grotto
fossil pine
lime grotto
#

Even at the same time

fossil pine
#

if you use that runtime identifier you still can have your mob and ender dragon

lime grotto
#

Does runtime identifier even work?

fossil pine
#

Yeah, why not lols

#

The thing is that you are going to get the hitbox of the ender dragon on your entity as well

lime grotto
#

Eh, I’ll sort that out later

lime grotto
#

minecraft:runtime_identifier doesn’t work under components

fossil pine
#

it is not supossed to be under components

#

you can put it below "identifier"

lime grotto
#

And I tried runtime_identifier in components and in description

fossil pine
lime grotto
#

Still becomes invisible after like 100 blocks

#

Or less

fossil pine
#

can you send a pic?

lime grotto
#

It’s like 60 blocks tall

#

In some of the addons I’ve seen I could probably go like ten million blocks away and it would still render, even out of render distance. Even though it would be too small to see

fossil pine
#

I mean, at the same distance

lime grotto
#

Idk

fossil pine
#

bc on your photo I only see the zombie

lime grotto
#

I think it makes it like 20 blocks bigger

fossil pine
lime grotto
#

But I need it to be seen much further

#

The ender dragon can still be seen even this far away

fossil pine
lime grotto
fossil pine
fossil pine
lime grotto
#

Also using any events for the witherstorm with /event also returns success on the Ender dragon but does nothing

fossil pine
# lime grotto

I don't think the image you sent is thousands of blocks away, but anyway, this add-on uses the ender dragon runtime.

lime grotto
hushed cloak
lime grotto
hushed cloak
#

Yes, because editing the ender dragon, in this case, works through adding component groups and properties to make the ender dragon and your entity essentially 2 separate entities in 1

fossil pine
#

Why would you edit the ender_dragon entity file if the rendering is hardcoded? 🤔

hushed cloak
fossil pine
#

Oh, are you talking about the RP entity? Even so, it wouldn't make much sense to start from the geometry of the ender dragon to create a giant zombie

#

the only thing that this guy needs is the custom render of the ender dragon, which can be obtained with the runtime identifier

hushed cloak
lime grotto
dry grove
#

can just use component groups in the bp and queries to in the rp files to condtionally swap between models/textures

hushed cloak
hushed cloak
willow cedar
#

just found out render controllers are limited tho, at a certain number they start to not showing etc so if you want a ton of entities seenable from far away, I recommend trying something else. other wise here is how it looks (ender dragon lod) @lime grotto

willow cedar
hushed cloak
#

And you've heard of the animation method?

willow cedar
hushed cloak
#

The entity's actual hitbox is the thing that can't render from afar but you can use animations to simulate bringing it closer

willow cedar
#

that would just kill the tps

#

maybe it's lighter than ender dragons for like 4 player and 4 planes but with a lot of planes, the ender dragon way will run smoother

#

@hushed cloak @lime grotto btw nvm, you can stack as many render controllers as you want, it was an error in my code, just figured it out and it works so yeah you can basically scale it as much as you want but the cost is to diseable the ender dragon in your mod

#

wich I don't care cause im making war addons

cerulean idol
deep fractal
deep fractal
# willow cedar reed the messages bro 😭

I see sorry for that, but even though you didn't show some thing to provide, whether you use the animation to make the model go further away or using any complex rendering entity distant whatsoever

willow cedar
#

cause it really complicated but 100% worth it

visual mountain
#

if you think with a method of how you will do that without using the ender dragon as the base entitie how you will do it?

#

you can try make animations with far distance of the entity getting closer (the entity needs to follow the player always i think)

#

i heard someone do something like that but causes lag qwq