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 Flowers
  • Oh The Biomes You'll Go Mushrooms
  • Oh The Biomes You'll Go Saplings
  • Animal Eggs
  • Bone Meal
  • Vanilla Crops
  • Vanilla Flowers
  • Vanilla Mushrooms
  • Vanilla Saplings
  • Vanilla Seeds
  • Vanilla Soil
  • BetterEnd Mushrooms
  • BetterEnd Saplings
  • BetterEnd Seeds
  • BetterEnd Soil
  • BetterNether Mushrooms
  • BetterNether Saplings
  • BetterNether Seeds
  • BetterNether Soil
  • BiomesOPlenty Flowers
  • BiomesOPlenty Mushroom
  • BiomesOPlenty Saplings
  • BiomesOPlenty Soil
  • Buzzier Bees Flowers
  • Cinderscapes Berries
  • Cinderscapes Soil
  • Create Fertilizer
  • Endergetic Expansion Soil
  • Farmers Delight Mushroom Colonies
  • Farmers Delight Seeds
  • Farmers Delight Compost
  • Farmers Delight Wild Crops
  • Farming for Blockheads Fertilizer
  • IC2 Classic Saplings
  • Minecolonies Compost
  • Minecraft Earth Flowers
  • Nethers Delight Compost
  • Outer End Berries
  • Outer End Flowers
  • Outer End Soil
  • Pam's HarvestCraft 2 Crops Seeds
  • Pam's HarvestCraft 2 Trees Saplings
  • Quark Saplings
  • SimpleFarming Saplings
  • SimpleFarming Seeds
  • Supplementaries Seeds
  • The Abyss Saplings
  • The Abyss Soil
  • Tropicraft Crops
  • Tropicraft Fertilizer
  • Tropicraft Flowers
  • Tropicraft Saplings
  • Twilight Forest Berries
  • Twilight Forest Saplings
  • Twilight Forest Soil