Started by
simoncraft980
on
Topic category: Help with Minecraft modding (Java Edition)
Hello,
I want to make villages but i don't know two thing:
1-There's a limit for the size of the structures?
2-How can i make mobs (custom villagers) spawning in the villages?
1-Each block has its own code (location, ID, NBT-tags). Imagine a huge village, where a 5600 blocks (not counting air blocks, they are also considered). How much code is out? Very much. But if, for example, take a few houses, each with a double chest with unusual loot (eg. pants with enchantments). The code will be a lot. And Java can not have too much code, otherwise it will error.
2-
1.Make your own mob.
2.Export your mod.
3.Install mod.
4.Spawn some mobs in village.
5.Make .schematic in MCEdit.
6.Make your structure. DO NOT DELETE YOUR MOB!
i'm currently using mcreator 1.7.5
ok thanks
If i want to make different types of villages,there will be probably errors?(They are not BIG villages,just few houses like 4 tends or 3-4 igloo) or maybe i have to create 1 mod for every village?...
I've tried to load a simple village with 3 tends but mcreator said that is bigger than 1600 blocks (this village is 4600....4000 only for air.....).
It said that if i can code i can split that,someone that is good with coding can help me?
@#4 Uh... Why? Can you make one mod with a large number of structures. I wrote to you about one structure. I know that Minecraft the village - a collection of synchronized structures. There is no such thing as the village. There are structures: road, small house, large house, lantern, water well, library, forge, etc., These structures cannot appear alone. I'm not sure that such a thing can be done using MCreator. This is all for me. If the information is not enough - look for more informed people. I did not experience with the creation of villages. I only know how to create a dungeon. Good luck!
If you change versions to 1.8.0 you dont have a size limit and you can put monster spawners in to spawn your villager.
U added this comment on my birthday!
Oh, false alarm! I only know the German date format
Firstly: DO NOT USE MCEDIT. Use structure blocks instead. /give @p structure_block
Secondly: It is possible to make randomly generated villages, although it does require some expertise with procedures. Reply to my comment (using the 'reply' button in the bottom right, so I get notified about it) if you want to know how.
that seems interesting,teach me...
So, you start by making a block. Texture and properties don't matter.
Make all of your village parts.
Place the new block in the corner of every structure, so that it is on the very edge of the area. Also make a structure that is JUST the new block.
Export these parts as structures using the structure block (/give @p structure_block), and import them to Mcreator (just click the 'import structure from Minecraft' button in resources)
Make a procedure for on block update tick for your new block.
It should have a relatively high (say 0.35, experiment with the number) chance to... do nothing. (if you don't know how to do randomised procedures then click here). Inside the if statement for this random chance, simply put 'place block air at x y z'.
Then, add an 'else' bracket to the if statement (click the cog button on the if statement and add an 'else' block to it).
Inside this put another if statement. Then add as many else/else ifs to this as you have village parts.
Then, divide 1 by the amount of village parts you have, and put the number you end up with as the chance for the random possibility you will put in each of these if statements. Then put the ' place structure <> at x y z' block inside each of these if statements, but generating a different one of your village parts each time.
This should work, I'd recommend you test it by placing down the new block, tell me what happens.
Hope my explanation was coherent, and your village goes well :)
I want to know that. I've searched half an hour and I found nothing about dat.
Oh, u already replied. Sorry, I forgot to check dat.