promotional bannermobile promotional banner

Apples In Trees MCPEDL

Adds a unique apple tree with custom blocks and features to enhance your Minecraft world.
🍎

Apples In Trees

A complete Minecraft Bedrock addon that adds naturally spawning apple trees, a unique custom trader, golden-apple trees, craftable saplings, placeable fruit blocks, and scripted growth mechanics β€” designed for Bedrock 1.21.90+.

🌳 Overview

Apples In Trees brings organically integrated fruit mechanics into Minecraft: trees spawn across the world, a friendly trader offers unique deals, fruits grow through multiple visual stages, and players can harvest apples or collect entire fruit blocks for decoration. The addon combines feature rules, .mcstructure templates, and robust JS handlers to deliver a vanilla-friendly experience.

✨ Core Features

  • Natural tree generation: New apple_tree and apple_tree_grown structures spawn naturally via feature_rules and weighted_random_feature.
  • New Custom Mob: The Apple Wandering Trader, a friendly mob that spawns in plains biomes and offers unique, apple-themed trades.
  • Golden Apple Trees: Rare trees that yield golden apples β€” targeted to mountain biomes using both mountain and mountains tags.
  • Placeable fruit blocks: Apple and golden-apple blocks (with block_placer) for decoration, storage and farming.
  • Craftable saplings: Recipes allow crafting apple_sapling and golden_apple_sapling (apple/golden_apple + oak sapling) so you can grow orchards.
  • Scripted growth system: JavaScript handlers manage random ticks, structure loading, fruit growth stages and drop cooldowns (e.g. appleintree:placer_de_estrutura, appleintree:growth_handler).
  • Three visual growth stages: Fruits visually progress from sprout β†’ mid β†’ ripe before they can be harvested.
  • Interactive harvesting: Right-click/tap to harvest ripe fruit; use shears to obtain the fruit block itself.

🧍 The Apple Wandering Trader To complement the new apple economy, this addon introduces the Apple Wandering Trader. This custom mob brings the world to life, providing a way for players to buy and sell apple-related resources.

Behavior & Spawning: Spawns naturally and randomly in plains biomes. He wanders the world like a standard trader but is designed as a simple and stable entity focused purely on trading, without complex villager AI like breeding or sleeping.

Trading: Offers a custom trade table where players can sell apples, saplings, and wood for emeralds, or spend their emeralds on valuable items like Golden Apples.

πŸ“¦ Items, Blocks & Recipes

Items & blocks

  • appleintree:apple_block_item β€” placeable apple block.
  • appleintree:golden_apple_block_item β€” placeable golden-apple block.
  • appleintree:apple_sapling_item, appleintree:golden_apple_sapling_item β€” saplings to plant trees.
  • appleintree:apple_wandering_spawn_egg β€” spawn egg for the custom trader.

Crafting

  • Shaped recipes: 8 Γ— apple + oak_sapling β†’ apple_sapling.
  • Shaped recipes: 8 Γ— golden_apple + oak_sapling β†’ golden_apple_sapling.

🌍 Spawning & Biomes

  • Common apple trees: Spawn in forest, flower_forest, bee_habitat and plains via apple_tree_generation_rule with scatter_chance and jittered_grid.
  • Golden apple trees: Spawn in mountain biomes β€” both legacy and modern tags (mountain and mountains).
  • Apple Wandering Trader: Spawns rarely in plains biomes, controlled by custom spawn_rules to ensure it's a special encounter.
  • Placement resilience: block_allowlist includes grass, dirt, moss, stone, gravel, and snow so trees can spawn on slopes and peaks (adjustment_radius helps find nearby flat spots).

βš™οΈ Growth & Harvesting Mechanics

  • Random-tick growth: JS handlers increment fruit growth state on random ticks until the maximum stage.
  • Harvest: Right-click/tap on ripe fruit to receive the item (minecraft:apple or minecraft:golden_apple). The fruit resets to stage 0.
  • Shears interaction: Using shears on a fruit block yields the corresponding block item instead of the fruit β€” ideal for decoration.
  • Cooldowns & stability: Harvesting includes cooldown protections to avoid duplicate drops or abuse.

πŸ”§ Technical Implementation

  • Custom Entity: The appleintree:apple_wandering mob uses a dedicated behavior file to manage its AI and a client entity file for its appearance and animations.
  • Structures: structures/apple_tree.mcstructure and structures/apple_tree_grown.mcstructure are used by structure_template_feature entries.
  • Feature rules: feature_rules/*.json control where and how often trees appear, using heightmap queries for accurate surface placement.
  • Weighted features: weighted_random_feature mixes normal and grown variants for variety.
  • Script API: Uses @minecraft/server for block handlers, item spawning, command execution (with safe checks) and permutation/state management.
  • Asset pipeline: Custom geometries for each growth stage and icons for items are included in the resource pack.

πŸ› οΈ Installation & Quick Setup

  • Install and enable both the Behavior Pack and the matching Resource Pack in your world.
  • Ensure the manifest.json dependency entries include the resource pack if you use custom blocks.
  • Recommended Minecraft Bedrock version: 1.21.90+.

🐞 Troubleshooting

  • Trees or Trader not appearing? Generate new chunks after enabling the pack, confirm both BP and RP are active, and ensure you’re on a supported Bedrock version.
  • Mountain trees missing? Verify stone/gravel/snow are present in the block_allowlist. Temporarily increase scatter_chance for testing.
  • Structure placement issues? Test .mcstructure manually with /structure load and /structure place to verify geometry and origin alignment.
  • Customization: Edit feature_rules (for trees) and spawn_rules (for the trader) to adjust rarity and biome placement to suit your server or world.

πŸ“¦ Compatibility

Designed and tested for Minecraft Bedrock 1.21.90+. Some feature rules and script APIs may not work on older versions.


Made with ❀️ by HallesNew

Apples In Trees adds natural apple trees, golden apple trees, craftable saplings, placeable fruit blocks, and a robust scripted growth system.

The Apples In Trees MCPEDL Team

profile avatar
  • 4
    Followers
  • 5
    Projects
  • 42.2K
    Downloads

More from Halles_New

  • Halles Monsters project image

    Halles Monsters

    • 214
    • Addons

    Adding new monsters to the minecraft

    • 214
    • October 8, 2025
    • Addons
    • +4
  • Fruits In Trees project image

    Fruits In Trees

    • 5.8K
    • Addons

    This addon provides an extensible system of fruit-bearing trees with growth stages, harvest mechanics, biome-aware world generation, and robust fallbacks β€” designed so you can add new fruits easily and later add villager-trading features.

    • 5.8K
    • September 29, 2025
    • Addons
    • +2
  • HERBCRAFT project image

    HERBCRAFT

    • 30.5K
    • Addons

    This addon introduces a farmable magical herb, related consumable items with unique effects, and new custom trader NPCs.

    • 30.5K
    • September 27, 2025
    • Addons
    • +4
  • Halles Monsters project image

    Halles Monsters

    • 214
    • Addons

    Adding new monsters to the minecraft

    • 214
    • October 8, 2025
    • Addons
    • +4
  • Fruits In Trees project image

    Fruits In Trees

    • 5.8K
    • Addons

    This addon provides an extensible system of fruit-bearing trees with growth stages, harvest mechanics, biome-aware world generation, and robust fallbacks β€” designed so you can add new fruits easily and later add villager-trading features.

    • 5.8K
    • September 29, 2025
    • Addons
    • +2
  • HERBCRAFT project image

    HERBCRAFT

    • 30.5K
    • Addons

    This addon introduces a farmable magical herb, related consumable items with unique effects, and new custom trader NPCs.

    • 30.5K
    • September 27, 2025
    • Addons
    • +4