Hello😊 Could someone help me with this script?
They are floating islands, I am trying to get them to float above the ocean, for that I am searching at altitude y62 to look for water but I have not found water yet, in the debugger it never finds water
Is it well focused, how am I looking for the water? Or should I specify that it is a liquid or something?
#Searching water?
1 messages · Page 1 of 1 (latest)
1 do NOT use AI.
2 you re tring to get a block that is out of render distance.
3 this is better to do with features and feature rules #1067869232395735130
and I try everything🤦🏽♀️ I have tried to generate the islands with the "noise" of the biome, noise parms. I have tried to create land patches using characteristics and rule characteristics and have them float, this script that I have taught has not worked for me either
Yesterday I had to create an island from the script and since I couldn't detect the water block in any way, I set the islands to be generated in predefined coordinates. Now I'm trying to put trees at that height (+90y height) but the tree feature doesn't work for me either, I'll have to try to build them on the island.
When the island is built I will create others with different shapes
bro just build your island in a creative world and with the structure block import them in your addon, then create a structure feature that filters only ocean biomes to make the island spawn only on water, then select your Y level, then add probability for that island so they wont be all near each other
It's the first thing I tried, but since I want large islands they come out cut off, I think it's because of the chunks
Using a new script I have managed to create a much larger island, I am still trying to shape the trees and put up decorations... I am still working on it. because I think that since it is a structure, it has no biome, no plants or anything naturally grow out of it.
I can give the tree a simple shape and it would turn out fine, but I'm trying to make it a "weeping willow."
well you should solve the feature error instead of going for scripts to generate structures, im not helping anymore people that use Ai and try to do things that can be done easily with scripts using scripts.
Honestly, I have been creating addons for 1 month, and this is my second addon that I have created, I am still learning and the AI has helped me a lot, I cannot deny it, but you have to know how to work with it, you don't have to help if you don't want to, of course, feel free
According to your recommendation, it is better to use features, right? I tried using the minecraft feature:vegetation_patch_feature and with feature rules force it to exit at y100+ but I don't get errors and it doesn't work, the same thing happens to me with the trees. That is why my last option is by script, since the structures do not give me the result that I would like because they come out cut off, I have been with this for 4 days and I no longer see clearly🤷🏽♀️
but feature rules are made for this not scripts, dont make the same mistake i made 8 months ago, i was trying to change the drop of a vanilla block using commands and functions only becouse i didnt know how to script, and it was trash
Ai doesnt know minecraft api, doesnt know how to code efficiently or find a good solution, it does give only an answer
and if you struggle with feature rules you should ask in the channel for world generation