How To Make Hanging Plant SOLVED!

Started by FanelLore on

Topic category: Help with Minecraft modding (Java Edition)

Active 4 years ago
Joined Feb 2020
Points:
911

User statistics:

  • Modifications: 1
  • Forum topics: 15
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 404
How To Make Hanging Plant SOLVED!
Sat, 01/02/2021 - 22:28 (edited)

Hey!

So I've been working on making a custom dimension that has unique caves. However, part of that would be hanging cave roots/grass. Is it possible to make hanging plants like what I have described? I have wondered the same thing for 1.14.4 style lanterns too, since I was hoping to do something similar to that as well. Another thing I'm not sure about is if it requires a procedure, where would I link that procedure? 

Thanks in advance!

Edited by FanelLore on Sat, 01/02/2021 - 22:28
Active 3 years ago
Joined Apr 2020
Points:
775

User statistics:

  • Modifications: 0
  • Forum topics: 19
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 134
Yes, this is possible. If…
Tue, 08/25/2020 - 18:17

Yes, this is possible. If you want them to generate naturally, make a procedure that checks if the block it is trying to spawn on is facing down as a additional generation condition. Experiment. Procedures are fun to play around in, and if you find what you are looking for, then good for you! Hope this helps.

Active 4 years ago
Joined Feb 2020
Points:
911

User statistics:

  • Modifications: 1
  • Forum topics: 15
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 404
Hmm... So I can't seem to…
Tue, 08/25/2020 - 18:30

Hmm... So I can't seem to find the blocks for that (I did find the block direction thing, but I couldn't find the block(s) required to check if it's facing down. However, I discovered that if you do an if block with --> not --> is air at [x] [y + 1] [z], and then put place [block] at [x] [y] [z], then it would make sense for it to work. Do you think it would work the same way as what you're talking about? I would obviously add some blocks to make it specify which blocks to spawn on.

Active 3 years ago
Joined Apr 2020
Points:
775

User statistics:

  • Modifications: 0
  • Forum topics: 19
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 134
Here is my answer to your…
Tue, 08/25/2020 - 18:44

Here is my answer to your issue: 

https://imgur.com/a/aiUXY5C

It is the best I could come up with at short notice, you will have to put in other conditions to only allow it to spawn in caves, and maybe other stuff.

Active 3 years ago
Joined Apr 2020
Points:
775

User statistics:

  • Modifications: 0
  • Forum topics: 19
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 134
Also, replace the Cobb with…
Tue, 08/25/2020 - 18:44

Also, replace the Cobb with your plant

Active 3 years ago
Joined Apr 2020
Points:
775

User statistics:

  • Modifications: 0
  • Forum topics: 19
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 134
And I realize you have to…
Tue, 08/25/2020 - 18:46

And I realize you have to make it make sure that its only placing on certain blocks. It is simply a skeleton, do with it as you see fit.

Active 4 years ago
Joined Feb 2020
Points:
911

User statistics:

  • Modifications: 1
  • Forum topics: 15
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 404
Alright, Thanks!
Tue, 08/25/2020 - 18:47

Alright, Thanks!

Active 4 years ago
Joined Feb 2020
Points:
911

User statistics:

  • Modifications: 1
  • Forum topics: 15
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 404
So I have encountered…
Tue, 08/25/2020 - 18:53

So I have encountered another problem. I'm assuming that this would be an additional condition (In other words, for the plant spawning). However, I don't see a way to connect the procedure I just made to the condition box there. 

When I open the dropdown list, there is no options listed, even though I just made that procedure and I have around 15 other existing procedures.

Do you know how to figure this out?

Active 4 years ago
Joined Feb 2020
Points:
911

User statistics:

  • Modifications: 1
  • Forum topics: 15
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 404
I'm going to test it some…
Tue, 08/25/2020 - 18:55

I'm going to test it some more and see if it even seems to matter whether you link it up.

Active 4 years ago
Joined Feb 2020
Points:
911

User statistics:

  • Modifications: 1
  • Forum topics: 15
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 404
I tested it in-game and the…
Wed, 08/26/2020 - 00:19

I tested it in-game and the plants spawned on the ground like any other plant would except that of course the texture was upside down.

But yeah, I still need help with the conditions because they don't seem to be able to be linked up...

Active 3 years ago
Joined Apr 2020
Points:
775

User statistics:

  • Modifications: 0
  • Forum topics: 19
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 134
Hmmm. Let me fiddle around…
Wed, 08/26/2020 - 03:26

Hmmm. Let me fiddle around with the procedure, I will see if I find the answer.

Active 3 years ago
Joined Apr 2020
Points:
775

User statistics:

  • Modifications: 0
  • Forum topics: 19
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 134
I have figured it out…
Wed, 08/26/2020 - 13:12

I have figured it out. Create an invisible block that spawns naturally, then give it this procedure, or something like it:

https://pasteboard.co/Jo9HsqfZ.png

It may still need a little tweaking, but that should do it! (also replace the upside-down dead bush with your plant)

Active 4 years ago
Joined Feb 2020
Points:
911

User statistics:

  • Modifications: 1
  • Forum topics: 15
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 404
I will try this out!
Wed, 08/26/2020 - 17:18

I will try this out!

Active 4 years ago
Joined Feb 2020
Points:
911

User statistics:

  • Modifications: 1
  • Forum topics: 15
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 404
So I should make the…
Wed, 08/26/2020 - 17:24

So I should make the invisible block be replaced by the plant, basically?

Active 4 years ago
Joined Feb 2020
Points:
911

User statistics:

  • Modifications: 1
  • Forum topics: 15
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 404
Update: I tested with what…
Thu, 08/27/2020 - 00:18

Update: I tested with what you said and it appears as though the blocks simply do not spawn.

Had you actually tested it thoroughly? I might have done something wrong, but if you have an idea of what that might be, let me know.