Confirmedusers, editor, Administrators
886
edits
CreativeMD (talk | contribs) No edit summary |
CreativeMD (talk | contribs) No edit summary |
||
Line 5: | Line 5: | ||
<tr style='background-color: gray;'> | <tr style='background-color: gray;'> | ||
<th width='300' align='left'>Property</th> | <th width='300' align='left'>Property</th> | ||
<th width=' | <th width='200' align='left'>Type</th> | ||
<th width='80' align='left'>Default</th> | <th width='80' align='left'>Default</th> | ||
<th align='left'>Usage</th> | <th align='left'>Usage</th> | ||
Line 77: | Line 77: | ||
<tr> | <tr> | ||
<td scope="row"><div class="tt" data-tt-id="p_renderpass" data-tt-parent="root">renderpass</div></td> | <td scope="row"><div class="tt" data-tt-id="p_renderpass" data-tt-parent="root">renderpass</div></td> | ||
<td>enum</td> | <td>string (of enum)</td> | ||
<td>opaque</td> | <td>opaque</td> | ||
<td>Determines how the block will be drawn.</td> | <td>Determines how the block will be drawn.</td> | ||
Line 113: | Line 113: | ||
<tr> | <tr> | ||
<td scope="row"><div class="tt" data-tt-id="p_shape" data-tt-parent="root">shape</div></td> | <td scope="row"><div class="tt" data-tt-id="p_shape" data-tt-parent="root">shape</div></td> | ||
<td> | <td>[[JSON - Shape|shape]]</td> | ||
<td></td> | <td></td> | ||
<td>For the json drawtype, the shape definition of the block as shown in the world, dropped on the ground or held in hand.</td> | <td>For the json drawtype, the shape definition of the block as shown in the world, dropped on the ground or held in hand.</td> | ||
Line 122: | Line 122: | ||
<td></td> | <td></td> | ||
<td>The path to the shape json file, the base dir is ''assets/shapes/''.</td> | <td>The path to the shape json file, the base dir is ''assets/shapes/''.</td> | ||
</tr> | |||
<tr> | |||
<td scope="row"><div class="tt" data-tt-id="p_rotateX" data-tt-parent="p_shape">rotateX</div></td> | |||
<td>float</td> | |||
<td>0</td> | |||
<td></td> | |||
</tr> | |||
<tr> | |||
<td scope="row"><div class="tt" data-tt-id="p_rotateY" data-tt-parent="p_shape">rotateY</div></td> | |||
<td>float</td> | |||
<td>0</td> | |||
<td></td> | |||
</tr> | |||
<tr> | |||
<td scope="row"><div class="tt" data-tt-id="p_rotateZ" data-tt-parent="p_shape">rotateZ</div></td> | |||
<td>float</td> | |||
<td>0</td> | |||
<td></td> | |||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td scope="row"><div class="tt" data-tt-id="p_shapeinventory" data-tt-parent="root">shapeinventory</div></td> | <td scope="row"><div class="tt" data-tt-id="p_shapeinventory" data-tt-parent="root">shapeinventory</div></td> | ||
<td> | <td>[[JSON - Shape|shape]]</td> | ||
<td></td> | <td></td> | ||
<td>For the json drawtype, the shape definition of the block as shown in the players inventory.</td> | <td>For the json drawtype, the shape definition of the block as shown in the players inventory.</td> | ||
Line 134: | Line 152: | ||
<td></td> | <td></td> | ||
<td>The path to the shape json file, the base dir is ''assets/shapes/''.</td> | <td>The path to the shape json file, the base dir is ''assets/shapes/''.</td> | ||
</tr> | |||
<tr> | |||
<td scope="row"><div class="tt" data-tt-id="p_invrotateX" data-tt-parent="p_shapeinventory">rotateX</div></td> | |||
<td>float</td> | |||
<td>0</td> | |||
<td></td> | |||
</tr> | |||
<tr> | |||
<td scope="row"><div class="tt" data-tt-id="p_invrotateY" data-tt-parent="p_shapeinventory">rotateY</div></td> | |||
<td>float</td> | |||
<td>0</td> | |||
<td></td> | |||
</tr> | |||
<tr> | |||
<td scope="row"><div class="tt" data-tt-id="p_invrotateZ" data-tt-parent="p_shapeinventory">rotateZ</div></td> | |||
<td>float</td> | |||
<td>0</td> | |||
<td></td> | |||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td scope="row"><div class="tt" data-tt-id="p_shapebytype" data-tt-parent="root">shapebytype</div></td> | <td scope="row"><div class="tt" data-tt-id="p_shapebytype" data-tt-parent="root">shapebytype</div></td> | ||
<td> | <td>key: string, value: [[JSON - Shape|shape]]</td> | ||
<td></td> | <td></td> | ||
<td>When defining multiple block variants, use this property to selectively choose the shape of a variant.</td> | <td>When defining multiple block variants, use this property to selectively choose the shape of a variant.</td> | ||
Line 149: | Line 185: | ||
<tr> | <tr> | ||
<td scope="row"><div class="tt" data-tt-id="p_drawtype" data-tt-parent="root" hide="children">drawtype</div></td> | <td scope="row"><div class="tt" data-tt-id="p_drawtype" data-tt-parent="root" hide="children">drawtype</div></td> | ||
<td>enum</td> | <td>string (of enum)</td> | ||
<td>cube</td> | <td>cube</td> | ||
<td>Determines how the block is tesselated, select JSON for being able to use custom JSON Models. The other values are hardcoded methods of tesselating the block. Check [[Drawtypes]] for a full list.</td> | <td>Determines how the block is tesselated, select JSON for being able to use custom JSON Models. The other values are hardcoded methods of tesselating the block. Check [[Drawtypes]] for a full list.</td> | ||
Line 239: | Line 275: | ||
<tr> | <tr> | ||
<td scope="row"><div class="tt" data-tt-id="p_textures" data-tt-parent="root">textures</div></td> | <td scope="row"><div class="tt" data-tt-id="p_textures" data-tt-parent="root">textures</div></td> | ||
<td> | <td>key: [[JSON - Direction|direction]], value: [[JSON - Texture|texture]]</td> | ||
<td></td> | <td></td> | ||
<td>The texture definitions for the block as seen in the world, when dropped on the ground or held in the hand.</td> | <td>The texture definitions for the block as seen in the world, when dropped on the ground or held in the hand.</td> | ||
Line 245: | Line 281: | ||
<tr> | <tr> | ||
<td scope="row"><div class="tt" data-tt-id="p_texturesinventory" data-tt-parent="root">texturesinventory</div></td> | <td scope="row"><div class="tt" data-tt-id="p_texturesinventory" data-tt-parent="root">texturesinventory</div></td> | ||
<td> | <td>key: [[JSON - Direction|direction]], value: [[JSON - Texture|texture]]</td> | ||
<td></td> | <td></td> | ||
<td>The texture definitions for the block as seen in the player inventory. Overrides the textures definition if set.</td> | <td>The texture definitions for the block as seen in the player inventory. Overrides the textures definition if set.</td> | ||
Line 251: | Line 287: | ||
<tr> | <tr> | ||
<td scope="row"><div class="tt" data-tt-id="p_texturesbytype" data-tt-parent="root">texturesbytype</div></td> | <td scope="row"><div class="tt" data-tt-id="p_texturesbytype" data-tt-parent="root">texturesbytype</div></td> | ||
<td> | <td>key: string -> [[JSON - Direction|direction]], value: [[JSON - Texture|texture]]</td> | ||
<td></td> | <td></td> | ||
<td>When defining multiple block variants, use this property to selectively choose the textures of a variant.</td> | <td>When defining multiple block variants, use this property to selectively choose the textures of a variant.</td> | ||
Line 257: | Line 293: | ||
<tr> | <tr> | ||
<td scope="row"><div class="tt" data-tt-id="p_texturesinventorybytype" data-tt-parent="root">texturesinventorybytype</div></td> | <td scope="row"><div class="tt" data-tt-id="p_texturesinventorybytype" data-tt-parent="root">texturesinventorybytype</div></td> | ||
<td> | <td>key: string -> [[JSON - Direction|direction]], value: [[JSON - Texture|texture]]</td> | ||
<td></td> | <td></td> | ||
<td>When defining multiple block variants, use this property to selectively choose the inventory textures of a variant.</td> | <td>When defining multiple block variants, use this property to selectively choose the inventory textures of a variant.</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td scope="row"><div class="tt" data-tt-id=" | <td scope="row"><div class="tt" data-tt-id="p_sideopaque" data-tt-parent="root">sideopaque</div></td> | ||
<td> | <td>key: [[JSON - Direction|direction]], value: boolean</td> | ||
<td></td> | |||
<td></td> | |||
</tr> | |||
<tr> | |||
<td scope="row"> | |||
<div class="tt" data-tt-id="p_sideopaque_all" data-tt-parent="p_sideopaque">all</div><br> | |||
<div class="tt" data-tt-id="p_sideopaque_east" data-tt-parent="p_sideopaque">east</div><br> | |||
<div class="tt" data-tt-id="p_sideopaque_west" data-tt-parent="p_sideopaque">west</div><br> | |||
<div class="tt" data-tt-id="p_sideopaque_up" data-tt-parent="p_sideopaque">up</div><br> | |||
<div class="tt" data-tt-id="p_sideopaque_down" data-tt-parent="p_sideopaque">down</div><br> | |||
<div class="tt" data-tt-id="p_sideopaque_north" data-tt-parent="p_sideopaque">north</div><br> | |||
<div class="tt" data-tt-id="p_sideopaque_south" data-tt-parent="p_sideopaque">south</div> | |||
</td> | |||
<td></td> | |||
<td></td> | |||
<td></td> | |||
</tr> | |||
<tr> | |||
<td scope="row"><div class="tt" data-tt-id="p_sidesolid" data-tt-parent="root">sidesolid</div></td> | |||
<td>key: [[JSON - Direction|direction]], value: boolean</td> | |||
<td></td> | |||
<td></td> | |||
</tr> | |||
<tr> | |||
<td scope="row"> | |||
<div class="tt" data-tt-id="p_sidesolid_all" data-tt-parent="p_sidesolid">all</div><br> | |||
<div class="tt" data-tt-id="p_sidesolid_east" data-tt-parent="p_sidesolid">east</div><br> | |||
<div class="tt" data-tt-id="p_sidesolid_west" data-tt-parent="p_sidesolid">west</div><br> | |||
<div class="tt" data-tt-id="p_sidesolid_up" data-tt-parent="p_sidesolid">up</div><br> | |||
<div class="tt" data-tt-id="p_sidesolid_down" data-tt-parent="p_sidesolid">down</div><br> | |||
<div class="tt" data-tt-id="p_sidesolid_north" data-tt-parent="p_sidesolid">north</div><br> | |||
<div class="tt" data-tt-id="p_sidesolid_south" data-tt-parent="p_sidesolid">south</div> | |||
</td> | |||
<td></td> | |||
<td></td> | <td></td> | ||
<td></td> | <td></td> | ||
Line 272: | Line 342: | ||
<tr> | <tr> | ||
<td scope="row"><div class="tt" data-tt-id="p_sounds" data-tt-parent="root">sounds</div></td> | <td scope="row"><div class="tt" data-tt-id="p_sounds" data-tt-parent="root">sounds</div></td> | ||
<td> | <td>key: string, value: string</td> | ||
<td></td> | <td></td> | ||
<td>The sounds to be played when a player interacts with this block.</td> | <td>The sounds to be played when a player interacts with this block.</td> |