Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:Slime

From SAS Gaming Wiki
Revision as of 11:18, 11 April 2026 by SyncBot (talk | contribs) (Sync: new page from Minecraft)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template:For Template:Infobox entity Slimes are cube-shaped Minecraft:hostile mobs that spawn deep underground in particular Minecraft:chunks, aboveground in Minecraft:swamps, or when an Minecraft:Oozing-affected Minecraft:entity dies. They move by jumping, chase after their targets, and usually deal Minecraft:damage on touch. Slimes spawn in different sizes, and larger ones split into smaller ones on death.

Spawning

Template:See also Slimes spawn naturally in 3 sizes: small, medium, and large. A fourth size, known as semi-large, only spawns from Minecraft:trial spawners and never naturally. Slimes have an Minecraft:NBT tag, Template:Nbt, which determines their size. Small, medium, and big slimes have their Size set to Template:Cd respectively. Using the Template:Command or Template:Command commands, a slime can be given any Size in the range from Template:Cd (inclusive).Template:Verify

A slime needs a space of 2.04×2.04×2.04 blocks to spawn, which must be clear of solid and liquid obstructions. When a slime attempts to spawn, the game checks to see if the space requirement is followed. Therefore, small and medium slimes are not able to spawn in 2-block tall areas even though it would normally be enough room for other small mobs. Any block within the space, even a Minecraft:glass pane, can prevent slimes from spawning.

File:2.04x2.04.png
A 2.04 x 2.04 x 2.04 block space.
  • A Minecraft:button or any block without a collision hitbox can prevent a mob from spawning on the block below it, but does not count as an obstruction. This is because the game looks for an Minecraft:air block above it when trying to spawn a mob.
  • Template:IN, the space is centered on the top face of the block the slime spawns on.
    • It should be noted that a Minecraft:trapdoor is treated like a full-block when the game looks for space to spawn mobs. Therefore, the effective spawning space the slime needs is 3×2.1×3 blocks.
  • Template:IN, the space is centered in the northwest corner of a block. This means the effective spawning region is 2×2×2 blocks.Template:Verify

The random distribution of slime sizes is affected by Minecraft:regional difficulty: chances range from 33% for each size at the low difficulty to 16% small, 33% medium, and 50% big with higher difficulty.

Template:Mob spawn table

Swamps

Slimes can spawn in Minecraft:swamps and Minecraft:mangrove swamps between the altitudes of Y=51 and Y=69 (inclusive) when the provided light level is 7 or less. They spawn most often on a full moon, and never on a new moon.

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.

The light level requirement for slime spawning in swamps is different from that of most hostile mobs, which spawn only at light level 0.<ref>Template:Bug</ref> This allows slimes in swamps to spawn in dimly-lit areas where most hostile mobs can't, allowing swamp-based slime farms to be built.

Slime chunks

Template:Anchor

Slimes spawn in the Minecraft:Overworld in slime chunks below the layer of Y=40 in groups of fourTemplate:Only or individuallyTemplate:Only, regardless of the lighting or Minecraft:weather conditions.

About Template:Frac of all Minecraft:chunks are generated as slime chunks, but they are not determined randomly. An algorithm is used to determine whether each chunk is a slime chunk. Template:IN, whether a chunk at a particular set of coordinates becomes a slime chunk is determined by the world's seed. Template:IN, however, they are generated at the same coordinates in every world.


Template:Calculator

Java Edition

Template:IN, slime chunks are determined pseudo-randomly by combining their chunk coordinates with the seed of the world.

This Java code can be used to print a message to the terminal indicating whether one specific chunk is a slime chunk.

<syntaxhighlight lang="java"> import java.util.Random;

public class CheckSlimechunk {

   public static void main(String args[]) {
       // The worldseed from /seed.

// Only the lowest 48 bits of the worldseed in binary // actually affect slime chunk placement.

       long seed = 12345L;
       int chunkX = 12; // Chunk coordinates = floor(block coordinate/16)
       int chunkZ = -3;  // Chunk coordinates = floor(block coordinate/16)
       
       Random rnd = new Random(

(

               seed +
               (int) (chunkX * chunkX * 0x4c1906) +
               (int) (chunkX * 0x5ac0db) +
               (int) (chunkZ * chunkZ) * 0x4307a7L +
               (int) (chunkZ * 0x5f24f)

) ^ 0x3ad8025fL

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

} </syntaxhighlight>

The chunk coordinates and the world seed are combined to make a specific RNG seed to generate a random integer between 0 and 9 (inclusive). If the random integer is 0, then the chunk is a slime chunk. World coordinates can be converted to chunk coordinates by dividing by 16 and then rounding down. The world coordinates and the chunk coordinates are both 32-bit integers (instances of int).

Bedrock Edition

Template:IN, the algorithm does not depend on the world seed, so the chunks that slimes can naturally spawn in inhabit the same coordinates for every world.<ref>The Bedrock Edition slime chunk algorithm was reverse engineered by @protolambda and @jocopa3 and can be found on GitHub:[1]</ref>

Trial spawners

Each Minecraft:trial chambers structure has a 25% chance to select slimes as the "small melee" mob for its Minecraft:trial spawners. This means only about 25% of trial chambers contain slime spawners within them.

Slimes from trial spawners spawn in sizes Template:Cd (medium) and Template:Cd (semi-large), unlike slimes that spawn in slime chunks and swamps, which come in sizes Template:Cd, Template:Cd and Template:Cd respectively.<ref>Template:Bug</ref>

During Minecraft:ominous trials, each Minecraft:ominous trial spawner has a Template:Frac chance to dispense Minecraft:lingering potions of Oozing, which spawn two medium slimes upon an affected entity's death. Any type of ominous trial spawner can dispense Oozing potions, regardless of the mob type it spawns.

Potions

If an entity inflicted with the Minecraft:Oozing effect dies, two medium-sized slimes appear at its death location.

Template:IN, Oozing only spawns slimes in a 5×5×5 cube up to the maximum Minecraft:entity cramming count (default to 24).

Drops

On death

From a single large slime, a player can expect an Minecraft:experience and Minecraft:slimeball yield of 12-28 and 0-32, respectively. The average yield from a single large slime is usually around 19 Minecraft:experience and 9 slimeballs.

Large slime

  • Spawns two to four medium slimes on death
  • Template:Xp when killed by the player

Medium slime

  • Spawns two to four small slimes on death
  • Template:Xp when killed by the player

Small slime

Template:DropTable Template:Xp when killed by the player

Behavior

File:Slime.gif
A slime jumping.

Slimes move by hopping, which they do every 10 to 30 Minecraft:ticks (Template:Fraction to Template:Fraction seconds). They 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 Minecraft:player (or, failing that, an Minecraft:iron golem) within 16 blocks (spherical) distance.

  • If no target is found, the slime waits 10 to 30 ticks (Template:Frac to Template:Frac seconds) between jumps, and changes direction randomly every 40 to 100 ticks (2 to 5 seconds).
  • If a target is found, the delay before jumping is Template:Fraction as long (3 to 10 ticks), and the slime's direction is set directly toward the target before jumping.

Unlike most Minecraft:mobs, slimes do not pathfind toward their target, always approaching their target in a straight line without avoiding environmental hazards such as Minecraft:lava, Minecraft:cactus or dangerous falls. This means they can easily get stuck in corners or behind walls, not knowing how to circumvent them. This behavior is shared by Minecraft:magma cubes.

A slime's maximum health is equal to its size squared, and its dimensions are 0.51 Minecraft:blocks times its size in each dimension. When a slime attacks, it deals damage equal to its size, except for size 0 (smallest) slimes, which do no damage, and do not prevent Minecraft:sleeping. Because small slimes still have a hostile AI, they continuously try to attack the player.

A slime's jump distance also depends on its size; a slime jumps a distance slightly farther than its length. When landing, a number (8 times the slime's size) of slime particles appear. Regardless of size, slimes always jump 1 block high.

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

Slimes continuously damage all players, Minecraft:snow golemsTemplate:Only, and Minecraft:iron golems they collide with (although Minecraft:damage immunity reduces the actual damage to 1 attack every half second), unlike other mobs that damage only those targets they specifically attack<ref>Template:Bug</ref> and as a result they deal damage about twice as quickly as other mobs.

Slimes in Minecraft: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.

Slimes are immune to Minecraft:Oozing.

Sounds

Template:JE: Template:SoundTable

Template:BE: Template:SoundTable

Data values

ID

Template:Edition: Template:ID table

Template:Edition: Template:ID table

Entity data

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

Template:El: Template:Main

<section begin="entity data"/>

  • Template:Nbt Entity data
    • Template:Nbt inherit/entity
    • Template:Nbt inherit/mob
    • Template:Nbt: 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 (though size 2 slimes can spawn from trial spawners and the oozing effect). Values that are greater than 126 get clamped to 126.
    • Template:Nbt: 1 or 0 (true/false) - true if the slime is touching the ground.

<section end="entity data"/>

Template:El:

See Minecraft:Bedrock Edition level format/Entity format.

Achievements

Template:Load achievements

Achievements that apply to all mobs: Template:Collapse

Advancements

Template:Load advancements

Advancements that apply to all mobs: Template:Collapse

Videos

Note: This video is from 2012. Since then, slimes spawning in swamps has been added to the game.

Template:Yt

History

Java Edition

Template:HistoryTable

Bedrock Edition

Template:HistoryTable

Legacy Console Edition

Template:HistoryTable

New Nintendo 3DS Edition

Template:HistoryTable

Data history

Template:HistoryTable

Issues

Template:Issue list

Trivia

  • 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 Minecraft:Minicraft, a 2D Minecraft-inspired game also created by Notch.
  • A player inside a slime can see the slime itself inside of a slime block.
  • Slimes breaking apart to form smaller, independent slimes resembles the real-life form of asexual reproduction known as fragmentation.

Gallery

Screenshots

Mojang screenshots

Textures

In other media

See also

External links

References

Template:Reflist

Navigation

Template:Navbox entities

Minecraft:de:Schleim Minecraft:es:Slime Minecraft:fr:Slime Minecraft:hu:Nyálka Minecraft:it:Gelatina Minecraft:ja:スライム Minecraft:ko:슬라임 Minecraft:lzh:黏膠魔 Minecraft:nl:Slijmkubus Minecraft:pl:Szlam Minecraft:pt:Slime Minecraft:ru:Слизень Minecraft:th:สไลม์ Minecraft:uk:Слимак Minecraft:zh:史莱姆