Datapacks For Woot - Ipsis/Woot GitHub Wiki
Datapacks
Custom drops and machine recipes are all handled via datapacks.
For example an mod pack could change the wither ingredients or drops, or add a new setup for zombies. These override the existing recipes that are shipped with Woot. You can override/add to
- Stygian Anvil recipes [woot:anvil]
- Dye And Enchantment Liquifier recipes [woot:dyesqueezer]
- Factory recipes (custom drops and ingredients) [woot:factory]
- Fluid Vat recipes [woot:fluidconvertor]
- Injection Press recipes [woot:infuser]
- Vanilla crafting recipes
- Drop rates for exotics are in a loot table
datapacks/testpack/data/tpack/recipes/factory/wither.json
{
"type": "woot:factory",
"mob": "minecraft:wither",
"items": [
{ "item": "minecraft:dirt", "count": 3 }
],
"fluids": [ ],
"drops": [
{
"item": "minecraft:diamond",
"sizes": [ 1, 1, 1, 1 ],
"chances": [ 100.0, 100.0, 100.0, 100.0 ]
}
]
}
datapacks/testpack/data/tpack/recipes/factory/zonbie.json
{
"type": "woot:factory",
"mob": "minecraft:zombie",
"items": [
{ "item": "minecraft:dirt", "count": 1 }
],
"fluids": [ ],
"drops": [
{
"item": "minecraft:egg",
"sizes": [ 5, 1, 1, 1 ],
"chances": [ 100.0, 100.0, 100.0, 100.0 ]
}
]
}
datapacks/testpack/data/tpack/recipes/anvil/plate_die.json
{
"type": "woot:anvil",
"base": {
"item": "minecraft:stone_slab"
},
"ingredients": [
{
"item": "minecraft:obsidian"
}
],
"result": {
"item": "woot:plate_die"
}
datapacks/testpack/data/tpack/recipes/dye_squeezer/green.json
{
"type": "woot:dyesqueezer",
"ingredient": {
"tag": "forge:dyes/green"
},
"energy": 1000,
"red": 0,
"yellow": 36,
"blue": 36,
"white": 0
}
datapacks/testpack/data/tpack/recipes/fluid_convertor/conatus0.json
{
"type": "woot:fluidconvertor",
"catalyst": {
"item": "woot:xpshard"
},
"catalyst_count": 1,
"input": {
"fluid": "woot:mob_essence_fluid",
"amount": 1000
},
"result": {
"fluid": "woot:conatus_fluid",
"amount": 1000
},
"energy": 1000
}
datapacks/testpack/data/tpack/recipes/infuser/brown_plate.json
{
"type": "woot:infuser",
"ingredient": {
"item": "woot:brown_dyecasing"
},
"infuse": {
"fluid": "woot:puredye_fluid",
"amount": 72
},
"result": {
"item": "woot:brown_dyeplate"
},
"energy": 400
}