Exemple #1
0
 /// <summary>
 /// Intializes a new <see cref="Structure"/>
 /// </summary>
 /// <param name="structure">The type of structure</param>
 /// <param name="spacing">The maximum distance in chunks between the structures</param>
 /// <param name="separation">The minimum distance in chunks between the structures</param>
 /// <param name="salt">A random number added to the seed to make structures random</param>
 public StructureSpawnInformation(ID.Structure structure, int spacing, int separation, int salt)
 {
     StructureType = structure;
     SetSpacingAndSeperation(spacing, separation);
     Salt = salt;
 }
Exemple #2
0
 /// <summary>
 /// Intializes a new <see cref="MapChange"/>
 /// </summary>
 public MapChange(ID.Structure structure) : base("minecraft:exploration_map")
 {
     Structure = structure;
 }