-
Notifications
You must be signed in to change notification settings - Fork 901
Common JSON Value Types
Vanilla recipe input. Can be either an item stack or a tag.
A fluid recipe input. The input can be an array of both types and tags.
name: The fluid's full name.
tag: Forge tag. Used when the recipe can have multiple possible inputs.
amount: Integer. The fluid amount in millibuckets.
"fluid": {
"name": "tconstruct:molten_gold",
"amount": 144
}
"fluid": [
{
"name": "minecraft:water",
"amount": 1000
},
{
"tag": "forge:fluids/steam",
"amount": 1000
}
]
An entity. Used for entity melting. The input can be an array of both types and tags.
type: Full entity type.
tag: Forge entity tag.
types: An array of entity types.
"entity": {
"type": "minecraft:creeper"
}
"entity": [
{
"tag": "minecraft:skeletons"
},
{
"type": "minecraft:skeleton_horse"
}
]
"entity": {
"types": [
"minecraft:villager",
"minecraft:wandering_trader"
]
}
Used for recipe outputs where the exact item output could be irrelevant, like ingot casting.
name: The item's full name.
tag: Forge tag. Used when the recipe can have any possible tagged output.
count: Integer. Defaults to 1. The item count.
nbt: NBT for the item.
"result": {
"tag": "forge:ingots/invar"
}
Similar to FluidIngredient, but cannot take a tag (the fluid must be exact).
"result": {
"fluid": "tconstruct:molten_electrum",
"amount": 288
}
https://mcforge.readthedocs.io/en/latest/concepts/resources/
Full item name of a fluid container item. Must implement the IFluidHandlerItem capability.
"container": "minecraft:bucket"
Full item name of a Tinkers tool. Must extend the ToolCore class.
"result": "tconstruct:axe"
Full item name of a material based item, usually a tool part. Must extend the IMaterialItem interface.
"result": "tconstruct:pickaxe_head"
Full name of a Tinkers material.
"input": "tconstruct:bone"
1/20th of a second.