Posted August 10, 201312 yr Hello! Is there a way that I can access a Village structure so I can create new buildings? I DO NOT mean adding new modded buildings to a village: I want to be able to essentially "expand" villages that have been generated. I've looked through the events, but I couldn't find one that pertains to my situation. Any ideas?
August 13, 201312 yr Author I don't think that's what I need.... I was thinking of just saving the mapping or whatever villages use when they generate for the modulation and then just referencing that whenever I need it, but I'm not entirely sure that this is something that you can do without editing base classes...... I might be able to do it with reflection whenever a village generates but I'm not entirely sure if this would work.
August 13, 201312 yr Villages don't save the buildings, only the center. The system regularly check for doors to spawn villagers or golem.
August 15, 201312 yr Author It has to have some sort of modular expansion, as the villages are modular. I need to access whatever is used to modulate the village.
August 15, 201312 yr It is modulated by randomness and bounding boxes. A village is built from a start piece, then the generator iterates over a list of weighted structure pieces. See StructureVillagePieces class.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.