Predefinição:Spawn table/doc

De Minecraft Wiki
Ir para: navegação, pesquisa
Esta é a página de documentação, ela deverá ser transcluída na página principal da predefinição. Veja Predefinição:Documentação para mais informações.

This template displays a table that shows which mobs can spawn in a particular biome, or structure if it has a separate spawn list (like nether fortresses).


Parameters to {{Spawn table}}
Parameter Function
biome The name of the biome (optional). If left blank, it defaults to the current page title.
title The title of the table (optional). If left blank, a default title is generated based on the biome parameter.
passive Mobs placed into the passive/creature spawn category.
hostile Mobs placed into the hostile/monster spawn category.
water Mobs placed into the water spawn category.
watercreature Mobs placed into the water creature spawn category.
ambient Mobs placed into the ambient spawn category.
waterambient Mobs placed into the water ambient spawn category.

The content of the spawn category parameters should consist of calls to {{spawn row}}. The parameters of that template are described below.

Parameters to {{Spawn row}}
Parameter Function
1 The mob name. The content of this argument is automatically passed to {{EntityLink}} for displaying.
weight The weight of this mob in the pool, used to calculate the spawn chance. This must be a number, otherwise a script error will be displayed.
size The number of mobs the game tries to spawn per spawn attempt (e.g. "2-4").
note Any additional notes, which will be displayed as a note reference.
notename To reuse a note, specify the mob name where that note was defined.


{{Spawn table
|title=Plains mobs
{{Spawn row|Sheep |weight=12 |size=4}}
{{Spawn row|Pig |weight=10 |size=4}}
{{Spawn row|Chicken |weight=10 |size=4}}
{{Spawn row|Cow |weight=8 |size=4}}
{{Spawn row|Horse |weight=5 |size=2-6}}
{{Spawn row|Donkey |weight=1 |size=1-3}}
{{Spawn row|Spider |weight=100 |size=4}}
{{Spawn row|Zombie |weight=95 |size=4}}
{{Spawn row|Zombie Villager |weight=5 |size=1}}
{{Spawn row|Skeleton |weight=100 |size=4}}
{{Spawn row|Creeper |weight=100 |size=4}}
{{Spawn row|Slime |weight=100 |size=4 |note=Spawn attempt only succeeds in slime chunks}}
{{Spawn row|Enderman |weight=10 |size=1-4}}
{{Spawn row|Witch |weight=5 |size=1}}
{{Spawn row|Bat |weight=10 |size=8}}

Plains mobs
Criatura Chance de geração Tamanho do grupo
Categoria dos passivos
Sheep 1246 4
Pig 1046 4
Chicken 1046 4
Cow 846 4
Horse 546 2–6
Donkey 146 1–3
Categoria dos hostis
Spider 100515 4
Zombie 95515 4
Zombie Villager 5515 1
Skeleton 100515 4
Creeper 100515 4
Slime[nota 1] 100515 4
Enderman 10515 1–4
Witch 5515 1
Categoria das criaturas do ambiente
Bat 1010 8
  1. Spawn attempt only succeeds in slime chunks