I was AFK for a couple of hours in my 1.13.2 game (peaceful survival), and when I returned, a wolf was sitting in my sheep pen in the midst of mutton chops and blocks of wool. The rascal had slaughtered all my sheep and he was so full he could hardly move. I fetched some bones and tamed him, but I was wondering how he managed to get into the pen in the first place. The pen is made of fence on a flat surface (no raised blocks nearby) and the gate was closed. On one fencepost I had placed a piece of carpet so that I could get in and out without opening the gate. I assumed that mobs couldn't use this mechanism, but I have to assume that either wolves can, or that they can jump over fences.
Or can he have spawned directly inside the sheep pen?
That is an interesting theory that I hadn't even considered! I had found two wolves earlier in the day swimming around in a nearby sunken pond (right near the sheep pen), and I provided earth blocks so they could climb out. I assumed that the wolf in the sheep pen was one of those guys, but maybe not.
I don't know how likely it is with only one wolf and one piece of carpet, I tested with a pen full of wolves with carpet on the fence all the way around and when I spawned sheep outside it some of the wolves got out though most of them got caught under the carpet.
The ones that got out may well only have done so because other wolves were getting in their way and they couldn't get close enough to the fence to get caught under the carpet.
But they do jump when trying to get at sheep and if they jump towards the carpet from a little bit away they can get over it.
You could try putting a block on top of the fence with ladders on either side instead.
Interesting Torx Hexalobular,
Do you think, because of the carpet, this route was considered by the path-finding algorithm? Or is it more probable the wolf has jumped onto the carpet only by accident?
Rollback Post to RevisionRollBack
Please, support the sledgehammer tool!
I ♥ Linux. Thanks Mojang for providing a game that runs natively on that OS!
Regardless of how the wolf got in wish I wish I wish I had had the presence of mind to make a screenshot of him standing in the midst of all the wool and mutton. It was the funniest thing I have experienced in Minecraft.
Interesting Torx Hexalobular,
Do you think, because of the carpet, this route was considered by the path-finding algorithm? Or is it more probable the wolf has jumped onto the carpet only by accident?
To date, mobs ignore carpet on fences (and ladders and vines) but can use them 'by accident' ie if pushed against the block by crowding or making a random movement.
Rollback Post to RevisionRollBack
"Why does everything have to be so stoopid?" Harvey Pekar (from American Splendor)
WARNING: I have an extemely "grindy" playstyle; YMMV — if this doesn't seem fun to you, mine what you can from it & bin the rest.
Foxes can jump over fences to get chickens, but I don't know about wolves trying to get sheep, nothing in the wiki about it that I found. Sure is a strange occurrence.
Rollback Post to RevisionRollBack
D_B
To tell them how to live is to prevent them living.
(I suppose the mob's pathfinding algorithm was reverse-engineered -- or is the current knowledge only based on empirical observations?)
My statement was based on personal observation supporting various posted material concerning use of carpet_on_fence, ladders, and vines.
Given that mobs neither climb ladders/fences (other than minimally, rapidly dropping off), nor escape fenced enclosures with carpet on the fence, even at or above the entity cramming limit; I feel safe in making the assertion.
I don't recall seeing a definitive analysis of the behavior based on code-diving/reverse-engineering, nor did a brief search bring one to light.
(Should anyone be able to point to such, I would be quite interested…)
Rollback Post to RevisionRollBack
"Why does everything have to be so stoopid?" Harvey Pekar (from American Splendor)
WARNING: I have an extemely "grindy" playstyle; YMMV — if this doesn't seem fun to you, mine what you can from it & bin the rest.
I was AFK for a couple of hours in my 1.13.2 game (peaceful survival), and when I returned, a wolf was sitting in my sheep pen in the midst of mutton chops and blocks of wool. The rascal had slaughtered all my sheep and he was so full he could hardly move. I fetched some bones and tamed him, but I was wondering how he managed to get into the pen in the first place. The pen is made of fence on a flat surface (no raised blocks nearby) and the gate was closed. On one fencepost I had placed a piece of carpet so that I could get in and out without opening the gate. I assumed that mobs couldn't use this mechanism, but I have to assume that either wolves can, or that they can jump over fences.
Or can he have spawned directly inside the sheep pen?
Please, support the sledgehammer tool!
I ♥ Linux. Thanks Mojang for providing a game that runs natively on that OS!
That is an interesting theory that I hadn't even considered! I had found two wolves earlier in the day swimming around in a nearby sunken pond (right near the sheep pen), and I provided earth blocks so they could climb out. I assumed that the wolf in the sheep pen was one of those guys, but maybe not.
Wolves can get over a fence with carpet on top.
I don't know how likely it is with only one wolf and one piece of carpet, I tested with a pen full of wolves with carpet on the fence all the way around and when I spawned sheep outside it some of the wolves got out though most of them got caught under the carpet.
The ones that got out may well only have done so because other wolves were getting in their way and they couldn't get close enough to the fence to get caught under the carpet.
But they do jump when trying to get at sheep and if they jump towards the carpet from a little bit away they can get over it.
You could try putting a block on top of the fence with ladders on either side instead.
Just testing.
Interesting
TorxHexalobular,Do you think, because of the carpet, this route was considered by the path-finding algorithm? Or is it more probable the wolf has jumped onto the carpet only by accident?
Please, support the sledgehammer tool!
I ♥ Linux. Thanks Mojang for providing a game that runs natively on that OS!
It seemed accidental to me, otherwise I'd think they should have all gotten out.
Just testing.
Regardless of how the wolf got in wish I wish I wish I had had the presence of mind to make a screenshot of him standing in the midst of all the wool and mutton. It was the funniest thing I have experienced in Minecraft.
To date, mobs ignore carpet on fences (and ladders and vines) but can use them 'by accident' ie if pushed against the block by crowding or making a random movement.
Do you have some reference about that?
(I suppose the mob's pathfinding algorithm was reverse-engineered -- or is the current knowledge only based on empirical observations?)
Please, support the sledgehammer tool!
I ♥ Linux. Thanks Mojang for providing a game that runs natively on that OS!
Foxes can jump over fences to get chickens, but I don't know about wolves trying to get sheep, nothing in the wiki about it that I found. Sure is a strange occurrence.
D_B
To tell them how to live is to prevent them living.
My statement was based on personal observation supporting various posted material concerning use of carpet_on_fence, ladders, and vines.
Given that mobs neither climb ladders/fences (other than minimally, rapidly dropping off), nor escape fenced enclosures with carpet on the fence, even at or above the entity cramming limit; I feel safe in making the assertion.
I don't recall seeing a definitive analysis of the behavior based on code-diving/reverse-engineering, nor did a brief search bring one to light.
(Should anyone be able to point to such, I would be quite interested…)