Apples In Trees MCPEDL
Adds a unique apple tree with custom blocks and features to enhance your Minecraft world.
Screenshots













Description
🍎
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\_treeandapple\_tree\_grownstructures spawn naturally viafeature\_rulesandweighted\_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
mountainandmountainstags. - Placeable fruit blocks: Apple and golden-apple blocks (with
block\_placer) for decoration, storage and farming. - Craftable saplings: Recipes allow crafting
apple\_saplingandgolden\_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
shearsto 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\_habitatandplainsviaapple\_tree\_generation\_rulewithscatter\_chanceandjittered\_grid. - Golden apple trees: Spawn in mountain biomes — both legacy and modern tags (
mountainandmountains). - Apple Wandering Trader: Spawns rarely in
plainsbiomes, controlled by customspawn\_rulesto 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:appleorminecraft:golden\_apple). The fruit resets to stage 0. - Shears interaction: Using
shearson 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\_wanderingmob uses a dedicated behavior file to manage its AI and a client entity file for its appearance and animations. - Structures:
structures/apple\_tree.mcstructureandstructures/apple\_tree\_grown.mcstructureare used bystructure\_template\_featureentries. - Feature rules:
feature\_rules/\*.jsoncontrol where and how often trees appear, using heightmap queries for accurate surface placement. - Weighted features:
weighted\_random\_featuremixes normal and grown variants for variety. - Script API: Uses
@minecraft/serverfor 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.jsondependency 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/snoware present in theblock\_allowlist. Temporarily increasescatter\_chancefor testing. - Structure placement issues? Test .mcstructure manually with
/structure loadand/structure placeto verify geometry and origin alignment. - Customization: Edit
feature\_rules(for trees) andspawn\_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.
Download — MCPEDL / CurseForge
Images
Changelog
adding a apple juice item, and fixing trader model!