Minecraft Wiki

The Minecraft Wiki is no longer considered as official by Microsoft and therefore several changes are required to be made, including to the wiki's logo. Please read this announcement for more information.

READ MORE

Minecraft Wiki
Advertisement
Minecraft Wiki
This article is about the mob. For the item it drops, see Slimeball. For the block created with slimeballs, see Slime Block. For other uses, see Slime (disambiguation).
Slime
Slime JE3 BE2.png
Health points

Big: 16♥ × 8
Medium: 4♥♥
Small: 1♥

Behavior

Hostile

Attack
strength

Easy:
Big: 3♥♥
Medium: 2♥
Small: 0♥
Normal:
Big: 4♥♥
Medium: 2♥
Small: 0♥
Hard:
Big: 6♥♥♥
Medium: 3♥♥
Small: 0♥

Hitbox size

Big:
Height: 2.08 Blocks
Width: 2.08 Blocks
Medium:
Height: 1.04 Blocks
Width: 1.04 Blocks
Small:
Height: 0.52 Blocks
Width: 0.52 Blocks

Spawn

see § Spawning

Slimes are bouncy, cube-shaped hostile mobs that spawn deep underground in particular chunks, or at night in swamp biomes.

Spawning[]

Slimes spawn in the Overworld in specific "slime chunks" below layer 40, regardless of light levels. They can also spawn in swamp biomes between layers 50 and 70 in light levels of 7 or less. (Levels 50-70 tend to be near the surface.)

Only sizes 1, 2, and 4 (NBT Size tag values 0, 1 and 3 respectively) spawn naturally. With use of /summon, slimes can potentially range from size 1 to 256 (NBT Size tag 0–255)/1 to 128 (NBT Size tag 0-127)

Like most other hostile mobs, slimes do not spawn within 24 blocks (spherical) of any player, despawn over time if no player is within 32 blocks, and despawn instantly if no player is within the despawn radius (128 blocks in Java Edition, 44 to 128 blocks in Bedrock Edition depending on simulation distance[verify]).

A slime needs roughly a 3×2.1x3 free space to spawn. The area in which the slime spawns in must be clear of solid or liquid obstructions. When a slime attempts to spawn, the game checks for the space requirement of a large slime, and the size is determined later. Therefore, since large slimes are slightly taller than 2 blocks, no slimes, regardless of size, are able to spawn at all in 2-block-high areas. Also, since large slimes are slightly wider than 2 blocks, and mobs spawn at the center of a block, having any block within the 3×2.1x3 area, even as thin as a glass pane, can prevent a slime of any size from spawning.

Slime size is affected by regional difficulty: chances range from 33% for each size at the low difficulty to 16% small, 33% medium, and 50% big with higher difficulty.

Slime Spawning On Light-Emitting Blocks
Icon Block Can Spawn
Beacon JE6 BE2.png Beacon No
Campfire JE2 BE2.png Campfire No
Conduit JE1 BE1.png Conduit No
End Gateway JE2 BE1.png End Gateway (block) No
End Portal.png End Portal (block) No
Glowstone JE4 BE2.png Glowstone No
Fire.png Fire No
Lava JE5.png Lava No
Lava Cauldron JE1.png Cauldron containing lava No
Jack o'Lantern (S) JE4.png Jack o'Lantern Yes
Lantern JE1 BE1.png Lantern No
Lit Redstone Lamp JE3 BE2.png Redstone Lamp Yes
Respawn Anchor (Charges 1) JE1.pngRespawn Anchor (Charges 2) JE1.pngRespawn Anchor (Charges 3) JE1.pngRespawn Anchor (Charges 4) JE1.png Respawn Anchor Yes
Sea Lantern JE1 BE1.png Sea Lantern No
Sea Pickle 1 JE1 BE1.pngSea Pickle 2 JE1 BE1.pngSea Pickle 3 JE1 BE1.pngSea Pickle 4 JE1 BE1.png Sea Pickle No
Shroomlight JE1 BE1.png Shroomlight No
End Rod (U) JE2 BE2.png End Rod No
Cave Vines Plant (berries) JE1 BE1.pngCave Vines (berries) JE1 BE1.png Glow Berries Yes
Torch JE6 BE2.png Torch Yes
Lit Blast Furnace (S) JE1.png Blast Furnace Yes
Lit Furnace (S) JE4.png Furnace Yes
Lit Smoker (S) JE1.png Smoker Yes
Candle JE1 BE1.pngTwo Candles.pngThree Candles.pngFour Candles.png Candle No
Glowing Obsidian BE1.png Glowing Obsidian Yes
Nether Portal (EW).gif Nether Portal (block) No
Soul Campfire.png Soul Campfire No
Soul Fire.png Soul Fire No
Soul Lantern.png Soul Lantern No
Soul Torch JE1.png Soul Torch Yes
Ender Chest (S) JE2 BE2.png Ender Chest No
Glow Lichen (D) JE2.pngGlow Lichen (E) JE1.pngGlow Lichen (N) JE1.pngGlow Lichen (S) JE1.pngGlow Lichen (U) JE1.pngGlow Lichen (W) JE1.png Glow Lichen Yes
Redstone Torch JE4.png Redstone Torch Yes
Amethyst Cluster (U) JE1.png Amethyst Cluster No
Large Amethyst Bud (U) JE1.png Amethyst Bud Yes
Magma Block JE2 BE2.png Magma Block No
Brewing Stand.png Brewing Stand No
Brown Mushroom JE2 BE2.png Brown Mushroom Yes
Dragon Egg JE1 BE1.png Dragon Egg No
End Portal Frame (S) JE5 BE2.png End Portal Frame No
Inactive Sculk Sensor JE1.png Sculk Sensor No
Light 0 BE1.pngLight 1 BE1.pngLight 2 BE1.pngLight 3 BE1.pngLight 4 BE1.pngLight 5 BE1.pngLight 6 BE1.pngLight 7 BE1.pngLight 8 BE1.pngLight 9 BE1.pngLight 10 BE1.pngLight 11 BE1.pngLight 12 BE1.pngLight 13 BE1.pngLight 14 BE1.pngLight 15 BE1.pngLight 0 JE3.pngLight 1 JE3.pngLight 2 JE3.pngLight 3 JE3.pngLight 4 JE3.pngLight 5 JE3.pngLight 6 JE3.pngLight 7 JE3.pngLight 8 JE3.pngLight 9 JE3.pngLight 10 JE3.pngLight 11 JE3.pngLight 12 JE3.pngLight 13 JE3.pngLight 14 JE3.pngLight 15 JE3.png Light Block No

Swamps[]

In swamps, slimes may spawn at night between the heights of 50 and 70 when the provided light level is 7 or less. They spawn most often on a full moon, and never on a new moon. Slimes spawn in the normal swamp, but not in any variants.

More precisely, the game checks two factors:

  1. If the light level is equal to or less than a random integer (from 0 to 7)
  2. If the fraction of the moon that is bright is greater than a random number (from 0 to 1)

If these conditions are met and the altitude is acceptable, there is a 50% chance of spawning a slime.

"Slime chunks"[]

Slimes spawn throughout the world (except mushroom islands) below level Y=40 regardless of light level, but only in certain chunks; 110 of all chunks.

Java Edition[]

In Java Edition, these "slime chunks" are determined pseudo-randomly by combining their chunk coordinates with the seed of the world:

import java.util.Random; 

public class checkSlimechunk{ 

    public static void main(String args[]) 
    { 
        // the seed from /seed as a 64bit long literal
        long seed = 12345L;
        int xPosition = 123;
        int zPosition = 456;

        Random rnd = new Random(
                seed +
                (int) (xPosition * xPosition * 0x4c1906) +
                (int) (xPosition * 0x5ac0db) +
                (int) (zPosition * zPosition) * 0x4307a7L +
                (int) (zPosition * 0x5f24f) ^ 0x3ad8025fL
        );

        System.out.println(rnd.nextInt(10) == 0);
    } 
}

That is, using the chunk coordinates to help generate a seed, a random number between 0 and 9 inclusive is generated. If that number is 0, the chunk can spawn slimes. To convert world coordinates to chunk coordinates, divide by 16 and round down. Note that xPosition, and zPosition are 32-bit integers (ints).

Bedrock Edition[]

The slime chunk algorithm in Bedrock Edition is different from in Java Edition. The algorithm doesn't depend on the world seed, thus the chunks that slimes can naturally spawn in inhabit the same coordinates for every world.[1]

Drops[]

If a slime's size is 1, it drops 0-2 slimeballs. This can be increased by 1 per level of Looting, for a maximum of 5 slimeballs.

Slimes also drop experience points equal to their size: 4 for large slimes, 2 for medium slimes, or 1 for small slimes. Because slimes split into 2-4 smaller slimes when it dies, a player can earn a possible maximum of 28 experience points from killing one slime and all the slimes that split from it.

Behavior[]

Dripping slime.

A slime jumping.

Slimes move by hopping, which they do every 10 to 30 ticks (12 to 1 12 seconds), and can swim in water and climb ladders and scaffolding. Unlike other mobs, slimes continue moving when no players are nearby. Their exact routine is as follows:

The slime searches for a player (or, failing that, an iron golem or snow golem) within 16 blocks (spherical) distance.

  • If no target is found, the slime waits 10 to 30 ticks (12 to 1 12 seconds). Then it changes direction by a random amount up to 57.26° (1 radian) left or right, jumps forward, and repeats the process.
  • If a target is found, the delay before jumping is 13 as long (3 to 10 ticks), and the slime's direction is set directly toward the target before jumping.

A slime's maximum health is equal to its size squared, and its dimensions are 0.51 blocks times its size in each dimension. When a slime attacks, it deals damage equal to its size, except for size 1 (smallest) slimes. Small slimes do not prevent sleeping. Because small slimes have a hostile AI, they annoy the player with continuous attacks but cannot deal damage.

A slime's jump distance also depends on its size; a slime jumps a distance slightly farther than its length. When landing, several slime particles 18 its size appear.

When a slime larger than 1 dies, it spawns 2-4 new slimes equivalent to its size divided by 2, rounding down. A slime that was named with a name tag produces smaller slimes with the same name when it dies.

A slime's attack speed is twice that of other melee-combat mobs. This speed is noticeable when the slime has the player cornered at a wall. Mobs like zombies and spiders attack at a rate of one hit per second, while slimes attack at a rate of two hits per second. Slimes damage all players and iron golems‌[JE only] they collide with, unlike other mobs that damage only those targets they specifically attack.

Slimes in water attempt to swim to the surface if possible. If forced to stay submerged, they eventually drown, splitting into smaller slimes that drown and finally drop slimeballs.

Sounds[]

Clock JE3 BE3.gif
This section needs to be updated. 
Please update this section to reflect recent updates or newly available information.
Reason: changes in 1.16

Java Edition:

SoundSubtitlesSourceDescriptionResource locationTranslation keyVolumePitchAttenuation
distance
Slime attacks??entity.slime.attacksubtitles.entity.slime.attack??16
Slime dies??entity.slime.deathsubtitles.entity.slime.death??16
Slime dies??entity.slime.death_smallsubtitles.entity.slime.death??16
Slime hurts??entity.slime.hurtsubtitles.entity.slime.hurt??16
Slime hurts??entity.slime.hurt_smallsubtitles.entity.slime.hurt??16
Slime squashes??entity.slime.jumpsubtitles.entity.slime.squish??16
Slime squashes??entity.slime.jump_smallsubtitles.entity.slime.squish??16
Slime squashes??entity.slime.squishsubtitles.entity.slime.squish??16
Slime squishes??entity.slime.squish_smallsubtitles.entity.slime.squish??16

Data values[]

ID[]

Java Edition:

NameResource locationTranslation key
Slimeslimeentity.minecraft.slime

Bedrock Edition:

NameResource locationNumeric ID Translation key
Slimeslime37entity.slime.name

Entity data[]

Slimes have entity data associated with them that contains various properties.

Java Edition:

Main article: Entity format
  • Entity data
    • Tags common to all entities
    • Tags common to all mobs
    •  Size: The size of the slime. Note that this value is zero-based, so 0 is the smallest slime, 1 is the next larger, etc. The sizes that spawn naturally are 0, 1, and 3. Values that are greater than 126 get clamped to 126.
    •  wasOnGround: 1 or 0 (true/false) - true if the slime is touching the ground.

Bedrock Edition:

See Bedrock Edition level format/Entity format.

Advancements[]

Icon Advancement In-game description Parent Actual requirements (if different) Resource location
Advancement-plain-raw.pngAdventure
Adventure, exploration, and combat Kill any entity, or be killed by any entity.adventure/root
Advancement-plain-raw.pngMonster Hunter
Kill any hostile monster AdventureKill one of these 34 mobs: Other mobs, if any, may be killed, but are ignored for this advancement.adventure/kill_a_mob
Advancement-fancy-raw.pngMonsters Hunted
Kill one of every hostile monster Monster HunterKill each of these 34 mobs: Other mobs, if any, may be killed, but are ignored for this advancement.adventure/kill_all_mobs

Video[]

Note: Slimes can also spawn in swamps, not only in caves, as the video says.

History[]

Java Edition Alpha
v1.0.11Slime JE1.png Slime JE1.png Slime JE1.png Added slimes.
Slimes are the fifth hostile mob added to the game.
There are three sizes of slimes: small, medium, and big. Their exact size values in comparison to modern slimes is unknown.
If slimes are dealt more damage than they have remaining health, they do not split or drop slimeballs.
v1.0.12Big slimes no longer spawn in peaceful.
Slimes now have sound effects.
The targeting and attacking of slimes has been fixed.
v1.0.13Slime JE2 BE1.png Slime JE2 BE1.png Slime JE2 BE1.png The texture of slimes has been changed.
v1.0.14Slime spawning has been reduced as they now appear in abundance.
A miscalculation in the new limit has now caused slimes to spawn only in strange locations, so natural slime spawning has been disabled.
v1.0.17Slimes now spawn in multiplayer.
v1.2.0Slime spawning has been completely disabled.
Java Edition Beta
1.2_01Slimes have been returned to the game.
Small slimes now drop 0 - 2 slimeballs.[2]
Slimes are currently rare.
1.3Slimes have now become more common.
1.4A multiplayer bug has been fixed where slimes split were visible only to the player that caused them to split and would not take any damage.[3] Because these slimes were client-side, the player could remove them only by exiting and logging back into the server.
1.5Slimes no longer spawn in peaceful difficulty and attack only when provoked.
Java Edition
1.0.0Beta 1.9 Prerelease 5Slimes now spawn on levels 0-39 rather than 0-16, making them much more common.
1.111w49aAdded slime spawn egg, allowing the player to spawn slimes.
1.3.112w15aThe slime spawning rate in superflat worlds has been decreased.
12w25aThe slime spawning rate in superflat worlds has been decreased, even more.
1.4.212w38aSlimes now have a new mob sound, the same as magma cubes, to make the sounds more realistic.
12w40aSlimes are now easier to find as they spawn in swamp biomes at low light level. Since slimes can't swim, it is quite likely that they jump in deep water and eventually drown.
1.513w10aSlime spawn rates in swamps now depend on the current moon phase.
1.7.2?Huge slimes can now spawn while summoning with a command block.
1.814w06bSlimes can now swim as a result of the update to the new AI.
Slimes now randomly change direction every so often, reducing the chance of them getting stuck in walls or corners.
Slimes now randomly despawn over time if no player is within a 32 block range.
The jumping mechanics of slimes have been changed. The distance they are able to jump corresponds to their size; they jump approximately the same distance as the length they are. They also turn and face their whole body to the player while attacking.
1.1116w32aThe entity ID for slimes has been changed from Slime to slime.
1.1418w43aSlime JE3 BE2.png Slime JE3 BE2.png Slime JE3 BE2.png The texture of slimes has been changed.
1.1620w06aSmall slimes now make sounds again when moving.[4]
1.1721w10aThe maximum size of slimes has been decreased from 256 to 128.
Pre-release 1Slimes no longer interacted with the player.[5]
Pre-release 2Slimes will now interact with the player again.[5]
Pocket Edition Alpha
v0.9.0build 1Slime JE2 BE1.png Slime JE2 BE1.png Slime JE2 BE1.png Added slimes and slime spawn eggs.
build 2Slimes now have sounds.
Slimes now spawn naturally.
v0.10.0build 1Slimes now have bouncing animations.
v0.12.1build 1Slimes now have particles when jumping.
Slimes now drop slimeballs.[verify]
v0.13.0build 3The spawning of slimes has been improved.
Bedrock Edition
?Slimes spawn commonly in flat worlds.
1.10.0beta 1.10.0.3Slime JE3 BE2.png Slime JE3 BE2.png Slime JE3 BE2.png The texture of slimes has been changed.
1.16.201Slime that spawn in superflat world has been discontinued.
Legacy Console Edition
TU1CU1 1.0 Patch 11.0.1Slime JE2 BE1.png Slime JE2 BE1.png Slime JE2 BE1.png Added slimes.
TU14 1.04 The slime spawning rate in superflat worlds has been decreased.
New Nintendo 3DS Edition
0.1.0Slime JE2 BE1.png Slime JE2 BE1.png Slime JE2 BE1.png Added slimes.

Issues[]

Issues relating to "Slime" are maintained on the bug tracker. Report issues there.

Trivia[]

  • In Java Edition, with commands, the size of slimes can be customized. Sizes go from 1 up to 256; the size-256 slime is the largest of any mob in the game, bigger than the ender dragon.
  • Because a slime's movement speed is tied to its size it becomes impossible for the player to outrun a size 8 slime on flat ground without potion effects.
  • When a slime searches for nearby targets or checks to see if it should despawn, it checks from a point at the center of its hitbox on the x and z-axis and the bottom of its y-axis. Therefore, a custom-size slime sufficiently huge can be right in front of the player and be completely passive, and it may even despawn if the slime is large enough.
  • Green-colored Slimes are also present in Minicraft, a 2D Minecraft-inspired game also created by Notch.

Gallery[]

Screenshots[]

In other media[]

See also[]

  • Magma Cube – A similar mob that spawns only in the Nether and drops magma cream
  • Tropical Slime - A variant that is found in Minecraft Earth

References[]

  1. The Bedrock Edition slime chunk algorithm was reverse engineered by @protolambda and @jocopa3 and can be found on GitHub:[1]
  2. http://getsatisfaction.com/mojang/topics/will_slimes_ever_return_to_minecraft
  3. http://www.youtube.com/watch?v=wyNvBkn4E3U
  4. MC-97958
  5. a b MCPE-116741


Advertisement