The District of Joban Difference between revisions of "Template:InfoBox block"

Difference between revisions of "Template:InfoBox block"

Template page
m
Line 8: Line 8:
     <th>Block ID</th>
     <th>Block ID</th>
     <td>{{{id}}}</td>
     <td>{{{id}}}</td>
</tr>}}
{{#if:{{{item_group|}}}|<tr>
    <th>Item Group</th>
    <td>{{{item_group}}}</td>
</tr>}}
</tr>}}
{{#if:{{{type|}}}|<tr>
{{#if:{{{type|}}}|<tr>
Line 71: Line 75:
             "type": "string",
             "type": "string",
             "required": true
             "required": true
        },
        "item_group": {
            "label": "Item Group",
            "description": "Item Group in creative menu",
            "type": "string"
         },
         },
         "type": {
         "type": {

Revision as of 21:57, 13 August 2022


Block Name
JCM Water Machine.png
Insert block images
General Information
Block ID jsblock:water_machine_1
Type Multipart
Transparent No
Hardness 4.0
Light Level 0
Added in v1.0.0


Infobox template for a JCM block

Template parameters

ParameterDescriptionTypeStatus
Block Nametitle

Name of the block

Stringoptional
Imageimage

Image name

Stringoptional
Image descriptionimage_desc

Image description

Stringoptional
Block IDid

The block ID of the block

Stringrequired
Item Groupitem_group

Item Group in creative menu

Stringoptional
Type of the blocktype

Block/Directional Block/Multipart

Suggested values
Block Directional Block Multipart
Stringoptional
Transparenttransparent

Whether Light passes through this block (Yes/No)

Stringoptional
Hardnesshardness

Hardness/Strength of a block

Numberoptional
Light Levellight_level

Light level of the block

Numberoptional
Versionversion

JCM Version that this block is added

Numberrequired