Skip to content

Commit b198968

Browse files
Update metals to include double_ingots, mention them being optional, closes #3
1 parent 3acf1e3 commit b198968

File tree

1 file changed

+16
-12
lines changed

1 file changed

+16
-12
lines changed

1.20.x/custom.md

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -387,8 +387,9 @@ A metal specifies a new metal to be used by TFC. A metal is required in order to
387387
- `fluid`: The registry name of a fluid which corresponds to this metal.
388388
- `melt_temperature`: A number. The melting temperature of the fluid of this metal.
389389
- `specific_heat_capacity`: A number which specifies how fast this metal fluid heats up relative to others. This is measured in Energy / (mB x °C), meaning it's scaled relative to a quantity of mB, and that higher values will cause it to require more energy (time) to heat up.
390-
- `ingots`: An [Ingredient](../ingredients/) which defines ingot items that are of this metal. This is used in order to allow other mod ingots to be placed in ingot piles.
391-
- `sheets`: An [Ingredient](../ingredients/) which defines sheet items that are of this metal. This is used in order to allow other mod sheets to be placed in sheet piles.
390+
- `ingots`: An optional [Ingredient](../ingredients/) which defines ingot items that are of this metal. This is used in order to allow other mod ingots to be placed in ingot piles.
391+
- `double_ingots`: An optional [Ingredient](../ingredients/) which defines double ingot items that are of this metal. This is used in order to allow other mod ingots to be placed in double ingot piles.
392+
- `sheets`: An optional [Ingredient](../ingredients/) which defines sheet items that are of this metal. This is used in order to allow other mod sheets to be placed in sheet piles.
392393

393394
**Note** There must be a **unique** fluid for every metal. Creating multiple metals that reference the same fluid is liable to cause undefined behavior and may introduce bugs!
394395

@@ -397,16 +398,19 @@ A metal specifies a new metal to be used by TFC. A metal is required in order to
397398
```jsonc
398399
// Reference: data/tfc/tfc/metals/bismuth_bronze.json
399400
{
400-
"tier": 2,
401-
"fluid": "tfc:metal/bismuth_bronze",
402-
"melt_temperature": 985,
403-
"specific_heat_capacity": 0.00857,
404-
"ingots": {
405-
"tag": "forge:ingots/bismuth_bronze"
406-
},
407-
"sheets": {
408-
"tag": "forge:sheets/bismuth_bronze"
409-
}
401+
"tier": 2,
402+
"fluid": "tfc:metal/bismuth_bronze",
403+
"melt_temperature": 985,
404+
"specific_heat_capacity": 0.00857,
405+
"ingots": {
406+
"tag": "forge:ingots/bismuth_bronze"
407+
},
408+
"double_ingots": {
409+
"tag": "forge:double_ingots/bismuth_bronze"
410+
},
411+
"sheets": {
412+
"tag": "forge:sheets/bismuth_bronze"
413+
}
410414
}
411415
```
412416

0 commit comments

Comments
 (0)