In some parts of my world (survival, solo and multiplayer turned off) thrown items fall in slow motion and they take some time to be able to be picked up, they're lagging but my fps don't drop that I've noticed, also some minecarts that are powered by rails move way too slow.
I've tried setting my render distance to the lowest and the simulation distance is at its lowest too I even turned off fancy leaves and everything else, it could maybe be caused by some allays I have hanging around but the thing is the lag or slowness only seems to be in zones where there are no allays, the zones where I have allays seem to be working fine. The problems started after the update.
In one of the videos I posted (2022061410181100_s_Trim.mp4) you can see that there are allays near me but the items drop at normal speed.
In the second video (2022061410090800_s_Trim.mp4) the allays are 40 blocks away in the X axis and the minecarts move too slow here, you can see me powering them and they move at an anormal speed and the golden carrot I dropped drops too slow too. I noticed the minecarts being slow even when I only had just one allay but I thought maybe the minecart got stuck and that's why it was moving slow, but the problem persisted and after that I noticed that the dropped items were falling slowly too.
In the third video (2022061410152400_s_Trim2.mp4) there are allays near me and the items drop at kinda normal speed even though it looks a bit slow, the issue seems more obvious in the second video.
Linked issues
is duplicated by 2
relates to 2
Attachments
Comments 4
So, I made a copy of my world and put in on creative to make some testing.
First I unleashed all allays and didn't have any other mobs in leads, this didn't make any difference.
Secondly, I removed the noteblock I had set the allays to deliver the items to, it was powered by a sculk sensor and the allays themselves set it up so the noteblock was on loop, this didn't stop the slowness of minecarts. Then I killed all the allays I had and unsurprisingly this got rid of the slowness of the minecarts and everything was back to normal, but kind of anticlimatic because I love my allays, so after that I spawned tons of allays and this didn't cause any slowness in the minecarts, then I gave them all (the same type of) seeds and this didn't cause slowness either, it was after I started dropping seeds that I noticed the minecarts were moving slow and the seeds I was dropping were falling slowly, but after the allays gave the seeds back to me everything seemed to be back to normal, so this got me wondering 'why is it that after the allays are finished returning the seeds the minecarts were moving normally again this time but why weren't they moving normally when the original allays that were holding the flowers were alive even if they weren't trying to reach items because I made sure to kill all dropped items?' [this test was inconsistent with the next one because the next test I gave them all the same item except this time I gave them "Allay Spawn Egg" instead of seeds and the only thing that changed was that I moved maybe 20 blocks to where this test was made].
After that, I made another copy of my original world and I took away all the items the allays were holding and this turned everything back to normal, then I killed all dropped items just to make sure they're not trying to reach for anything, then I gave them their items back and the minecarts were moving slowly back again, so I took all the items back and only gave items to 4 allays and it was enough the make the slowness effect of the minecarts come back. Then I killed these allays (that were the originals in my survival world), replaced them with 9 new ones and gave them all the same item, this time it took more allays with items to make the slowness come back.
So, in summary this bug makes minecarts and I noticed all redstone componentes to react slowly, also dropping items makes them fall in slow motion too, it probably has not much to do with leads, it's definitely the allays that were holding (different) items, the ones that were holding the same item caused less trouble and I made sure that there were no items they were trying to reach so it's different from the MCPE-147882 issue but definitely similar, maybe they're constantly searching for items even if there are no dropped items?
This still affects 1.20.40. I'm quite sure this has something to do with allays following their owner behavior. Try this with 20 allays. Give them all items to hold and tie them to a fence. It doesn't matter if you give them all the same item. While you are nearby, try dropping an item and it should be just fine as allays don't start searching their owner when the owner is nearby. Now move approximately 20 blocks away from the allays and drop an item again. You'll notice the item being dropped very slowly. The issue seems to be gone if there is a dropped item nearby that the allays are looking for but can't reach it because they are tied to a fence. This might be caused by allays prioritizing to take items before following the player according to the allay.json behavior file, so the lag occurs again as soon as the item that they are trying to reach is gone. If you remove the items from all of the allays, the lag should be gone too. I hope this will be fixed soon.
Additional info: I tried to remove the follow_owner component in the allay.json behavior file and the lag is gone. I think this follow_owner behavior needs to be improved in terms of performance especially when the can_teleport property is false. If I remember correctly, allay is the only mob that follows the owner without teleporting currently. If this doesn't get fixed, it might affect future incoming mobs as well imo.
From the videos it looks like this might only happen when allays are attached to leads and trying to move toward items. Could that explain why it happens in specific areas for you?