Started by
bananarang_mods
on
Topic category: User side tutorials
Hi users, this is a tutorial on how to make your own working sapling!
- Make a plant.
- Make a texture for the plant. (block texture)
- Force plant ticking? to true
- Make a structure for your tree.
- [+] Update tick procedure (sapling)
- if random 0,1 = 0.2 - then: Place structure at x y z: [Tree structure]
- Bone meal prodecure (optional): Make a procedure for your plant: When plant right clicked
- If holding [Bone meal] then if random 0,1 = 0.3 - then Remove block at x y z Place structure at x y z: Tree Structure
- If the structure's stem isn't where the sapling was, use the Math blocks
- Now you have your own working sapling! :)
Edited by bananarang_mods on Tue, 09/01/2020 - 08:26
How do I do the "if holding bone meal" part?
[Item in main hand] = [Bone Meal]
[Item in off hand] = [Bone Meal]
why isn't this a wiki page?
I can't find the random blocks for step 6, where would those be?
Does not work
How do i stop it from breaking bedrock? on the nether roof?
I cannot find the "random" tile
how do i find the place structure bloc?
i really need a WORKING (i keep getting an error about level int int int player) procedure download for this please!
or some help
i can send screenshots
> Task :compileJava FAILED
C:\Users\don't\MCreatorWorkspaces\no\src\main\java\net\mcreator\no\block\mysapling.java:73: error: method execute in class mysaplingPlantRightClickedProcedure cannot be applied to given types; mysaplingPlantRightClickedProcedure.execute(world, pos.getX(), pos.getY(), pos.getZ(), entity);
^
required: LevelAccessor,double,double,double,Entity,ItemStack
found: Level,int,int,int,Player
reason: actual and formal argument lists differ in length
1 error
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at https://help.gradle.org
i censored everything you don't need to know- such as the name of my computer, the mod, or the sapling
Wow I like it i made it spawn where the sapling was and i made an autumn tree!
How Do I Make Crystal Tree?
I'm using 2022.3 It does work, and it helped quite a bit, I haven't tested the Bonemeal but the Grow Tick works very well! This just made my work a whole lot faster!
can you show an example, because I tried it based on what you said and it no work.