Topic category: Help with Minecraft modding (Java Edition)
I have two questions over generating Struktures:
Hi MCreator Comunity,
1. Is there a possibility that you can Spawn a Structur with a with a certain probability? That means for example you have three tipes of Desert Tempels and want the first (the normel one) to have a chance for spawning of 50%, the other one (a bigger and robben Pyramide) with 35% and the last (a biiger with a treasure) with 15%.
2. What is the easysed way to spawn one Strukture randomly so that when it spawns, it spawns differently from the last time, or is it eaven working?
Pleas help me, because i make a Badlands, Jungel, Swamp and Desert Makeover for Forge and need it that what i ask at the top to bring my ideas alive!
Thanks in advanced, Zalder :)
Hello? Can someone help me pleas? I realy need it! Pleas help!!!
If I understood you correctly, then you would just make these 3 temples and add a new structure mod element three times with different "How many structures per 1 000 000 chunks" chance OR choose a structure, that consists of one block or something like that and make a procedure for "When structure instance generated" and make a local number variable, make it 0 by default, but then choose procedure template "do with 70% chance" and write "0.33" instead of "0.7" and make if else two times and else one time and choose "place [your structure name] at x y z"
You can also add some rotation and mirror if you want. Local variable is used, because if it will not, it's possible to both or all three temples will generate. It sets it to 0, so the structure will not be placed constantly, so you can break blocks, it is 0 by default, so the structure will not generate too early.
I wanted to say "make if one time, else if one time and else one time"
Oh, also I wanted to say "Local variable is used, because if it will not, it's possible to both or all three temples will generate AT THE SAME TIME" and also if you 50% chance then write "0.5", if 35" write "0.35" if 15 "0.15"
Very good thank you, I think you are right, but I don't know, cause i don't try it jet. That's because I can't open your Picture and can't see what you have Marked in light green.
Also, do you build the Trigger "Tree" (I don't know how to name it XD) for me? If yes, sorry I can't understand those, cause I search and search for Videos or other stuff where I can find informations to learn about MCreator. Where do you learned that much over MCreator? Pleas tell me if you can because I want to get better.
And if you can do it, than pleas explain the "tree".
But thanks for try to help me! :)
Yes, I build the tree for you, but most of the videos, that I learned from are in russian and then, when they remade the system of "trigger tree" I was learning on my own. I remember the time, when I first used McCreator to make a mod, when the newest version of it was 1.7.6(it was even other numbering system) and I was very confused, but I watched a lot of tutorials and understood, how to make custom furnace and stuff, then they completely changed the system and the new system looked harder for me than previous, I remember, when new global triggers confused me(they actually were also on older version, but I wasn't using them, because I didn't know to how) and I thought, that they're new and I need to specify them even if I make a procedure for "When [Custom entity] is hurt" for an example, but then I managed to understand this. I think, procedures is the only thing in mcCreator, that needs a tutorial...many tutorials! :D The only one, whom I can think about, who makes videos about McCreator in english is NorthwestTreesGaming(if I wrote it correctly), I remember searching for a tutorial on how to make a structure, that has many random pieces, that are generating after each other(like a mansion, village or mineshaft) and it helped...a bit. I also think I would make a tutorial on procedures for you after some time
Edit: Oh, wait, I found something, that would be very helpful:
https://mcreator.net/wiki/procedure-system