Template:Spawn table
Jump to navigation
Jump to search
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).
Usage[edit source]
Parameter | Function |
---|---|
title |
The title of the table (optional). |
edition |
The edition the table is relevant to (optional). The value specified here is passed to {{editions}} and should follow the same values expected by that template.
|
creature |
Mobs placed into the creature/animal spawn category. |
monster |
Mobs placed into the monster spawn category. |
ambient |
Mobs placed into the ambient spawn category. |
watercreature |
Mobs placed into the water creature/animal spawn category. |
waterambient |
Mobs placed into the water ambient spawn category. |
underground |
Mobs placed into the underground water creature spawn category. |
axolotl |
Mobs placed into the axolotl spawn category. |
The content of the spawn category parameters should consist of calls to {{spawn row}}
. The parameters of that template are described below.
Parameter | Function |
---|---|
1 , name |
The mob name. The content of this argument is automatically passed to {{EntityLink}} for displaying.
|
weight |
The weight of this mob in the pool. 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"). |
charge |
If applicable the charge contributing to the spawn cost mechanic. |
budget |
If applicable the budget for the spawn cost mechanic. |
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. |
Example[edit source]
{{Spawn table |edition=java |creature= {{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}} |monster= {{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}} |ambient= {{Spawn row|Bat |weight=10 |size=8}} }}
Mob | Spawn weight | Group size |
---|---|---|
Monster category | ||
![]() | 100⁄515 | 4 |
![]() | 95⁄515 | 4 |
![]() | 5⁄515 | 1 |
![]() | 100⁄515 | 4 |
![]() | 100⁄515 | 4 |
![]() | 100⁄515 | 4 |
![]() | 10⁄515 | 1–4 |
![]() | 5⁄515 | 1 |
Creature category | ||
![]() | 12⁄46 | 4 |
![]() | 10⁄46 | 4 |
![]() | 10⁄46 | 4 |
![]() | 8⁄46 | 4 |
![]() | 5⁄46 | 2–6 |
![]() | 1⁄46 | 1–3 |
Ambient category | ||
![]() | 1 | 8 |
- ↑ Spawn attempt only succeeds in slime chunks
{ "hasNotes": true, "notes": { "Slime": "Spawn attempt only succeeds in slime chunks" }, "1": { "totalWeight": 515, "mobs": [ { "size": "4", "mob": "Spider", "weight": 100 }, { "size": "4", "mob": "Zombie", "weight": 95 }, { "size": "1", "mob": "Zombie Villager", "weight": 5 }, { "size": "4", "mob": "Skeleton", "weight": 100 }, { "size": "4", "mob": "Creeper", "weight": 100 }, { "note": "Spawn attempt only succeeds in slime chunks", "mob": "Slime", "weight": 100, "notename": "Slime", "size": "4" }, { "size": "1-4", "mob": "Enderman", "weight": 10 }, { "size": "1", "mob": "Witch", "weight": 5 } ], "category": "monster" }, "2": { "totalWeight": 46, "mobs": [ { "size": "4", "mob": "Sheep", "weight": 12 }, { "size": "4", "mob": "Pig", "weight": 10 }, { "size": "4", "mob": "Chicken", "weight": 10 }, { "size": "4", "mob": "Cow", "weight": 8 }, { "size": "2-6", "mob": "Horse", "weight": 5 }, { "size": "1-3", "mob": "Donkey", "weight": 1 } ], "category": "creature" }, "3": { "totalWeight": 10, "mobs": [ { "size": "8", "mob": "Bat", "weight": 10 } ], "category": "ambient" } }
[view] [edit] [history] [refresh]The above documentation is transcluded from Template:Spawn table/doc.