Confirmedusers, editor, Administrators
886
edits
CreativeMD (talk | contribs) No edit summary |
CreativeMD (talk | contribs) No edit summary |
||
Line 616: | Line 616: | ||
<td></td> | <td></td> | ||
<td></td> | <td></td> | ||
</tr> | |||
<tr> | |||
<td scope="row"><div class="tt" data-tt-id="p_spawnconditions_runtime_chance" data-tt-parent="p_spawnconditions_runtime">Chance</div></td> | |||
<td>decimal number</td> | |||
<td>1.0</td> | |||
<td>How long it takes to make an attempt to spawn the entity: 1.0 -> 4 seconds, 0.1 -> 40 seconds.</td> | |||
</tr> | |||
<tr> | |||
<td scope="row"><div class="tt" data-tt-id="p_spawnconditions_runtime_maxquantity" data-tt-parent="p_spawnconditions_runtime">MaxQuantity</div></td> | |||
<td>integer</td> | |||
<td>20</td> | |||
<td>Maximum number of entities inside the chunk, if this is exceeded the entity will not spawn there.</td> | |||
</tr> | |||
<tr> | |||
<td scope="row"><div class="tt" data-tt-id="p_spawnconditions_runtime_mindistancetoplayer" data-tt-parent="p_spawnconditions_runtime">MinDistanceToPlayer</div></td> | |||
<td>integer</td> | |||
<td>18</td> | |||
<td>Minimum distance the entity can spawn away from the player.</td> | |||
</tr> | </tr> | ||
<tr> | <tr> | ||
Line 663: | Line 681: | ||
<td>object</td> | <td>object</td> | ||
<td><code>{ avg: 1, var: 0 } </code></td> | <td><code>{ avg: 1, var: 0 } </code></td> | ||
<td>Determines the size of the group. By default the size of the group is always one.</td> | <td>Determines the size of the group. By default the size of the group is always one. Find out more about the [[Json Random Generator|random generator]].</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td scope="row"><div class="tt" data-tt-id=" | <td scope="row"><div class="tt" data-tt-id="p_spawnconditions_runtime_companions" data-tt-parent="p_spawnconditions_runtime">Companions</div></td> | ||
<td | <td>array of string</td> | ||
<td>-</td> | |||
<td>Codes of all possible companions.</td> | |||
</tr> | |||
< | |||
<tr> | <tr> | ||
<td scope="row"><div class="tt" data-tt-id="p_spawnconditions_runtime_insideblockcodes" data-tt-parent="p_spawnconditions_runtime">InsideBlockCodes</div></td> | |||
<td>array of string</td> | |||
<td><code>[ "game:air" ]</code></td> | |||
<td>The block codes in which the entity can spawn. Entities which can spawn underwater might use <code>[ "game:water" ]</code> instead.</td> | |||
</tr> | </tr> | ||
<tr | <tr> | ||
<td scope="row"><div class="tt" data-tt-id="p_spawnconditions_runtime_requiresolidground" data-tt-parent="p_spawnconditions_runtime">RequireSolidGround</div></td> | |||
<td>boolean</td> | |||
<td>true</td> | |||
<td>If the entity requires a solid block below it. For example birds and fishes do not require it.</td> | |||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td> | <td scope="row"><div class="tt" data-tt-id="p_spawnconditions_runtime_tryonlysurface" data-tt-parent="p_spawnconditions_runtime">TryOnlySurface</div></td> | ||
<td>boolean</td> | |||
<td>false</td> | |||
<td>If false the game will also try to spawn the entity below the surface (in a cave for example). For ordinary animals this should be true so they only spawn on the surface.</td> | |||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td> | <td scope="row"><div class="tt" data-tt-id="p_spawnconditions_runtime_mintemp" data-tt-parent="p_spawnconditions_runtime">MinTemp</div></td> | ||
<td>integer</td> | |||
<td>-40</td> | |||
<td>Minimum temperature at which the entity can spawn.</td> | |||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td> | <td scope="row"><div class="tt" data-tt-id="p_spawnconditions_runtime_maxtemp" data-tt-parent="p_spawnconditions_runtime">MaxTemp</div></td> | ||
<td>integer</td> | |||
<td>40</td> | |||
<td>Maximum temperature at which the entity can spawn.</td> | |||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td> | <td scope="row"><div class="tt" data-tt-id="p_spawnconditions_runtime_minrain" data-tt-parent="p_spawnconditions_runtime">MinRain</div></td> | ||
<td>decimal number</td> | |||
<td>0</td> | |||
<td>Minimum rain average at which the entity can spawn.</td> | |||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td> | <td scope="row"><div class="tt" data-tt-id="p_spawnconditions_runtime_maxrain" data-tt-parent="p_spawnconditions_runtime">MaxRain</div></td> | ||
<td>decimal number</td> | |||
<td>1</td> | |||
<td>Maximum rain average at which the entity can spawn.</td> | |||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td> | <td scope="row"><div class="tt" data-tt-id="p_spawnconditions_runtime_minforest" data-tt-parent="p_spawnconditions_runtime">MinForest</div></td> | ||
<td>decimal number</td> | |||
<td>0</td> | |||
<td>Minimum forest density at which the entity can spawn.</td> | |||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td> | <td scope="row"><div class="tt" data-tt-id="p_spawnconditions_runtime_maxforest" data-tt-parent="p_spawnconditions_runtime">MaxForest</div></td> | ||
<td>decimal number</td> | |||
<td>1</td> | |||
<td>Maximum forest density at which the entity can spawn.</td> | |||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td> | <td scope="row"><div class="tt" data-tt-id="p_spawnconditions_runtime_minshrubs" data-tt-parent="p_spawnconditions_runtime">MinShrubs</div></td> | ||
<td>decimal number</td> | |||
<td>0</td> | |||
<td>Minimum shrubs density at which the entity can spawn.</td> | |||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td> | <td scope="row"><div class="tt" data-tt-id="p_spawnconditions_runtime_maxshrubs" data-tt-parent="p_spawnconditions_runtime">MaxShrubs</div></td> | ||
<td>decimal number</td> | |||
<td>1</td> | |||
<td>Maximum shrubs density at which the entity can spawn.</td> | |||
</tr> | </tr> | ||
<tr> | |||
<td> | <td scope="row"><div class="tt" data-tt-id="p_spawnconditions_runtime_minforestorshrubs" data-tt-parent="p_spawnconditions_runtime">MinForestOrShrubs</div></td> | ||
<td>decimal number</td> | |||
<td>0</td> | |||
<td>Minimum shrubs or forest density at which the entity can spawn.</td> | |||
</tr> | </tr> | ||
</ | <tr> | ||
</td> | <td scope="row"><div class="tt" data-tt-id="p_spawnconditions_worldgen" data-tt-parent="p_spawnconditions">Worldgen</div></td> | ||
<td>object</td> | |||
<td></td> | |||
<td></td> | |||
</tr> | |||
<tr> | |||
<td scope="row"><div class="tt" data-tt-id="p_spawnconditions_worldgen_group" data-tt-parent="p_spawnconditions_worldgen">Group</div></td> | |||
<td>string</td> | |||
<td></td> | |||
<td></td> | |||
</tr> | |||
<tr> | |||
<td scope="row"><div class="tt" data-tt-id="p_spawnconditions_worldgen_triesperchunk" data-tt-parent="p_spawnconditions_worldgen">TriesPerChunk</div></td> | |||
<td>object</td> | |||
<td>zero</td> | |||
<td>How many tries per chunk the entity has to spawn. Find out more about the [[Json Random Generator|random generator]].</td> | |||
</tr> | |||
<tr> | |||
<td scope="row"><div class="tt" data-tt-id="p_spawnconditions_worldgen_minlightlevel" data-tt-parent="p_spawnconditions_worldgen">MinLightLevel</div></td> | |||
<td>integer</td> | |||
<td>0</td> | |||
<td></td> | |||
</tr> | |||
<tr> | |||
<td scope="row"><div class="tt" data-tt-id="p_spawnconditions_worldgen_maxlightlevel" data-tt-parent="p_spawnconditions_worldgen">MaxLightLevel</div></td> | |||
<td>integer</td> | |||
<td>32</td> | |||
<td></td> | |||
</tr> | |||
<tr> | |||
<td scope="row"><div class="tt" data-tt-id="p_spawnconditions_worldgen_lightleveltype" data-tt-parent="p_spawnconditions_worldgen" data-hide="true">LightLevelType</div></td> | |||
<td>string</td> | |||
<td>"MaxLight"</td> | |||
<td></td> | |||
</tr> | |||
<tr> | |||
<td scope="row"><div class="tt" data-tt-id="p_spawnconditions_worldgen_group_onlyblocklight" data-tt-parent="p_spawnconditions_worldgen_lightleveltype">OnlyBlockLight</div></td> | |||
<td></td> | |||
<td></td> | |||
<td>Will get you just the block light</td> | |||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td scope="row"><div class="tt" data-tt-id=" | <td scope="row"><div class="tt" data-tt-id="p_spawnconditions_worldgen_group_onlysunLight" data-tt-parent="p_spawnconditions_worldgen_lightleveltype">OnlySunLight</div></td> | ||
<td></td> | |||
<td></td> | |||
<td>Will get you just the sun light unaffected by the day/night cycle</td> | |||
</tr> | |||
<tr> | |||
<td scope="row"><div class="tt" data-tt-id="p_spawnconditions_worldgen_group_maxlight" data-tt-parent="p_spawnconditions_worldgen_lightleveltype">MaxLight</div></td> | |||
<td></td> | |||
<td></td> | |||
<td>Will get you max(onlysunlight, onlyblocklight)</td> | |||
</tr> | |||
<tr> | |||
<td scope="row"><div class="tt" data-tt-id="p_spawnconditions_worldgen_group_maxtimeofdaylight" data-tt-parent="p_spawnconditions_worldgen_lightleveltype">MaxTimeOfDayLight</div></td> | |||
<td></td> | |||
<td></td> | |||
<td>Will get you max(sunlight * sunbrightness, blocklight)</td> | |||
</tr> | |||
<tr> | |||
<td scope="row"><div class="tt" data-tt-id="p_spawnconditions_worldgen_groupsize" data-tt-parent="p_spawnconditions_worldgen">GroupSize</div></td> | |||
<td>object</td> | |||
<td><code>{ avg: 1, var: 0 } </code></td> | |||
<td>Determines the size of the group. By default the size of the group is always one. Find out more about the [[Json Random Generator|random generator]].</td> | |||
</tr> | |||
<tr> | |||
<td scope="row"><div class="tt" data-tt-id="p_spawnconditions_worldgen_companions" data-tt-parent="p_spawnconditions_worldgen">Companions</div></td> | |||
<td>array of string</td> | <td>array of string</td> | ||
<td>-</td> | <td>-</td> | ||
Line 732: | Line 834: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td scope="row"><div class="tt" data-tt-id=" | <td scope="row"><div class="tt" data-tt-id="p_spawnconditions_worldgen_insideblockcodes" data-tt-parent="p_spawnconditions_worldgen">InsideBlockCodes</div></td> | ||
<td>array of string</td> | <td>array of string</td> | ||
<td><code>[ "game:air" ]</code></td> | <td><code>[ "game:air" ]</code></td> | ||
Line 738: | Line 840: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td scope="row"><div class="tt" data-tt-id=" | <td scope="row"><div class="tt" data-tt-id="p_spawnconditions_worldgen_requiresolidground" data-tt-parent="p_spawnconditions_worldgen">RequireSolidGround</div></td> | ||
<td>boolean</td> | <td>boolean</td> | ||
<td>true</td> | <td>true</td> | ||
Line 744: | Line 846: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td scope="row"><div class="tt" data-tt-id=" | <td scope="row"><div class="tt" data-tt-id="p_spawnconditions_worldgen_tryonlysurface" data-tt-parent="p_spawnconditions_worldgen">TryOnlySurface</div></td> | ||
<td>boolean</td> | <td>boolean</td> | ||
<td>false</td> | <td>false</td> | ||
Line 750: | Line 852: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td scope="row"><div class="tt" data-tt-id=" | <td scope="row"><div class="tt" data-tt-id="p_spawnconditions_worldgen_mintemp" data-tt-parent="p_spawnconditions_worldgen">MinTemp</div></td> | ||
<td>integer</td> | <td>integer</td> | ||
<td>-40</td> | <td>-40</td> | ||
Line 756: | Line 858: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td scope="row"><div class="tt" data-tt-id=" | <td scope="row"><div class="tt" data-tt-id="p_spawnconditions_worldgen_maxtemp" data-tt-parent="p_spawnconditions_worldgen">MaxTemp</div></td> | ||
<td>integer</td> | <td>integer</td> | ||
<td>40</td> | <td>40</td> | ||
Line 762: | Line 864: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td scope="row"><div class="tt" data-tt-id=" | <td scope="row"><div class="tt" data-tt-id="p_spawnconditions_worldgen_minrain" data-tt-parent="p_spawnconditions_worldgen">MinRain</div></td> | ||
<td>decimal number</td> | <td>decimal number</td> | ||
<td>0</td> | <td>0</td> | ||
Line 768: | Line 870: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td scope="row"><div class="tt" data-tt-id=" | <td scope="row"><div class="tt" data-tt-id="p_spawnconditions_worldgen_maxrain" data-tt-parent="p_spawnconditions_worldgen">MaxRain</div></td> | ||
<td>decimal number</td> | <td>decimal number</td> | ||
<td>1</td> | <td>1</td> | ||
Line 774: | Line 876: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td scope="row"><div class="tt" data-tt-id=" | <td scope="row"><div class="tt" data-tt-id="p_spawnconditions_worldgen_minforest" data-tt-parent="p_spawnconditions_worldgen">MinForest</div></td> | ||
<td>decimal number</td> | <td>decimal number</td> | ||
<td>0</td> | <td>0</td> | ||
Line 780: | Line 882: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td scope="row"><div class="tt" data-tt-id=" | <td scope="row"><div class="tt" data-tt-id="p_spawnconditions_worldgen_maxforest" data-tt-parent="p_spawnconditions_worldgen">MaxForest</div></td> | ||
<td>decimal number</td> | <td>decimal number</td> | ||
<td>1</td> | <td>1</td> | ||
Line 786: | Line 888: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td scope="row"><div class="tt" data-tt-id=" | <td scope="row"><div class="tt" data-tt-id="p_spawnconditions_worldgen_minshrubs" data-tt-parent="p_spawnconditions_worldgen">MinShrubs</div></td> | ||
<td>decimal number</td> | <td>decimal number</td> | ||
<td>0</td> | <td>0</td> | ||
Line 792: | Line 894: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td scope="row"><div class="tt" data-tt-id=" | <td scope="row"><div class="tt" data-tt-id="p_spawnconditions_worldgen_maxshrubs" data-tt-parent="p_spawnconditions_worldgen">MaxShrubs</div></td> | ||
<td>decimal number</td> | <td>decimal number</td> | ||
<td>1</td> | <td>1</td> | ||
Line 798: | Line 900: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td scope="row"><div class="tt" data-tt-id=" | <td scope="row"><div class="tt" data-tt-id="p_spawnconditions_worldgen_minforestorshrubs" data-tt-parent="p_spawnconditions_worldgen">MinForestOrShrubs</div></td> | ||
<td>decimal number</td> | <td>decimal number</td> | ||
<td>0</td> | <td>0</td> |