World Generation - CanINotUseTruth/Foodables GitHub Wiki

World Generation - Guide

Overview

Foodables seamlessly integrates with Minecraft's world generation system, adding 7 fruit trees, 2 berry bush types, and underground salt ore deposits that spawn naturally across appropriate biomes. This comprehensive generation system provides sustainable food sources while maintaining vanilla-compatible world generation.


🌳 Fruit Tree Generation

Complete Tree Distribution Map

Tree Type Biomes Spawn Rate Characteristics
🍎 Apple Trees Snowy Plains, Snowy Taiga, Taiga 1 in 3 chunks (33%) Cold climate adaptation
🍌 Banana Trees Jungle, Sparse Jungle, Bamboo Jungle 1 in 3 chunks (33%) Tropical jungle native
🍯 Mango Trees Jungle, Sparse Jungle, Bamboo Jungle 1 in 3 chunks (33%) Tropical companion to bananas
🍋 Lemon Trees Forest, Flower Forest, Dark Forest 1 in 3 chunks (33%) Temperate forest variety
🟢 Lime Trees Forest, Flower Forest, Dark Forest 1 in 3 chunks (33%) Citrus forest companion
🍊 Orange Trees Forest, Flower Forest, Dark Forest 1 in 3 chunks (33%) Primary citrus variety
🌶️ Peppercorn Trees Plains, Sunflower Plains 1 in 10 chunks (10%) Rarer specialty spice tree

Fruit Harvesting Mechanics

Leaf Block Interaction:

  • Breaking by Hand/Tool: Chance for fruit drops (10-20% base chance)
  • Shears/Silk Touch: Drops leaf blocks for replanting
  • Fortune Enchantment: Increases fruit drop rates significantly

Fortune Enchantment Effects:

Fortune Level Fruit Drop Rate Sapling Drop Rate
None 10% 5%
Fortune I 11.5% 6.25%
Fortune II 16.5% 8.33%
Fortune III 20% 10%

Tips:

  • Use Fortune III tools for maximum fruit yield
  • Collect saplings to establish personal tree farms

🫐 Berry Bush Generation

Berry Bush Types & Distribution

Berry Type Biomes Spawn Rate Cluster Size
🫐 Blueberry Bushes Dark Forest, Birch Forest, Old Growth Birch Forest 1 in 32 chunks (3.125%) 7×3 area clusters
⚫ Blackberry Bushes Dark Forest, Old Growth Spruce Taiga 1 in 32 chunks (3.125%) 7×3 area clusters

Berry Bush Mechanics

Harvesting System:

  • Right-click mature bushes to harvest berries
  • Regrowth: Bushes regrow berries over time naturally
  • Bone Meal: Accelerates berry bush growth stages

⛏️ Salt Ore Generation

Underground Salt Deposits

Generation Specifications:

  • Y-Level Range: 0-320 (entire underground range)
  • Vein Size: Up to 9 blocks per vein
  • Spawn Rate: 50 generation attempts per chunk
  • Distribution: Uniform across all Y-levels
  • Target Blocks: Replaces all stone-type blocks

Mining Information:

Mining Method Drops Notes
Normal Pickaxe 2-4 salt per block Standard ore drops
Fortune Pickaxe Up to 6-8 salt per block Significantly increased yield
Silk Touch Salt ore block For decorative/storage purposes

Strategic Mining Locations:

  • Strip Mining: Y-level 0-64 for consistent ore exposure
  • Cave Systems: Natural cave exploration for exposed veins
  • Mountain Biomes: Higher Y-level mining in elevated terrain
  • Branch Mining: Efficient grid patterns for maximum ore discovery

Salt Usage Applications

  • Food Preservation: Primary ingredient for meat salting
  • Drying Rack Recipes: Essential for jerky production
  • Seasoning: Craft ground salt for flavor enhancement

⚙️ Configuration & Player Control

World Generation Settings

Access configuration through Mod Menu → Foodables Config:

Setting Default Effect
Tree Generation ✅ Enabled Controls all fruit tree spawning
Berry Bush Generation ✅ Enabled Controls berry bush patch spawning
Ore Generation ✅ Enabled Controls salt ore deposit spawning

Configuration Notes

  • Chunk Effect: Changes only affect newly generated chunks
  • World Reload: Settings require world restart to take effect
  • Existing Chunks: Previously generated areas remain unchanged
  • Selective Disable: Each generation type can be toggled independently

Modpack Considerations

Performance Optimization:

  • Disable unused generation types in heavily modded packs
  • Reduce world generation load by disabling specific features
  • Balance resource availability with modpack progression

Custom Balance:

  • Disable natural generation for custom progression systems
  • Use datapack overrides for modified spawn rates
  • Adjust generation for specific modpack themes or difficulty