Customization
Data Pack
Farming for Blockheads loads data packs to populate its market. For information on how to create a data pack, read through the tutorial on the Minecraft wiki. After adding the data pack to your world, don't forget to enable it using /datapack enable <datapack name>!
The market format is based on groups and a single compatibility JSON file. The example below may be included in a data pack or pasted directly into config/farmingforblockheads/MarketRegistry.json.
data/yourdatapack/farmingforblockheads_compat/enchanted_books.json
{
"modId": "minecraft",
"group": {
"name": "Enchanted Books",
"enabledByDefault": true,
"defaultPayment": {
"item": "minecraft:emerald"
},
"defaultCategory": "yourdatapack:enchanted_books"
},
"customCategories": {
"yourdatapack:enchanted_books": {
"name": "Enchanted Books",
"icon": {
"item": "minecraft:book"
},
"sortIndex": 30
}
},
"customEntries": [
{
"output": {
"item": "minecraft:enchanted_book",
"count": 1,
"nbt": {
"StoredEnchantments": [
{
"id": "minecraft:sharpness",
"lvl": 3
}
]
}
}
}
]
}
Overriding Market Entries
config/farmingforblockheads/MarketRegistry.json
{
"groupOverrides": {
"Vanilla Seeds": {
"enabled": false
},
"Vanilla Saplings": {
"payment": {
"item": "minecraft:diamond",
"count": 3
}
}
},
"entryOverrides": {
"minecraft:oak_sapling": {
"enabled": false
},
"minecraft:bone_meal": {
"amount": 12
}
}
}
Groups are identified through their name. The following groups are available as part of the mod itself and can optionally be enabled:
Oh The Biomes You'll Go FlowersOh The Biomes You'll Go MushroomsOh The Biomes You'll Go SaplingsAnimal EggsBone MealVanilla CropsVanilla FlowersVanilla MushroomsVanilla SaplingsVanilla SeedsVanilla SoilBetterEnd MushroomsBetterEnd SaplingsBetterEnd SeedsBetterEnd SoilBetterNether MushroomsBetterNether SaplingsBetterNether SeedsBetterNether SoilBiomesOPlenty FlowersBiomesOPlenty MushroomBiomesOPlenty SaplingsBiomesOPlenty SoilBuzzier Bees FlowersCinderscapes BerriesCinderscapes SoilCreate FertilizerEndergetic Expansion SoilFarmers Delight Mushroom ColoniesFarmers Delight SeedsFarmers Delight CompostFarmers Delight Wild CropsFarming for Blockheads FertilizerIC2 Classic SaplingsMinecolonies CompostMinecraft Earth FlowersNethers Delight CompostOuter End BerriesOuter End FlowersOuter End SoilPam's HarvestCraft 2 Crops SeedsPam's HarvestCraft 2 Trees SaplingsQuark SaplingsSimpleFarming SaplingsSimpleFarming SeedsSupplementaries SeedsThe Abyss SaplingsThe Abyss SoilTropicraft CropsTropicraft FertilizerTropicraft FlowersTropicraft SaplingsTwilight Forest BerriesTwilight Forest SaplingsTwilight Forest Soil