#entity go to unloaded chunk
1 messages · Page 1 of 1 (latest)
No, but you could track its location and then load the chunk that the entity is in to use it. You would just keep a lot of entities in the world.
you can have something called tick entities but that means that chunk is loaded 24/7
elaborate more pls
show docs
ive never made one but im pretty sure its just an entity with the tick component
is there is quite a few entities it can be really performance heavey
I think the minecraft:persistent:{} component that might prevent unloading
will the entity still have its behaviour ?
yes
You should check the docs for it
On this topic of loading chunks what is the best method to "pre-load" chunks currently?
Currently trying to dynamically assign and remove ticking areas to remain under the built-in 10 ticking area limit while also not overwriting player defined ticking areas.
Also saw there is TickingAreaManager but this is in Beta currently so waiting for it to go full stable
Oh yes, forgot about tickingAreaManager it got added in late preview. It is really useful
ig there can only be 10 or something amount ticking area u can have
idk it said sth when i used to use /tickingarea
Yes tickingAreaManager will fix some of the issues with /tickingarea but right now making your own system that manages tickingareas just with /tickingarea or using an entity with the tick_world component are your best options.