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)


 * Perhaps I'm missing something because all the code isn't there, but the snippet you show doesn't seem to limit which chunks slimes spawn in. chunkFancyRandom is just a Random.  Those polynomials in chnkX and chnkZ are setting the seed, it still ought to have a 1/10 chance of returning a 0, to satisfy the test given, *unless* that Random is created each time exactly the same way and used, e.g, only once.  Is that what's happening, or is the chunkFancyRandom held onto while the server is running? If it's only used once, then the use of Random is just a fancy way of hashing the polynomial, and yeah only 1/10 of chunks will spawn slimes... Drlucky 03:45, 22 June 2011 (UTC)

It appears as though they need a space of 4x4x4, although this is purely from personal experience. -Harishimomo

This may be new in Beta 1.4 but I was playing recently and discovered that medium slimes also spawn on peaceful. This happened three times. - parameciumkid


 * Many people have been reporting that for quite a while. I have a couple questions that might help narrow it down.  Thanks.  --Theothersteve7 17:55, 21 April 2011 (UTC)
 * Had you changed the difficulty recently?
 * SMP or SSP?
 * Running any mods? (probably irrelevant)

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) I'm not sure if they can or cannot spawn in Multiplayer, but small slimes can spawn on any difficulty under y of 16, if I know correctly.Stinkbug22-Putting STINK in STINKBUG 01:12, 27 March 2011 (UTC)

Slimes do spawn in SMP.Los Bastardos 10:56, 8 May 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

triangle1: i found 2 the other day (huge slmes)

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)

It was likely a glitch with the server, but i could be wrong. i have been on servers where slimes randomly appeared at the bottom of the ocean 0.0 - Hairshimomo, April 3

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)


 * I can confirm this. Killing a normal or small slime with an iron sword causes enough damage for it not to split into more slimes, but killing a big one with an iron sword will cause it to split into four big ones. While it only takes one hit from an iron sword to kill a big, normal or small slime, it takes two hits from an iron sword to take out a huge one, which will then cause it to split. There seems to be a different damage threshold per slime based on their size size. I'll try and remember to test out the varying amounts of damage needed to cause each size of slime not to split later on today. Eraiya 07:54, 12 April 2011 (UTC)


 * Great news! I've got it. Here are the results; "will/won't" = will/won't split into 4 slimes, wooden/stone/iron/diamond in the non-tool sections always = swords, 1/2/3 = number of hits.


 * Small
 * Anything kills, even a single punch or hit with a wooden shovel


 * Normal
 * 1 diamond won't - 3 heart overkill
 * 1 iron won't - 2 heart overkill
 * 1 stone won't - 1 heart overkill
 * 1 wooden will - 0 overkill


 * Big
 * 3 stone won't - 1 heart overkill
 * 2 diamond won't - 2 heart overkill
 * 2 iron will - 0 overkill
 * 1 iron then 1 diamond won't - 1 heart overkill
 * 1 diamond then 1 iron won't - 1 heart overkill
 * 1 diamond then 1 stone will - 0 overkill
 * 1 diamond then 2 wood won't - 1 heart overkill
 * 1 diamond, 1 wood then 1 stone won't - 2 heart overkill


 * Big, tools
 * 1 diamond sword, 1 wooden sword then 1 iron shovel won't - 0.5 heart overkill
 * 2 stone sword then 1 diamond pickaxe won't - 0.5 heart overkill
 * 1 iron sword, 1 wooden sword, 1 iron shovel then 1 stone shovel won't - 0.5 heart overkill


 * Normal, tools
 * 1 wooden axe then 1 wooden pick won't - 0.5 heart overkill
 * 2 punches then 1 wooden axe won't - 0.5 heart overkill
 * 1 wooden axe then 1 punch will - 0 overkill


 * Whether or not a slime splits when it dies is determined by how much damage you deal on the final blow. If you deal just barely enough damage to kill a slime without causing extra damage, it WILL split. If you deal even half of a heart more damage than necessary on the final blow, it will NOT split. Eraiya 20:38, 12 April 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)

Above comment?? I have found slimes in only one place on my server, but found them there twice. The location is a cave about 6 blocks high and 8ish wide, at most 20 long, with a smallish (5x8) lava pool at one end. The first time I found slimes there, the entire room was filled with slimes of varying sizes. I flooded the chamber with lava and killed them all. A few weeks later, I just found one more big slime in the same exact chamber. It jumped into the lava pool trying to reach me and then split. They do split from lava/fire damage. So I guess this means the light in that chamber is perfect for them to spawn? Any other thoughts? Morocris 18:24, 1 April 2011 (UTC)

Slimes do currently despawn.
Tested by going to the Nether and back to the surface world from a different portal a very long distance away (saving and closing, then reopening the game), then returning back to where the slimes were enclosed. They were gone.
 * That may be the nether switch mechanic, or the distance mechanic causing this. The "despawn" reference is referring to the fact that were you to sit and watch them they never go away. Darkid 11:17, 29 March 2011 (UTC)

slimes are common to spawn by lava

In muliplayer, there was a small slime under the public mine (F3), i've dug, seen a Slime. Came yesterday and today, the small slime is still there. C ali nou - talk × contribs » 08:02, 12 April 2011 (UTC)

Slimes do not currently *naturally* despawn like other mobs. There is some amount of confusion here, I suspect due to the fact that previous (more) buggy versions of the Slimes wouldn't despawn when killed. That bug, really a glitch on SMP servers due to client side issues, has been fixed. This may or may not be related to the fact that you can see slimes at distances greater than 72 units, unlike any other mob. It seems likely that this feature may have been due to a desire by the developers to have slimes remain present even when in confined spaces where they are unable to move, a state which would cause most mobs to be despawned at some rate. This leads to other downstream issues: as the slimes increase in number but never decrease naturally (or very rarely do), the number of hostile mobs that spawn on the surface or in caves diminishes to nothing. Perhaps (and this is an editorial suggestion) it might be better to include a separate count for slimes, limiting their number AND giving them a fixed lifetime, not a conditional one... Blichte1 07:19, 13 April 2011 (UTC)

small slimes aren't harmless
Because slimes spawn near lava, even small slimes can be dangerous because it can push you into lava. I got killed like this ounce :< Maybe someone should add this info, im not good enough in english to make it good. --Msichal 16:10, 2 April 2011 (UTC)


 * That's like saying tamed wolves/sheep/pigs/cows/chickens are harmful because they can push you. Only if the slime purposely pushes you in the direction of a hazard could it be considered worth mentioning. – ultradude25 ( T at 22:46, 2 April 2011 (UTC)

Slime consistency
Just a small question- would slimes be essentially slick like water or Ice, or sticky like mud? If the former, a possible use of the slimeballs could be for greasing minecarts so that they move as if they were occupied while empty. Thoughts? Nathan Hale 03:35, 27 April 2011 (UTC)


 * Errggh I wouldn't want slime to grease my minecarts, I'd rather use oil. Slimeballs could be used as blind balls which could impair movement to mobs, perhaps? --R  ocĸetor talk  06:33, 27 April 2011 (UTC)


 * Notch has stated that slime is "bouncy," players have suggested slimeballs should be used through a furnace to become "sticky." Plus we now have powered rails for what you're asking. -Doirdyn 17:59, 15 June 2011 (UTC)

Is it safe to add crafting recipe for sticky piston?
Not sure if it's been brought up yet, but the new video shows how pistons/sticky pistons are created and I thought it would be worth noting on the Slime page. -Doirdyn 17:55, 15 June 2011 (UTC)

The page for the future item of Pistons already mentions that sticky pistons are the first use for slimeballs and links to the page. It think having this makes it important to add this information, at least as a link. -Jakechs 20:02, 16 June 2011 (UTC)

Slime in mine
I got some slimes spawned in my mine (tunnels of 2x2 .. don't know exactly how long they are). See the two screenshots for detail (sorry if external images aren't allowed .. I'm not so fit in wiki stuff) - there's like 1 main tunnel with the ones going to the side where the slimes spawned (actually had 3 of them - I think medium ones.)

- the main tunnel

- one tunnel going to the side - this is the one, where the slimes spawned

So there is nothing even close to 9x9x4. I don't know if it was a bug or if slimes now spawn in 2x2x? rooms. Beta 1.6.6, 5 above Bedrock.

Decay42 00:48, 16 June 2011 (UTC)

Ambiguous wording?
Does anyone know what this means (From the end of the first paragraph) Slimes are also only able to spawn in particular chunks and not in others. I have no idea what this means, what it's supposed to mean, or any citation for this. Does anyone else have an idea?- Jakechs 20:05, 16 June 2011 (UTC)


 * Slimes can only spawn in certain chunks, which are decided by the terrain generator. Father  Toast  20:23, 16 June 2011 (UTC)

Terraria reference not needed
I feel this following sentence is not needed "Many players have reported Terraria, another indie game somewhat similar to Minecraft, used to have a very large Slime Spawnrate, when they were first introduced." It adds nothing to the article about slimes, considering its about minecraft, and not about Terraria. I have removed it. Furcas 15:29, 20 June 2011 (UTC)

Spawning Techniques and possibly an altered code soon...
I've recently been wondering; since the new update for Minecraft Beta 1.7 will include a use for Slime Balls for Sticky Pistons, does that mean that the spawn code for them will be altered for Slimes to where it will be easier for players to obtain Slime Balls, make it so that Slimes have a higher spawn rate, and people will be able to find them easier and make Sticky Pistons. I've only found ONE the entire two years playing Minecraft, and I blew my chance by punching it back into a lava pit and losing its drops. I was recently wondering (because I have a large, and I mean large, open mine at bedrock, stretching roughly 5 or so blocks high,) if there are any really easy ways to make Slimes spawn there. The only issue I think would be lighting since the walls are rather stretched in the mine itself, but I was wondering if I could hollow out small rows for lava trenchers covered by glass to make them have a high light level to spawn. Could anyone give me any videos, tips, or anything I'm missing to make this work, because I'm really excited for the new update and hope that I can mess around with the pistons a bit. K12machinima 00:34, 21 June 2011 (UTC)

As For technique, I have started with a 9x9x4 high well lit room in multi-player, and then added water, it began spawning slimes. Also in a nearby room that had BOTH water, and lava Blocks in it, slime spawns were seen. I have also seen slime spawns in single-player but always near water, and mostly then flowing water. It is my thought that Slimes need at least water, but may also be affected by the presence of both flowing water, and lava. after expanding my spawner room to include the lava, and water area, I get more, and larger spawns of slime. so time for everybody to begin the experimenting of slime spawners. TucksterZ 15:11, 27 June 2011 (UTC)
 * I'm pretty sure the presence of water/lava doesn't matter. You just need to be near bedrock level. --Warlock 15:20, 27 June 2011 (UTC)

@Warlock; I'm pretty sure that they need more than just bedrock. I've made mines at bedrock before that are large and spacious without torches. I think I'll try making little lava tubes with glass protecting them, along with a few smaller channels of water around the area so that I can see what helps more. I'm just wishing that Notch would finally add 1.7 for once so I can try out the new stuff. Thank you for all the response though. I'll go try out the lava and water method to see what happens. K12machinima 12:00, 27 June 2001
 * Someone posted the spawning algorithm above. I doubt it has changed much since then.  It doesn't make any sense to check the surrounding blocks for anything - it just needs enough room to spawn and needs to be below layer 16.  I have a huge room that goes decently deep (not to bedrock but close) and slimes spawn in there all the time.  There is no flowing water or lava.  --Warlock 19:36, 27 June 2011 (UTC)

Forgot to mention It was floored at bedrock, and it is just a theory... so the arguments have begun. There is a check of some sort in the code, and there might be more code behind it that we are not seeing. Test it and see if your spawns change, I was just sharing my thoughts on the issue, based on my game experience. TucksterZ 01:19, 28 June 2011 (UTC)

I seem to create slime spawning areas by mining out a 3 high cavern at level 12, usually with lava pockets around, although im not sure if they are needed as I have replaced a few with obsidian. Hope this helps with the spawning method. Furcas 18:54, 28 June 2011 (UTC)