Jump to content

Template:BlockInfoBox: Difference between revisions

No edit summary
No edit summary
Line 4: Line 4:
{
{
"params": {
"params": {
"isStackable": {},
"isStackable": {
"maxStackSize": {},
"label": "Stackable",
"isFlammable": {},
"description": "Whether the item/block is stackable within inventory slots or not.",
"isEdible": {},
"type": "boolean",
"isSleepable": {},
"default": "Yes",
"fuelValue": {},
"suggested": true
"fireDuration": {},
},
"foodType": {},
"maxStackSize": {
"nutritionalValue": {},
"label": "Max Stack Size",
"emittedLightAmount": {},
"description": "Maximum stack size allowed for the block/item.",
"lightAttenuation": {},
"type": "number",
"explosivePower": {},
"default": "0",
"explosionResilience": {},
"suggested": true
"projectileResilience": {},
},
"density": {},
"isFlammable": {
"isFluidBlocker": {},
"label": "Flammable",
"projectileStickProbability": {},
"description": "Whether the block can catch fire within the world or not.",
"diggingMethod": {},
"example": "Yes or no.",
"diggingResilience": {},
"type": "boolean",
"requiredToolLevel": {},
"default": "No"
"experienceGiven": {},
},
"toolDurabilityImpact": {}
"isEdible": {
"label": "Edible",
"description": "Whether the block/item is edible or not.",
"example": "Yes or no.",
"type": "boolean",
"default": "No"
},
"isSleepable": {
"label": "Sleep Suitability",
"description": "Whether the block provides an adequate sleeping surface or not.",
"example": "Yes or no.",
"type": "boolean",
"default": "No"
},
"fuelValue": {
"label": "Fuel Value",
"description": "How long the item will provide fuel when used within the furnace block.",
"type": "number",
"default": "0"
},
"fireDuration": {
"label": "Fire Duration",
"description": "How long the item will burn when lit on fire within the world.",
"type": "number",
"default": "0"
},
"foodType": {
"label": "Food Type",
"description": "Type of food the item is classified as.",
"example": "Bread, meat, vegetation, or other.",
"type": "string"
},
"nutritionalValue": {
"label": "Nutritional Value",
"type": "number"
},
"emittedLightAmount": {
"label": "Emitted Light Amount",
"description": "How much light the block emits, derived from its center.",
"type": "number",
"default": "0"
},
"lightAttenuation": {
"label": "Light Attenuation",
"description": "How much the block attenuates light that passes through it.",
"type": "number",
"default": "0"
},
"explosivePower": {
"label": "Explosive Power",
"description": "Explosion power provided by block when ignited.",
"type": "number",
"default": "0"
},
"explosionResilience": {
"label": "Explosion Resilience",
"description": "Resilience of the block to be destroyed by explosives.",
"type": "number",
"default": "0"
},
"projectileResilience": {
"label": "Projectile Resilience",
"description": "Resilience of block when struck by projectiles.",
"type": "number",
"default": "0"
},
"density": {
"label": "Density",
"description": "Used to determine buoyance of a block/item. Pickables with a density less than 1 will float, greater than 1 will sink. ",
"type": "number",
"default": "0"
},
"isFluidBlocker": {
"label": "Fluid Blocker",
"description": "Whether or not the block obstructs the flow of water.",
"example": "Yes or no.",
"type": "boolean",
"default": "No"
},
"projectileStickProbability": {
"label": "Projectile Stick Probability",
"description": "Defines the probability for a spear or arrow to stick in the block when thrown.",
"example": "Decimal value between 0 and 1.",
"type": "number",
"default": "0"
},
"diggingMethod": {
"label": "Digging Method",
"description": "Intended digging method of the block.",
"example": "Axe, pickaxe, or shovel.",
"type": "string",
"default": "Axe"
},
"diggingResilience": {
"label": "Digging Resilience",
"description": "Resilience or the time it takes for the block to be broken.",
"type": "number",
"default": "0"
},
"requiredToolLevel": {
"label": "Required Tool Level",
"description": "Minimal tool level/tier needed to break and acquire the block.",
"type": "number",
"default": "0"
},
"experienceGiven": {
"label": "Experience Given",
"description": "Amount of experience gained when mined or collected.",
"type": "number",
"default": "0"
},
"toolDurabilityImpact": {
"label": "Tool Durability Impact",
"description": "Degree of impact block has on tool durability when mined.",
"type": "number",
"default": "0"
}
},
},
"description": "Embeds a customized infobox for displaying block/item attributes along the left side of a wiki page. Can be used in conjunction with the Widget:ModelViewer for displaying block/item models."
"description": "Embeds a customized infobox for displaying block/item attributes along the left side of a wiki page. Can be used in conjunction with the Widget:ModelViewer for displaying block/item models.",
"paramOrder": [
"isStackable",
"maxStackSize",
"isFlammable",
"isEdible",
"isSleepable",
"fuelValue",
"fireDuration",
"foodType",
"nutritionalValue",
"emittedLightAmount",
"lightAttenuation",
"explosivePower",
"explosionResilience",
"projectileResilience",
"density",
"isFluidBlocker",
"projectileStickProbability",
"diggingMethod",
"diggingResilience",
"requiredToolLevel",
"experienceGiven",
"toolDurabilityImpact"
]
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>
</span>
</span>