Talk:Slime

Slimes attacking other mobs now?
The trivia section mentions that slimes will only attack players. However, I am observing that large slimes appear to be attacking iron golems as of 1.8. Can anyone verify if the trivia section needs to be updated? 97.90.132.228 22:17, 7 April 2015 (UTC)

Verified for 1.11.2, Magma Cubes, too Torzod (talk) 19:56, 19 March 2017 (UTC)

Hoax
The trivia section says that slimes do not prevent you from sleeping. This is suspicious, and possibly a hoax. Please attempt to verify this. 108.216.23.230 02:01, 7 May 2015 (UTC)
 * Verified. Ghasts too, and most likely Magma Cubes. The code checks for the "mob" base class, but Slimes and Ghasts don't extend this class. Anomie x (talk) 10:32, 7 May 2015 (UTC)

Big slime required spawning space
On the wiki page it says that big slimes need only a 2,5 block high space to spawn in, however the minecraft forum thread that is used as a source claims that this is 3 blocks. Many tutorials on youtube also stick to 3 blocks high when it comes to spawning big slimes. Which is correct?

Herkio (talk) 00:38, 16 December 2015 (UTC)

Leasoncre (talk) 09:51, 20 January 2016 (UTC) tested in 1.8 flat world, big slime requires 2.5 vertical air blocks to spawn

Verify information
or someone else with knowledge of the code, would you be able to confirm the information in this article, especially what is marked with a verify tag? Many thanks. –Goandgoo ᐸ Talk Contribs 07:56, 20 January 2016 (UTC)
 * Of the stuff marked with "verify", checked in 1.8.8:
 * At the same time they fixed stuff like wither skeletons not spawning in 2-high spaces, they presumably fixed slimes. The bounding box requirement is just that the bounding box of the mob-to-be-spawned doesn't intersect any entities, block bounding boxes, or liquids (this is separate from the other checks described in Spawning). The slime's size is correctly described under Slime: "its dimensions are 0.51 blocks times its size in each dimension", and since the mobs spawn at (X.5, Y.0, Z.5) the figures later in the paragraph are generally correct but leave out that a partial block like a ladder on the far side of one of the edge blocks won't stop the mob from spawning there.
 * As for the AI, the slime has four "routines": float, attack, move (MCP calls it "face random"), and nothing (MCP calls it "hop").
 * "Float" makes the slime swim when in water or lava, by having it jump with an 80% chance per tick.
 * "Attack" makes the slime try to attack its target for 300 ticks (or until it no longer has a living target). Targets (players or iron golems) are found as usual, using the generic.followRange attribute which for slimes is 16 plus a random bonus of 0–5%.
 * "Move" makes the slime jump in a random direction when it's on the ground, not in water or lava, and has no attack target. It picks a new random direction every 40–99 ticks of the AI routine (but note the routine won't tick while the slime is in the air after jumping). There is no limit on the angle by which the direction changes.
 * "Nothing" takes effect when all of the above don't apply (i.e. it's in the air and has no target), and doesn't do anything interesting.
 * Also of note is that the slime will wait on the 10–29 ticks after landing from a movement-hop or 3–9 ticks after landing from an attack hop (i.e. the article is more or less correct on that point). This is done by the movement code itself, it just ignores the AI routines saying "jump" for the specified number of ticks.
 * And magma cubes have 4 times the delay: 40–116 ticks for a movement-hop or 12–36 ticks for an attack hop.
 * It is correct that slimes will still move when no players are nearby. The usual stopping is done by the random-wander AI routine just refusing to run, which slimes don't use.
 * The slime's jump distance isn't directly controlled by the size. The generic.movementSpeed is, and that affects how fast it moves while jumping, which affects the distance.
 * The bit about most mobs (specifically the ones that use the generic "attack on collide" AI routine) attacking at a rate of 1 attack per second is true. These mobs also only attack their target on collision. But slimes attack any player or iron golem they collide with on every collision regardless of time elapsed or whether they're actually targeting the attacked mob; mercy invulnerability limits it to 1 actual hit per half-second per entity.
 * You could theorize that most mobs' attacks are a punch or bite or whatever, while slimes are some kind of acid that hurts anything they bump into. There is, of course, no support for that in the game beyond the mechanics of how the different mobs' attacks function.
 * Slimes jump the same as all mobs when jumping (initial upward velocity is 0.42 normally, and 0.04 when in lava). Magma cubes, on the other hand, jump higher depending on their size (initial upward velocity is 0.42 + size * 0.1 normally, and 0.22 + size * 0.05 when in lava).
 * Other magma cube differences from slimes: immune to fire, armor is 3× slime's, their render brightness is not affected by external light level, they have "flame" particles instead of "slime" particles, they drop magma cream as described in magma cube rather than slime balls, there's something MCP calls a "squish amount" that gets adjusted differently, magma cubes completely ignore falling (no damage, no fall-damage sound, no footfall sound, no ground particles, no damage to ridden entities either; but note slimes get special sound and particles from a different mechanism that magma cubes still apply), even the tiny size can deal damage, attack strength is slime's + 2, different sound events, always makes a slime sound when landing (normal slimes only do it for size 3+).
 * HTH. Anomie x (talk) 14:33, 20 January 2016 (UTC)


 * Wow, thanks for all the information that you've found on the slimes. Would you be able to update the article accordingly and perhaps add some of this information which is not currently in the article? Or perhaps if some of it is too detailed it could perhaps be added to the tutorial article. –Goandgoo ᐸ Talk Contribs 01:01, 21 January 2016 (UTC)


 * ? –Goandgoo ᐸ Talk Contribs 01:56, 6 February 2016 (UTC)


 * It might be better for someone else to do the writing. Anomie x (talk) 12:51, 6 February 2016 (UTC)


 * ? Perhaps you could help remove the verify tags and add some of Anomie x's info? –Goandgoo ᐸ Talk Contribs 01:44, 7 February 2016 (UTC)


 * I can try to work it into the article, though with the amount of information here I most likely won't have enough time until Monday. – KnightMiner  t/c 03:42, 7 February 2016 (UTC)

Global height limitation on spawning
So as I was playing around with commands and mob spawners I noticed that a slime mob spawner will not spawn moms on the surface, it seems only at the Y positions it would if it were a slime chunk. --68.43.16.96 19:00, 8 February 2016 (UTC)

Slimeballs in PE
The history section does not tell when slimes started dropping slimeballs, and the slimeball page doesn't indicate this either. In 0.9.0, slimeballs existed, but they could only be obtained using inventory editing. Does anyone know when slimes first dropped slimeballs? The BlobsPaper.png 04:30, 16 January 2017 (UTC)

Confirmed they can climb ladders
Community members on the Discord server tested it on Java & Bedrock. Slimes can climb ladders. --HelenAngel (talk) 00:40, 14 November 2017 (UTC)

Maximum Spawning Level
If the maximum spawning height level is 40 and I build a platform at height level 39 will Slime spawn on that platform? T1Cybernetic (talk) 19:51, 13 February 2018 (UTC)

I don't know where to ask this, but I have the same question. The page says that slimes spawn "below layer 40". When I stand on my highest platfrom, debug screen says: "XYZ: ... 40 ..." and when I look at the spawning platform F3 says "Looking at: ... 39 ...". I would say that such platfrom is below layer 40 (y of the platform is 39). Is this true? Will the slimes spawn on this layer? 89.142.156.68 23:18, 17 April 2018 (UTC)


 * They will, assuming you are in a slime chunk or swamp biome though. jjlr (talk) 23:42, 17 April 2018 (UTC)


 * Thanks. I am in a slime chunk. I am not so sure. Now I've opened a copy of my world in the MCEdit, deleted everything except one/highest spawning platform (16x16) and put fences all around and also through the middle of the platform. I made a 6 blocks wide part with "XYZ: ... 39 ..." and "Looking at: ... 38 ..." and the rest - 9 blocks wide part with "XYZ: ... 40 ..." and "Looking at: ... 39 ...". And I see slimes spawning only in the smaller 6 blocks wide part that is one block lower, and absolutely no spawns in the larger part. 89.142.156.68 17:19, 18 April 2018 (UTC)


 * Someone else had the same question in 2012 :) And he came to the same conclusion as I have - slimes spawn only on layer 38 and below ("below layer 39") - that is feet level has to be 39 ("XYZ: ... 39 ...") and if you look at the spawn block you get "Looking at: ... 38 ...". 89.142.156.68 17:31, 18 April 2018 (UTC)


 * The air block they spawn in must be below level 40. If the floor is at 39, the air block on top is at level 40, thus they cannot spawn in it. - Princess Nightmoon (Splash Potions.gifLingering Potions.gif) 17:37, 18 April 2018 (UTC)