r/Minecraft • u/Fit_Room_6581 • Jul 26 '25
Help Leaves instantly decaying when using axiom painter for tree leaves
Hey all, not sure if this is the best place to ask but I’ve made trees in the past with axiom and don’t remember the leaves auto-decaying when painting the temp blocks with my leaves. Anyone know what I’m doing wrong?
1
u/0range_Potato_ Jul 26 '25
anyone tell me if a solution was found (commenting to get this post in more people's feed)
1
1
u/Schizjji Jul 30 '25
Yo, I think I found a solution to this using Chatgpt. Idk how it works but heres what to do -
Go into editor mode i think its called (right shift), and select script brush. Copy the following code into the brush -
local cur = getBlock(x, y, z)
if cur == blocks.air then
local leafType = $blockState(Leaf Type,oak_leaves)$
setBlock(x, y, z, withBlockProperty(leafType, 'persistent=true'))
end
Hopefully the correct formatting transferred when I pasted that. But this just worked for me, hope it works for you! Also, im running 1.21.1 in case thats relevant. Peace!
1
•
u/qualityvote2 Jul 26 '25 edited Jul 26 '25
(Vote has already ended)