We all know about animals despawning. I could also say 4J know about it too because of the topics on the forum. So can they not tinker with the spawn code with animals so they don't, you know, despawn. Why not have a certain amount of animals in each world then if the player starts killing them the game knows to spawn more.
only on occasion they do that but that was before the patch, have not really played long enough to see it this time though...><
Right now I can't even confirm they still do or do a Houdini or something.
And why? well probably not have narrowed the problem down enough to fix it. At least there are plenty of animals at the moment, as later there will not be. Never had a problem with them spawning, so I am not too worried about the despawning at the moment since it did not truly do too much to begin with on my maps, namely on my old map...
Rollback Post to RevisionRollBack
My First World, always getting back to is a pleasure I enjoy with each new update that brings in more things to add in.
The Meaning of Life, the Universe, and Everything.
Join Date:
10/6/2011
Posts:
55
Member Details
Yeah. They are still despawning for me too. In fact, I didn't really have too much of a problem with it until the update. I just made a new barn on my new world. When I got some sheep, after I breeded them I turned round and when I looked back there were only 3 left. 2 babies and a parent. The furthest i walked was maybe 50 blocks to my house.
Edit: i read on other posts to have small pens. i have tried this and it seems to be working for me. the largest pen i have right now is 5x12 and the smallest is 4x4. will see if this theory hold up. so far so good. 20+ sheep, 6 cows, 10 pigs, & 4 chicks. all seem to be sticking around......for now.
4J has made animal spawning and despawning on the Xbox 360 Edition unique.
The way it works on the PC is that animals spawn when a chunk generates. They don't despawn ever, at all. The only way to get rid of them is to kill them. Also, they will only respawn back very, very, very rarely.
When people heard that this was the system we were getting in 1.8.2. yet we weren't going to have breeding to make up for, almost everyone started complaining. So to fix it, 4J made it so that animals didn't despawn but they would respawn like before 1.8.2 when they're killed.
Now, our spawn/breeding system is like a mix. Animals despawn if they can move more than 20 blocks in a direction. Meaning, you need to trap animals in a 20x20 to stop them from despawning. If your cage/fence/pen is any larger, then the animals will despawn.
Now, our spawn/breeding system is like a mix. Animals despawn if they can move more than 20 blocks in a direction. Meaning, you need to trap animals in a 20x20 to stop them from despawning. If your cage/fence/pen is any larger, then the animals will despawn.
Just to add to your point MG, with a question really.
Can animals move diagnally? If so, then a pen 19x19, will be longer than 20 from corner to corner. So IF they can move diagnally, then in theory, they'll be moving like 30, or summit. (Can't be bothered working the exact number out) And so, despawning.
You're right if we were talking about measuring distance - the hypotenuse (diagonal) would be longer than the sides (A squared + B squared = C squared with A and B being sides and C being hypontenuse/diagonal of the right triangle). So square with sides of 19 meters would have a diagonal of a little less than 27 meters.
But in minecraft we are not talking about distance measurements - we are talking in number of blocks. A square of 19 x 19 blocks has a diagonal of 19 blocks because the diagonal of each block is also longer than the sides.
I just had horrible flash backs of my high school maths teacher. LOL
IF a mob went from corner to corner though, but not in a perfectly straight line, it could be possible to travel more than 20 blocks distance. Cause it'd be passing through more than the 19 blocks.
I think it's safe to say that a pen of 5x5 - 10x10 would be the best bet.
The other problem could be: When 4J were testing the game, they input a 'no clipping' cheat, to see how the underground was. . . and they forgot to turn it off!
I just had horrible flash backs of my high school maths teacher. LOL
IF a mob went from corner to corner though, but not in a perfectly straight line, it could be possible to travel more than 20 blocks distance. Cause it'd be passing through more than the 19 blocks.
I think it's safe to say that a pen of 5x5 - 10x10 would be the best bet.
The other problem could be: When 4J were testing the game, they input a 'no clipping' cheat, to see how the underground was. . . and they forgot to turn it off!
Just to add to your point MG, with a question really.
Can animals move diagnally? If so, then a pen 19x19, will be longer than 20 from corner to corner. So IF they can move diagnally, then in theory, they'll be moving like 30, or summit. (Can't be bothered working the exact number out) And so, despawning.
Make sense?
That may apply actually. All Padware (Paddy Burns) had to say about it was this...
If an animal can't move more than 20 blocks in any direction, it shouldn't despawn.
He said any direction, so it may mean diagonal as well. If you make a pen that is 19x19, then the animals can only move 17 diagonal. So they wouldn't despawn.
That is 19x19, and there are only 17 diagonal spaces. There is no way in a 19x19 pen that animals could move more than 20 blocks in any direction.
4J has made animal spawning and despawning on the Xbox 360 Edition unique.
The way it works on the PC is that animals spawn when a chunk generates. They don't despawn ever, at all. The only way to get rid of them is to kill them. Also, they will only respawn back very, very, very rarely.
When people heard that this was the system we were getting in 1.8.2. yet we weren't going to have breeding to make up for, almost everyone started complaining. So to fix it, 4J made it so that animals didn't despawn but they would respawn like before 1.8.2 when they're killed.
Now, our spawn/breeding system is like a mix. Animals despawn if they can move more than 20 blocks in a direction. Meaning, you need to trap animals in a 20x20 to stop them from despawning. If your cage/fence/pen is any larger, then the animals will despawn.
We know this. Why doesn't 4J fix it? Are microsoft charging them for updates now?
It isn't broken. That is how the spawn system is made now.
It's not broken but its frustrating because they despawn even after we cage them! It would be fine if we had 1.7 animal respawning but with them respawning when killed then they don't despawn that would be a lot better. Or, from my perspective, there should be a cap on how animals there have to be until they respawn. So lets say there are 60 pigs in the newly generated world, and the cap until they don't spawn anymore is 65. The world later respawns 5 pigs and they do not respawn anymore. Then when you kill pigs and it becomes 60 pigs left in the world the game knows to spawn 5 more. I think this would be a better solution to this problem.
That may apply actually. All Padware (Paddy Burns) had to say about it was this...
He said any direction, so it may mean diagonal as well. If you make a pen that is 19x19, then the animals can only move 17 diagonal. So they wouldn't despawn.
That is 19x19, and there are only 17 diagonal spaces. There is no way in a 19x19 pen that animals could move more than 20 blocks in any direction.
makes me wonder why one will despawn from a 11x11 pen then...O_o Haven't had any after the update, but before that was the size of the pen or well fenced in area.
it would have been easy to see a red cow wander off as it does not spawn in the area. So I know it did not glitch through the fence. Of course fences have their own problems, but I have not really had many problems with fences...
Anyway from the looks of it that radius or what ever might just be fixed... well at least looking that way for me. Then again I really wouldn't know since haven't played world long enough to know yet...><
Rollback Post to RevisionRollBack
My First World, always getting back to is a pleasure I enjoy with each new update that brings in more things to add in.
We all know about animals despawning. I could also say 4J know about it too because of the topics on the forum. So can they not tinker with the spawn code with animals so they don't, you know, despawn. Why not have a certain amount of animals in each world then if the player starts killing them the game knows to spawn more.
Learn2MemoryManagement.
Converting MC from Java (which automatically manages memory... Sorta) to C++ is not exactly as 1-2-3 easy as you would think. Dynamically allocating memory for entity spawning in a way that doesn't cause an "out of memory" exception is not exactly an small task.
Previously, my mobs used to despawn all the time, even in small pens.
When playing last night, I started a new seed and decided to try out the mob pens. This was on nomal, on survival. I made two pens, next to each other, both were 7x6. (So 6x5 inside space). I had 2 cows in 1, and 2 pigs in the other. Bred them, and ate the child when it grew up . . . that sounds a tad wrong doesn't it?
Either way, I went mining, came back every 30 mins or so, and they were still there. I haven't tried exiting and reloading yet, they may still be gone.
My point is, I had the despawing problem all the time. Not anymore though. I feel sooooo lucky.
Oh, MG. Nice pic by the way.
Just thinking, if you go from the top right of the pen, to the square that is 3rd up from the bottom left, then youi'd be passing through 21 blocks in total, although not whole blocks. . . . . (Use a ruler on your screen if you don't believe me )
Maybe this could contribute to mobs vanishing from pens smaller than 20x20?
try making it fence all the way around with no block walls for the fence. i don't know if it was what fixed my problem but my cows stopped despawning after i made a complete fence all the way around them
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Right now I can't even confirm they still do or do a Houdini or something.
And why? well probably not have narrowed the problem down enough to fix it. At least there are plenty of animals at the moment, as later there will not be. Never had a problem with them spawning, so I am not too worried about the despawning at the moment since it did not truly do too much to begin with on my maps, namely on my old map...
Edit: i read on other posts to have small pens. i have tried this and it seems to be working for me. the largest pen i have right now is 5x12 and the smallest is 4x4. will see if this theory hold up. so far so good. 20+ sheep, 6 cows, 10 pigs, & 4 chicks. all seem to be sticking around......for now.
The way it works on the PC is that animals spawn when a chunk generates. They don't despawn ever, at all. The only way to get rid of them is to kill them. Also, they will only respawn back very, very, very rarely.
When people heard that this was the system we were getting in 1.8.2. yet we weren't going to have breeding to make up for, almost everyone started complaining. So to fix it, 4J made it so that animals didn't despawn but they would respawn like before 1.8.2 when they're killed.
Now, our spawn/breeding system is like a mix. Animals despawn if they can move more than 20 blocks in a direction. Meaning, you need to trap animals in a 20x20 to stop them from despawning. If your cage/fence/pen is any larger, then the animals will despawn.
Just to add to your point MG, with a question really.
Can animals move diagnally? If so, then a pen 19x19, will be longer than 20 from corner to corner. So IF they can move diagnally, then in theory, they'll be moving like 30, or summit. (Can't be bothered working the exact number out) And so, despawning.
Make sense?
But in minecraft we are not talking about distance measurements - we are talking in number of blocks. A square of 19 x 19 blocks has a diagonal of 19 blocks because the diagonal of each block is also longer than the sides.
See, who says video games aren't educational!
I just had horrible flash backs of my high school maths teacher. LOL
IF a mob went from corner to corner though, but not in a perfectly straight line, it could be possible to travel more than 20 blocks distance. Cause it'd be passing through more than the 19 blocks.
I think it's safe to say that a pen of 5x5 - 10x10 would be the best bet.
The other problem could be: When 4J were testing the game, they input a 'no clipping' cheat, to see how the underground was. . . and they forgot to turn it off!
And I agree - smaller pens are probably a very good idea.
He said any direction, so it may mean diagonal as well. If you make a pen that is 19x19, then the animals can only move 17 diagonal. So they wouldn't despawn.
That is 19x19, and there are only 17 diagonal spaces. There is no way in a 19x19 pen that animals could move more than 20 blocks in any direction.
makes me wonder why one will despawn from a 11x11 pen then...O_o Haven't had any after the update, but before that was the size of the pen or well fenced in area.
it would have been easy to see a red cow wander off as it does not spawn in the area. So I know it did not glitch through the fence. Of course fences have their own problems, but I have not really had many problems with fences...
Anyway from the looks of it that radius or what ever might just be fixed... well at least looking that way for me.
I've never had this problem. I've been breeding and capturing animals on one of my worlds and they haven't despawned at all.
Learn2MemoryManagement.
Converting MC from Java (which automatically manages memory... Sorta) to C++ is not exactly as 1-2-3 easy as you would think. Dynamically allocating memory for entity spawning in a way that doesn't cause an "out of memory" exception is not exactly an small task.
When playing last night, I started a new seed and decided to try out the mob pens. This was on nomal, on survival. I made two pens, next to each other, both were 7x6. (So 6x5 inside space). I had 2 cows in 1, and 2 pigs in the other. Bred them, and ate the child when it grew up . . . that sounds a tad wrong doesn't it?
Either way, I went mining, came back every 30 mins or so, and they were still there. I haven't tried exiting and reloading yet, they may still be gone.
My point is, I had the despawing problem all the time. Not anymore though. I feel sooooo lucky.
Oh, MG. Nice pic by the way.
Just thinking, if you go from the top right of the pen, to the square that is 3rd up from the bottom left, then youi'd be passing through 21 blocks in total, although not whole blocks. . . . . (Use a ruler on your screen if you don't believe me
Maybe this could contribute to mobs vanishing from pens smaller than 20x20?