Topic category: Help with Minecraft modding (Java Edition)
- How do you create crops that grow in farmland? I have different growth stages for the plant I want to grow, but none of the answers I've found have been very detailed.
- How do I create saplings that grow into the trees they come from? I'm working without custom schematics, but the trees are made with custom blocks and different heights.
- How do I get different drops from leaves (apples, saplings, etc.), and how do I get them to work with shears?
- Plants such as custom flowers appear large and block-like when held; is there a way of getting them flat like they are in vanilla?
- Can you make another kind of dirt that can be tilled and planted on without tilling?
- Can you have more than one kind of tree per biome? If so, how?
Thanks for any help! PLEASE be specific; this stuff is confusing.
You're asking pretty complex questions x) but almost everything can be done, so.
Then you just have to add a stack event "on update tick", set 2 conditions: is day and randomPossibility[] (set the possibility to whatever you want, higher="faster growth") and set 2 events: remove block and place block selecting the block for your next crop stage.
So you have to repeat these passages till you reach your last stage where you have to set the events so that you can get your crop on rightclick and make your last-stage block, disappear leaving only a farmed dirt block.
To make it spawn with bonemeal, I guess you can use global events (when bonemeal is used) selecting as condition blockAt[i,j,k] == your sapling and again stack event, remove block/place schematic at randomPossibility.
Note: you have to set the drop amount of your leaves block to 0
That should be all
@#1 Thanks for the help!
I'm in 2020.2, and I have the same questions about the sapling stuff. There's nothing about a schematic, at least not that I know how to make, so I thought a structure would be suitable, but there's no block for it. If that's the only way, I can resort to a long bit of code, but there has to be a better way of doing it
I can show you how to make your own working sapling that grows, but you'll have to update to 2020.4 (in reply to Mister_Cheese_Face)