Started by
Th3F4k3
on
Topic category: Help with Minecraft modding (Java Edition)
This is for my mod BetterFarmingMod which adds more crops and trees and well I am testing the creation of trees but I can't make them appear like the vanilla ones, How can I do that?, or I just leave it like how they are?.
Make the trees a structure(Using structure blocks), make it spawn on grass, then make the sapling by:
1. Make a new plant
2. Make the tick update long(long enough for the sapling to turn into a tree)
3. procedure: Check if all the blocks you are supposed to place the tree in is air(To prevent players using your tree to break bedrock), then spawn schematic the tree you just made
4. Bind the procedure to the plant Tick update trigger.
All done!
thank you so much
No problem :)
Hey, do you know how to make them randomly grow with bonemeal? and, How to make the tick speed long with a plant?
pls :/
Bonemeal procedure: check if the player is holding bonemeal, check for a random chance(In procedure templates), take away 1 bonemeal from inventory, set 5 particles (the green growth experience one), and put this inside the if statement(the random chance procedure is an if statement): spawn schematic:(the tree that you made). Remember to check for air here also :)
how do you make fruits for it
Do you mean like vanilla apples or actual fruits like cocoa beans?
i think they mean like a chance of dropping food from leaves just like oak trees and apples
Wait does it require structures for the tree??
Yes
i dont use structures
If I may ask, can you do a .ptpl file for easy use? @crispy_chips1234