Talk:Slime/Archive 2

Spawning algorithm
Does anybody have the spawning code for slimes? I've been wondering in what conditions they spawn for a slime spawning room. I know that they only spawn in some chunks, and below 16 on the y axis, at any light level, but how much room do they need? and how rare is it to find them in those certain chunks? Does the whole room need to be below 16 or just the floor? 05:17, 17 February 2011 (UTC)

Here it is (1.3_01):

Slimes are in the mob list with other monsters. As for other monsters, the same spawn procedure is taken for Slimes (other sources on this topic available). Again, as for other monsters and animals, a special check performed immediately after mob creation - if it passes, created slime gets added to the world and actually spawns:

check if(slimeSize == 1 OR difficulty > PEACEFUL) AND slimeRandom.nextInt(10)==0 AND chunkFancyRandom.nextInt(10)==0 AND slimePositionY < 16)

Simply put, only small slimes can spawn on peaceful, all slimes spawn below level 16, on any surface and with any lighting conditions. But chance of slime spawning reduced to 1/100 compared to other monsters, and additionally this chance is bound to the chunk in some fancy way:

chunkFancyRandom = new Random(WorldSeed +chnkX * chnkX * 4987142 + chnkX * 5947611 + chnkZ * chnkZ * 4392871L + chnkZ * 389711 ^ 987234911L)

One can probably create Java program that will take world seed and chunk coords and tell if this chunk can spawn slimes or not. I assume, roughly 1/10 of all chunks will be capable of slime spawning. --Rpahut 22:54, 17 March 2011 (UTC)

A little self-contradicting
I understand that this article is a little unstable due to the spawning being broken, but I think it kinda contradicts itself. For example, in paragraph 1, the article states "Small slimes apparently spawn in the peaceful difficulty.", yet in paragraph 6 it states "Currently, slimes cannot spawn naturally." Paragraph 5 ("There is currently a bug that causes slimes of any size to not be removed when switching to peaceful, unlike other hostile mobs. ") also feels a little awkward. This article seems to be providing information from when slimes spawned, as well as now that spawning is broken and this results in a little bit of contradicting information. Maybe I'm just making a big deal out of nothing, but what do you guys propose for fixing the article? --IKaleb 04:37, 25 November 2010 (UTC)
 * Fixed a bit of this, but can someone confirm the following:
 * Reports of slimes spawning in the upper layers of a snow biome.
 * Slime ability to climb ladders.
 * I've checked around GetSatisfaction but can't find anything and it's nigh impossible to find spawned slimes. --Gnu32 10:25, 28 January 2011 (UTC)
 * Now the page entirely contradicts itself
 * "Even as of Beta 1.3, Slime are able to spawn on peaceful(Glitch or bug maybe?). "
 * "They only spawn onward from easy to hard. They used to spawn on all difficulties, even peaceful. Later, this was fixed. "
 * Can someone check which it is? --Capt0z 07:24, 23 February 2011 (UTC)!

50 block slime
can someone add a pic of one?
 * Sign your comments, Mr. No-name. And here is your 'pic' LB 02:54, 20 February 2011 (UTC)
 * and here is another great one: Godzilla Slime LB 03:25, 20 February 2011 (UTC)
 * "Mr. No-name."... good one. Im Tygor97.

PS. Thanks!

32 health
How should we act on the 32 health issue we have with the big slime?--Kizzycocoa 17:19, 22 December 2010 (CST)

Still Spawning?
I keep getting slimes spawning in this room even though it says slimes no longer spawn? Multiplayer, y coordinate of 7, and I don't think there's any mods. --Kaseki 02:51, 7 January 2011 (UTC)

Slime released
Hello!! It's necesary to add the date/update when the Slime was released as a mob. (Ex.: Seecret Friday 7)

If is possible, please add it on this article.

Thanks!! Bye. Kingpowl 16:01, 14 January 2011 (UTC)


 * Done, and done. Shay 16:05, 14 January 2011 (UTC)


 * Thanks. I would add the date (past), when I saw her in "Version History", but you added it. Thanks ;) Kingpowl 16:08, 14 January 2011 (UTC)

Citation for rare slime spawning
I don't know how to cite stuff, but I have it right here:

An employee said that slimes are back in the game but very rare. --PurpleKiwi 22:00, 23 January 2011 (UTC)
 * Done. – ultradude25  ( T at 22:07, 23 January 2011 (UTC)


 * can it be confirmed or is there a link/log of the cited employee saying this ? FuzzyWuff 05:26, 27 January 2011 (UTC)

We need some proof.
According to modders, slimes aren't in the mob spawn list, according to Mojang, slimes can spawn. It may be possible that slimes use a special way to spawn due to size,location restrictions. etc... but so far, nobody seems to have shown that slimes do actually spawn.. ConMan8 11:25, 30 January 2011 (UTC)

so are slimes back?
it says slimes can spawn again but are very rare so i was wondering has any one actually seen one yet?
 * I know right? I haven't seen one yet! I hope they make them more common. I want a little slime pet. I also want to put them in a big fenced off place and watch them while I'm waiting for day. --Eldonman101

Spawn
It says they spawn at level 16 or lower, does that mean light level or depth? user:tygor97
 * Depth/Y Coordinate. LB 02:57, 20 February 2011 (UTC)

Huge slimes
Iv been playing around with sing player commands and notice when spawning slimes iv only seen up to the size of large, are the huge slimes extremely rare, can anyone who has found a slime spawning spot take a look at this? Jrob 19:34, 7 February 2011 (UTC)
 * I don't know about their spawning code, but I'd venture to say that it may be because they need a lot of room to spawn. Just a guess though. Capt0z 08:00, 1 March 2011 (UTC)!
 * I have a room that should be big enough for huge slimes to spawn (it's spawned 1x1 and 2x2 thus far), but no sign of them. ...  Hold up, this one is too big to fit through a set of double doors.  Is this a huge slime? MyPsychosis 01:08, 23 March 2011 (UTC)

Slime Sizes
Exactly how big are these slimes normally? It says huge, big, normal, and small... but how do each of these measure in blocks? As a side note, they look just like Gelatinous Cubes from Dungeons & Dragons, I bet that was their inspiration. I'll add that to the trivia section. -- Techpriest88 00:36, 11 February 2011 (UTC)
 * I think that small is 1/2 block, medium is 1 block, and large is 2 blocks. [[File:Tjb0607SigIcon.png]] 05:19, 17 February 2011 (UTC)

Still spawning on peaceful
with beta 1.3_01 I have had slimes spawn on peaceful. Or at least, not despawn when switched to peaceful. The slimes that spawned were two of the big slimes and one of the normal slimes. It was in a very large room at bedrock. I can post a picture, but that wouldn't be proof that I was actually on peaceful. Can anyone else confirm this? If no one responds within a day or two, I will update the page to say "As of Beta 1.3 slimes can still sometimes spawn on peaceful, though whether this is due to special circumstances or a glitch is unknown."Zephyriphoenix 22:05, 23 February 2011 (UTC) They are most definitely spawning on peaceful for me. I have not switched off of peaceful and a normal slime spawned.Zephyriphoenix 22:17, 23 February 2011 (UTC) I just got threw playing, found some switched to peaceful and they stayed, even the two biggest ones, and they did damage, i would have video but i pressed stop recording instead of record on fraps. when i realised what i had just proven then lost the evidence i wanted to cry, i had buddys in single player but they all died, but ya they atleast stay after switching to peaceful and still do damage.Zach2beat 06:40, 27 February 2011 (UTC)

Spawning code?
I don't know how to obtain code from the jar file yet, would anyone mind finding(or telling me how to get) the code that controls slime spawning? Alphap 03:50, 24 February 2011 (UTC)

Slimes Do NOT Require Large Spaces
In fact, I've just confirmed they do not require any space at all. I had four small slimes (presumeably derived from a single suffocated medium slime) spawn INSIDE solid rock in a mining tunnel on an SMP server. They appeared at the corner of a turn in a 1x2 mining tunnel at level 10. The tunnel itself mines levels 11 and 12. They appeared as four numbers on F3 mode and were released when I dug down 1 space. They were arranged in a flat square, one of them on the corner, the others 1 tile away on the outside of the corner. Each one was inside solid rock and had to be pickaxed free.

Note that this was a mine designed explicitly to avoid the occurrence of slimes. There are no cave connections whatsoever and the mine is laid out so that no space is more than a single tile wide, including the staircase and landings.

Maloncanth 06:30, 2 March 2011 (UTC)

Splitting info is wrong
I took out a slime with arrows, which do 2 hearts damage, and it split into subslimes. What's the actual damage threshold for whether a slime splits or not? Yomikoma 21:42, 16 March 2011 (UTC)

Slimes respawning
I am a bit confused as to how slimes respawn, exactly. Please let me know which of these, if any, are true: 1) Each slime only spawns once. (If you kill a slime, you cannot go find another unless you find a new spawn.) 2) Slimes do not disappear. (If you leave a slime in an enclosed area, it will stay there until killed.) I have an enclosed slime on ground level to test 2. I seem to have disproved 1 myself: after capturing the one slime, I killed all the others. Now there are more down in my mine in the same place where I found the originals. Does this mean that if a slime spawn is found, it will continue to provide slimes for eternity? MyPsychosis 01:17, 23 March 2011 (UTC)

Slimes spawn at level 16 and below if there's room (or maybe room isn't needed). There's no such thing as a "slime spawn". JesusChrist666 01:19, 23 March 2011 (UTC)


 * I think (correct me if I am wrong) that there are areas on a map in which mobs spawn more frequently? It may be totally random though, I'm not sure. Fai 01:28, 23 March 2011 (UTC)

No, it's based on light level (except Slimes). JesusChrist666 01:36, 23 March 2011 (UTC)