mojira.dev

Not given

Assigned

No issues.

Reported

MCPE-165494 Bedrock, 1.19.51 lags making the game unplayable, autosave should be configurable Duplicate MCPE-103728 PNJ are no more harvesting (I know how this is working (I knew it seem)) Duplicate

Comments

Hello

A simple and possible fix: Before fixing this issue, please add an option to configure the autosave (time or disable). The game crashes very rarely (for me sometime when the console is too hot in summer). Such an option should be a breath of fresh air.

 

Or maybe some ideas:
1 - I guess there is an event queue that can't be unstacked fast enough. Maybe it could be possible to either mark some events as discardable or stop to enqueue less important events when queue is too hudge. That way, the game could be able to recover real time faster. Events such as sound, evolution of wolrd (growth, water, lava etc.) are not so important compared to the gameplay.

2 - Auto reduce the display distance during autosave if it is possible to detect latency.

3 - Save the chunks in memory then use a thread to save on the card (I'm sure you tried or thought about that).

4 - Maybe the pathfinding is too consuming. A good pathfinding should not block the thread, but compute a little part of the path.I wrote such an efficient pathfinder for minecraft (mod making pnj act as guards) years ago on slow devices, and in fact I've never saw any mob standing. And the distance travelled was the max possible (loaded chunks). (modification of a-star able to compute in repeated small calls rather than all at once).

Hope this could help, even if I'm probably far from what you've already tried.

 

Thanks

 

Hi

 

You're right. I'm very sorry for the bad report (due to my upset mood which was not a valid reason).

As an answer,

-> I know that the villager's inventory is empty (flat world created, spawn egg).

 

The villager stays in front of potatoes and carrots and is doing nothing.

He do not share potatoes or carrots with other pnj.

When I throw him seeds, he plants them.

 

When he has plenty of seeds he plants them.

In another test with a new PNJ spawned, empty field (nothing planted) the PNJ was inactive (which I could expect since the PNJ has no chance to harvest and probably have no seed).

Then gave him back somme seeds -> he plants but does not harvest neither he does share its inventory (empty I guess since I've made all for this).

 

I can agree that my report is a duplicate of MCPE-80084 except that the PNJ does not jump like in the video of this report (in fact the world in real flat, there is no need to jump).

Very sorry again and thanks for your smart and polite answer.