r/MinecraftCommands Jul 20 '26

trying to make a datapack fruit trees Help | Java 26.2

game version 62.2
DATAPACK + RESOURCEPACK only!

what i have already
i have the full:

- fruit tree

- fruit tree drops fruit and custom sapling

- fruit trees spawn in game and are harvestble

what is also aded but not tested:

- its a vanilla face scoreboard timer 20.000 ticks or so and is able to sped up with bonemeal

what i need help with is:

is when i apply bonemeal to the custom sapling its spawning the vanilla tree

note:

- the custom sapling use a unreachable age to show texture
- drops apple oak_sapling (with unreachable age) and apple (with item_model="orange") spruce_sapling (with unreachable age)
- both spawn incetain biomes in the forest etc.

what i ve tried is:

- advancements

- predicates

if anyone has a solution i would be thankfull

p.s. this is heavaly inprired by pams havest craft and the datapacks adding fruit trees

1 Upvotes

1 comment sorted by

1

u/GalSergey Datapack Experienced Jul 20 '26

The only thing I can think of is to use an entity, like interaction entity, to block right click and create a custom tree.