219
edits
Lazy Warlock (talk | contribs) |
Lazy Warlock (talk | contribs) |
||
Line 605: | Line 605: | ||
<td>0</td> | <td>0</td> | ||
<td>For light blocking blocks. Any value above 32 will completely block all light.</td> | <td>For light blocking blocks. Any value above 32 will completely block all light.</td> | ||
<td>full-plain (glass), water </td> | |||
</tr> | </tr> | ||
<tr> | <tr> | ||
Line 611: | Line 612: | ||
<td>1.0</td> | <td>1.0</td> | ||
<td>Percentage walk-speed when standing on or inside this block.</td> | <td>Percentage walk-speed when standing on or inside this block.</td> | ||
<td>path, spiderweb, stonepath </td> | |||
</tr> | </tr> | ||
<tr> | <tr> | ||
Line 636: | Line 638: | ||
<td>1.0</td> | <td>1.0</td> | ||
<td>Drag multiplier applied to entities standing on it (slipperiness factor).</td> | <td>Drag multiplier applied to entities standing on it (slipperiness factor).</td> | ||
<td>Glacierice, Lakeice</td> | |||
</tr> | </tr> | ||
<tr> | <tr> | ||
Line 657: | Line 660: | ||
<td>-</td> | <td>-</td> | ||
<td>The items that should drop from breaking this block.</td> | <td>The items that should drop from breaking this block.</td> | ||
<td>crops, skep</td> | |||
</tr> | </tr> | ||
<tr> | <tr> | ||
Line 806: | Line 810: | ||
<td>-</td> | <td>-</td> | ||
<td>Particles that should spawn in regular intervals from this block.</td> | <td>Particles that should spawn in regular intervals from this block.</td> | ||
<td>torch> | |||
</tr> | </tr> | ||
<tr> | <tr> | ||
Line 818: | Line 823: | ||
<td>0</td> | <td>0</td> | ||
<td>Value between 0...7 for Liquids to determine the height of the liquid.</td> | <td>Value between 0...7 for Liquids to determine the height of the liquid.</td> | ||
<td>water</td> | |||
</tr> | </tr> | ||
<tr> | <tr> | ||
Line 824: | Line 830: | ||
<td>-</td> | <td>-</td> | ||
<td>Information about the block as a crop.</td> | <td>Information about the block as a crop.</td> | ||
<td>all crops</td> | |||
</tr> | |||
<tr> | |||
<td scope="row"><div class="tt" data-tt-id="p_cprops_reqN" data-tt-parent="p_cropprops">requiredNutrient</div></td> | |||
<td>Nutrient (N, P, or K)</td> | |||
<td>-</td> | |||
<td>The primary nutrient this crop uses and consumes from farmland.</td> | |||
<td>all crops</td> | |||
</tr> | |||
<tr> | |||
<td scope="row"><div class="tt" data-tt-id="p_cprops_consume" data-tt-parent="p_cropprops">nutrientConsumption</div></td> | |||
<td>number</td> | |||
<td>-</td> | |||
<td>The percentage value of the nutrient this plant will consume from farmland. This value should be whole, as in 50 = 50% consumption.</td> | |||
<td>all crops</td> | |||
</tr> | |||
<tr> | |||
<td scope="row"><div class="tt" data-tt-id="p_cprops_gstages" data-tt-parent="p_cropprops">grwothStages</div></td> | |||
<td>number</td> | |||
<td>-</td> | |||
<td>The number of growth stages this plant will go through before it can be harvested.</td> | |||
<td>all crops</td> | |||
</tr> | |||
<tr> | |||
<td scope="row"><div class="tt" data-tt-id="p_cprops_gdays" data-tt-parent="p_cropprops">totalGrowthDays</div></td> | |||
<td>Number</td> | |||
<td>-</td> | |||
<td>The average number of days required for a plant to reach maturity. This value can include decimals, such as 4.5 days.</td> | |||
<td>all crops</td> | |||
</tr> | |||
<tr> | |||
<td scope="row"><div class="tt" data-tt-id="p_cprops_behaviors" data-tt-parent="p_cropprops">behaviors (crop)</div></td> | |||
<td>string</td> | |||
<td>-</td> | |||
<td>Crops can have additional functionality with special crop behaviors, currently used only by pumpkins.</td> | |||
<td>motherplant (pumpkin)</td> | |||
</tr> | |||
<tr> | |||
<td scope="row"><div class="tt" data-tt-id="p_pumpkin" data-tt-parent="p_cprops_behaviors">Pumpkin</div></td> | |||
<td>number</td> | |||
<td>-</td> | |||
<td>A unique pumpkin behavior utilize only by the pumpkin motherplant block.</td> | |||
<td>motherplant (pumpkin)</td> | |||
</tr> | |||
<tr> | |||
<td scope="row"><div class="tt" data-tt-id="p_pumpkin_info" data-tt-parent="p_pumpkin" data-invisible="true"></div></td> | |||
<td colspan="4"> | |||
The most advanced of crops! Pumpkins utilize a special crop behavior allowing the mother plant to generate vines that will eventually produce pumpkin "fruits": | |||
<syntaxhighlight lang="json"> | |||
cropProps: { | |||
behaviors: [{name: "Pumpkin", properties: {vineGrowthStage: 3, vineGrowthQuantity: { dist: "invexp", avg: 2, var: 3 } }}], | |||
requiredNutrient: "P", | |||
nutrientConsumption: 30, | |||
growthStages: 8, | |||
totalGrowthDays: 3.5, | |||
}, | |||
</syntaxhighlight> | |||
We can see that the special behavior defines how many vines can be produced by one pumpkin motherplant. | |||
</tr> | |||
<tr> | |||
<td scope="row"><div class="tt" data-tt-id="p_sounds_inside" data-tt-parent="p_sounds">inside</div></td> | |||
<td colspan="4">The player is inside the block.</td> | |||
</tr> | </tr> | ||
<tr> | <tr> |
edits