Too long; didn’t read: Villagers/golems seem to crowd village walkways(/sidewalks/pathways) more intensely by the edge of said walkway. Meaning building massively wide walkways to alleviate traffic might not work. To maximize walkway usage and speed, you should probably build pathways 3 blocks wide.
The rest of this post explains in detail.
The long 'story':
I was messing around with villages and was wondering how wide I should have the walkways be. Is a 5 block wide pathway better than a 3 block pathway in terms of traffic congestion? Or is a 5 block wide pathway merely space inefficient because it has little effect on traffic congestion? I did some rough testing and came up with the following:
Note: I was playing with rivvest’s village revamp (see link and details at end of post). However it shouldn't really effect where villagers walk on a pathway.
To try to see how their traffic flows I made this map: (see figure 1)
Each home has 2 doors. Each door counts as a valid house (all requirements for it to be a house are met.) Each home is combined with 6 others to form a little ‘housing complex’. Each housing complex has 12 doors, which means minecraft counts it as 12 houses.
Each housing complex has varying amounts of space between itself and others. The space ranges systematically from 1 to 5 blocks.
The villagers are pretty good at getting themselves through traffic, when they are walking they will sometimes walk through other villagers walking in the opposite direction. However, when the villagers are socializing in the middle of the road or an iron golem is going through, the chatty villager/golem acts as a minor roadblock. Especially the golem, due to its larger size. The walking villagers will often push these roadblocks out of the way unless another villager is trying to push the roadblock in the opposite direction.
I have tested villagers a few times, and decided to use a sort-of-make-shift-step-counter. See figure 2.
figure 2. I positioned a few of these at each walkway to cross to the other half of the village. See figure 3.
I am aware that a villager/golem could slip through and not step on the pressure plate, I was not trying to be super thorough. I was assuming that a pedestrian would likely step on at least 1 pressure plate. I am also assuming iron golems are too big to slip by without activating at least 1 pressure plate, but I did not test that either. I was hoping none of them decide to have a dance party on the pressure plates .
Each time the pressure plate was activated, it triggered a dropper to drop at least 1 plank. See figure 4.
Each dropper was loaded with 64 planks. In order to start this test at the same time, I laid all the pressure plates at the same time via MCedit (see bottom of this post for link).
The logic behind the counters is that the most frequented pathways will yield droppers that have least remaining items. The most frequented pathways should tell us something about ideal walkway design for villages *sunglasses smiley*. To count the remaining blocks, I just waited by a busy dropper, and once it was nearly empty, I flew around the village, (pausing the game furiously to slow the villagers/golems from getting in extra steps on pressure plates) and quickly counted the remaining blocks.
Fig 5 (below) has the results as well as stating the compass rose directions and where the center of the village is (according to trunkz village info mod)
The walkway near top of the village (so the North end of the village) received roughly the same number of steps per plate, meaning that villagers don’t seem to have a preference towards the west or east side.
The 2nd most north walkway area received more steps on the west side plate. Said plate is also closer to the village center than the east plate.
The 3rd most to the north walkway (so the center of the village) received a lot more steps on the lower right.
The 4th most to the north walkway received fewer steps on the plates which were NOT touching the cobblestone wall.
The bottom/most south walkway of the village received fewer steps on the plates which were NOT in contact with the wall.
A little in depth analysis:
I ignored the most north walkway and the 2nd most north walkway for the next few calculations:
I summed up the amount remaining in the dropper of all of the plates touching a wall and divided them by the number (n) of plates touching a wall. (I got the average of the edge plates). 116/6 = 19.3
I did the same for non edge plates: 232/6 = 38.6.
To reiterate, the smaller the number of items remaining, the more frequented the area. The edge plates have the smaller number, meaning edge plates get more traffic.
Possible conclusion/what this means:
Villagers and golems seem to have preference towards the edges of buildings. Perhaps, if you build a walkway for them, if it is very big, (like 10 wide), there will likely be less traffic in the center, and high traffic near the edge of the walkway.
Therefore don’t build your walkways too big or small.
How many villagers/golems did you experiment on?
When I began this test, there were ~24 villagers and ~6 iron golems. I later bred them and had ~80 villagers and like ~16 golems.
What mods did you use?
Rivvest’s Enhanced Village and Mob performance (1.1.1b) http://www.minecraft...update-for-161/
This mod does have a large effect on villager behavior. However I wasn’t directly messing with aspects rivvest changed, so I’m betting this post is mostly applicable to vanilla minecraft. Plus afterwards, I watched villagers stroll in vanilla minecraft and they seemed to act the same.
Someone already did this AND found different results OR they don't do this in my game.
Maybe it's because I use optifine? haha, I doubt it but never know. Villagers may not always do this. Maybe the traffic is affected by the size/shape/distances/radius/iron golems/zombies/etc. I made this map symmetric and didn't interact with the villagers and kept zombies from interacting with them (well, I kept zombies behind the wood fence). Maybe that has something to do with it?
Someone already tested this.
Dang. For curiosity, can I have a link please?
Did you test anything else?
In contrast with that experiment, the west and east preferences/visits were nearly identical in this experiment (west 226, east 227). Additionally, there was a degree of more visits to the north (105/4 = 26.25) than south (303/9 = 33.6).
You didn’t test this very thoroughly.
I know. If someone wants to test this thoroughly, go ahead. If you want to use this info, feel free to use it as you please.