I would like the yucca plant from Atmospherics to be planted on soul sand - I'd like for it to only be found on the nether. I can figure out how to remove it from the overworld pretty easily, but how can I make it so that it can be planted on soul sand and soul soil? Is there a wiki page that could help me with that?
I'd also like to find out how to make it generate naturally in the nether, but I'm sure that's something that I can figure out by searching up more deeply than I have at the moment.
#Allow a plant to be planted on soul sand
36 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
ServerEvents.tags('item', event => {
event.add('atmospheric:yucca_placeable', 'minecraft:soul_sand')
})
put this in your server scripts and try it out
oh youre on 1.18 one sec
This ones for 1.18
Paste version of yuccaplantable.js from @eager swan
Hmm, sadly didn't work
oh?
Unless I'm doing something wrong, I just plopped the script in the server scripts folder
Yep, restarted the game as well just in case something was acting up
ah, dont think a full restarts necessary here but gotcha
I just hit the download button on this, made sure it was the same and it seems to be the same. Doesn't work, though 😞
hmm
ill download the mod myself and see whats up with it, give me a moment
yeah that was my bad, i added the tag to the item itself when it shoulve been a block tag, should work now @edgy pagoda
Paste version of yuccaplantable.js from @eager swan
and if youd like to remove 'minecraft:dirt' and 'minecraft:sand' from the yucca placeables to prevent them from being placed on those you can just change it to event.remove i believe
Gotcha, thank you for the help! Quick question; where did 'atmospheric:yucca_placeable' come from? I'm a bit confused on that bit
I ask just in case I want to add more blocks 🤔
also if youd like to only let yucca trees spawn in the nether then this isnt the way to do it i dont think
its from the datapack data>atmospheric>tags>yucca_placeable
you can find the data folder in the actual .jar file
Ah, gotcha, that makes a lot of sense. I'm sure I can take it from there 🥳
I was toying with the idea of putting trees in the nether, but I actually completely mispoke. I wanted aloe vera to spawn in the nether since it has fire-resistant properties. But I can definitely just use the information from this to get what I need
sure, theres a list of events you can use to remove/add the yucca tree feature here https://wiki.latvian.dev/books/kubejs/page/list-of-events i believe youll want the WorldgenEvents.remove and the WorldgenEvents.add events
This is a list of all events. It's possible that not all events are listed here, but this list will...
even if you change the block tag on aloe vera it still wont spawn in the nether unless you use these events
theres plenty of examples of how to do this in here one sec ill pull one for you
:o that's helpful. So I'm assuming aloe very would be in the worldgen data folder
[Quote ➤](#1130547554409533600 message) You can add and remove worldgen features with KubeJS, and the wiki has pages on those!
yup
worldgen biome i believe, you could also do this via datapack but kubejs handles it well
glad it's straightforward, I've been running into some code complications recently so this is a breath of fresh air lol
good luck to ya!
Thank you so much!