史萊姆(Slime,字面意義為「粘液」)是一種活潑的、跳躍的、相對稀有的綠色凝膠狀生物,外形呈正方體,具有不同的尺寸。他們會跟隨並攻擊附近的玩家。他們的視野不會受任何固體方塊的阻擋。當被殺時,大型與小型的史萊姆會分裂為小一號的一群個體(微小尺寸的會跌落粘液球)。史萊姆只會在主世界中40層以下的特定區塊中生成。在超級平原模式中由於地面的高度只比基岩層高3層,故史萊姆就非常常見了。
用途
粘液球是粘性活塞[1]的重要材料。粘液球也可以與烈焰粉合成為釀造材料岩漿球。
尺寸
所有史萊姆都有相同的重生概率。
行為
洞裏的史萊姆
史萊姆透過跳躍來移動。無論玩家是否在它們的視線之內,它們將總是跳向在方圓16格之內的離它們最近的玩家。如果該範圍內沒有任何玩家存在,它們將僅僅會朝着它們面向的方向沿直線跳去。當它們第一次生成時,它們的朝向將由程式隨機選定。
微小的史萊姆不會對玩家或其他實體造成直接傷害,他們僅僅有推動作用,有可能把你推進岩漿或其他的危險區域。大一些的史萊姆的攻擊力與其尺寸成正比。
不同尺寸的史萊姆事實上是不同的生物。史萊姆的尺寸能夠為從1到256裡的任意整數——但只有尺寸1、2與4的能夠天然生成。他們的攻擊力與生命值是這樣計算的:攻擊力=尺寸(除了尺寸1);生命值=尺寸的二次方。史萊姆被殺時會分裂為2-4隻原尺寸一半大小的史萊姆,但微小的史萊姆不會分裂,僅僅跌落0-2個粘液球。
史萊姆會從一切通常的傷害來源處受到傷害:燃燒,跌落,溺水,窒息,受到攻擊,掉入虛空等等。史萊姆會踐踏耕地。
在淺水中,只要上方沒有方塊阻擋,史萊姆就能夠以足夠快的跳躍速度抵抗水流。但深水區他們會沉底並最終溺水死亡。他們也能夠攀爬梯或被推上半磚與樓梯。
大型與小型的史萊姆會發出「潮濕地拍打」聲;當玩家走到微小史萊姆將要跳到的方塊上時也能聽到此聲音。大一些的史萊姆攻擊玩家時還會發出濺潑的聲音。隨時間流逝,史萊姆不會變大或縮小。
關於史萊姆的一個奇特現象是如果主世界中產生至少五隻,他們會向相同的方向跳動而不是方向各自隨機。同樣的現象也會發生在岩漿史萊姆上。
生成原理
史萊姆只會在主世界中40層以下的特定區塊中生成。這些區塊由世界的種子為輸入的偽隨機算法決定。基於下面的公式(Java語言),大約10%的區塊能夠生成史萊姆:
Random rnd = new Random((long) seed
+ xChunk * xChunk * 0x4c1906L
+ xChunk * 0x5ac0dbL
+ zChunk * zChunk * 0x4307a7L
+ zChunk * 0x5f24fL
^ 0x3ad8025fL);
return rnd.nextInt(10) == 0;
上面公式的大意為,Java的隨機數生成器首先需要這個值作為輸入變數:(長整數型) seed + xChunk * xChunk * 0x4c1906L + xChunk * 0x5ac0dbL + zChunk * zChunk * 0x4307a7L + zChunk * 0x5f24fL ^ 0x3ad8025fL,然後隨機數生成器生成一個0到9之間的整數,如果該整數為0,那麼「區塊座標」為(xChunk, zChunk)的區塊能夠生成史萊姆。將通常使用的「世界座標」除以16並向下取整就能得到「區塊座標」。
有一些工具能夠辨認史萊姆區塊,請見#搜尋史萊姆的工具。
像其它生物一樣,史萊姆需要至少兩個豎直堆疊的透明方塊(如空氣,指示牌,火炬等)的空間來生成,同時下方必須是非透明方塊。他們生成的地方也必須不能有固體方塊阻擋與液體覆蓋。大型史萊姆需要至少3x3x3空間生成,小型的需要3x3x2,微小的需要1x1x2。[2]只要空間夠大,生成史萊姆的尺寸是隨機的。大多數情況下史萊姆生成在3格高的空間內。和平模式下史萊姆不會生成。
史萊姆的生成率只有其它生物的十分之一,所以它們較為稀有。光照不會影響史萊姆的生成——然而由於光照降低了其他生物的生成概率,從而間接提高了史萊姆的生成概率。
與其它攻擊性生物一樣,史萊姆不會在任何玩家24米範圍內生成,而且如果距離玩家遠於32米一段時間後有可能消失,距離最近的玩家遠於128米則會立即消失。
在這個網頁中愛好者們詳細討論了史萊姆的生成算法,但請注意算法已經變更多次,所以老的算法不一定準確。
生怪
Here is an example made in creative mode. Notice the majority of the slimeballs aren't burning
一旦確認史萊姆生成區塊的位置,那麼加速其生成進度就很容易了。玩家可以建造通常為3x3x3或更大的地下空間,然後照亮以避免其他攻擊性生物生成,然後在一定距離外等待史萊姆生成。請參閱官方論壇上的史萊姆生成條件討論主題以獲得更多加快生成速率的方法。
如果您想光明正大地不使用任何外部工具或MOD,也有一個簡單的方法。下到40層以下,然後挖掘洞穴。大約10%的區塊會生成史萊姆,所以洞穴要很大才能提高生成機率。根據概率論相關知識,一個跨越了7個區塊的洞穴有50%機率包括史萊姆區塊;跨越了22個區塊的洞穴有90%機率包括史萊姆區塊。當然不建議「光明正大」地尋找,儘管這種方法也不是沒有效果。
一旦發現史萊姆,有很多現成的方法獵殺它們。較小尺寸可以直接用劍,較大尺寸的建議直接用打火石在你和它們之間點火,這樣它們朝你跳過來時會被點燃而受到傷害。
由於用點火法獵殺史萊姆時粘液球被燒毀的機率很低,所以這種方法很流行。配合地獄岩在你的史萊姆農場的話就更為容易了。
教學頁面提供了一些例如超平坦下對付史萊姆的方法。史萊姆在超平坦地圖下會大量生成,所以沒必要為生怪而擔憂,但你需要用一些方法控制他們。
搜尋史萊姆的工具
用於搜尋史萊姆生成區塊的工具。
以下工具可以用來搜尋符合史萊姆生成條件的區塊:
http://mcslimes.appspot.com/ (Java applet)
http://extension.ws/minecraft/slimes.html (HTML/JavaScript)
http://www.minecraftforum.net/topic/472121-173-slime-chunk-finder-10/ (in-game mod)
Rei's Minimap is also able to show this kind of chunks by highlighting them.
What's My Light Level can also aid players in finding Slimes.
Minecraft X-Ray, since version 3.4.0 (external map-viewer, not a mod)
AMIDST Finds Slime chunks as well as Strongholds, Villages, and Biomes. (external program)
History
Big slimes can completely cover minecarts.
Slimes were the fifth hostile mob added to the game on July 23, 2010 (Seecret Friday 6! Alpha 1.0.11). Notch limited slime spawning shortly afterwards because they would appear in abundance. A miscalculation in the new limit caused slimes to only spawn in strange locations, so Notch then disabled natural slime spawning.
Small slimes started to drop 0 - 2 slimeballs in Beta. Notch confirmed in Coestar's livestream that slimes had been reskinned and returned in Beta 1.2_01 but were still very rare.[3]
Slimes became more common in Beta 1.3 A bug remedied in Beta 1.5 caused slimes to spawn in Peaceful mode[4] and attack without any provocation. An SMP bug fixed in Beta 1.4 caused slimes that split to be visible only to the player that caused them to split and would not take any damage.[5] Because these slimes were client-side, the player could only remove them by exiting and logging back into the server.
Since 1.9 prerelease, slimes always split upon death even if they take overkill damage. Before Beta 1.9 Pre-release 5, Slimes only appeared in the bottom 16 layers of the map regardless of light levels or time of day, often in large caverns or open mines.
錯誤
- 多人世界中,史萊姆因在分裂的時候經常會拖垮伺服器而臭名昭著。
- 史萊姆的體型在多人遊戲生存模式中有時會出現錯誤。因此有時候你會被看上去無害的「小型史萊姆」傷害到。
- 史萊姆會在多人遊戲生存模式中經常發生材質錯誤,它們會上下地抖動。雖然這不總是如此,但在某些伺服器裡它們會完全消失(有時仍然可以被攻擊和攻擊)。
- 史萊姆能貫穿玻璃。
- 如果在史萊姆被殺後將要消失時玩家退出遊戲,再登入後它會變紅並側向一邊,看上去像其將要消失,但仍然向玩家跳來。
- 當史萊姆因為分裂或載入區塊而重生時,它跌落的經驗是隨機的。
畫廊
- 2012-01-22 08.18.04.png
Slime as seen on Super Flat world in version 1.1.
- 2012-01-22 08.20.55.png
A pack of slimes but the NPC Village is still there.
- Slimeg.png
A glitched slime hopping around while red and sideways.
你知道嗎
A size 10 slime edited in via editing an MCEdit schematic with NBTEdit. Splits into size 2 slimes upon death.
- Third party software can be used to create arbitrarily large slimes.
- Slimes may have been inspired by a number of classic gaming monsters. Their shape and size resemble that of Gelatinous Cubes from Dungeons & Dragons (though admittedly that probably comes more from Minecraft's cubic art design than as a direct homage), and their splitting behavior resembles that of Zols from The Legend of Zelda, Puddings from Nethack and Ameboids from Ratchet and Clank. The name and the large, cartoonish face may be a homage to Yuji Horii's iconic Slimes from the Dragon Quest series.
- Slimes will only attack the player, even if a skeleton accidentally shoots it.
- There's a line in the code that's meant to allow tiny slimes to spawn on Peaceful, but the natural spawning algorithm skips hostile spawning entirely on Peaceful. As a result, this line won't even be reached. However, there are illegitimate ways to spawn tiny slimes on Peaceful, e.g. with a Slime Monster Spawner.
- Magma Cubes, added in Beta 1.9, could be seen as the Nether equivalent of Slimes.
- Slimes hop faster when pursuing a player.
- Despite Slimes being hostile mobs, many players have tiny Slimes as pets since they follow and can't directly damage players.
- Before Beta 1.7, when peaceful was turned on, slimes would not despawn.
- In Minecraft 1.1 and later, when you create a world with the world type as "Super Flat", an excessive amount of Slimes will spawn. Because there are no caves, all spawnable area is lit during the day and slimes are the only hostile mob that can spawn in the light.
- Jeb said Slimes would spawn on the surface in jungles in 1.2, but this was never implemented.
[來源請求] - Small Slimes do not inflict any damage upon the player, but they will still push and follow them. Thus you can keep them as pets in enclosed areas or getting them to follow you.


