Would my theory work?

Discussion in 'Plugin Development' started by MajorSkillage, Jul 12, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    MajorSkillage

    If I wanted to generate specific castles and I made a class for each specific castle and another class to listen for ChunkLoadEvent if I had a for loop to search for blocks until there was an area surrounded in grass, sand etc with air above then I would have new Castle(that location) and in the public Castle method I would set the blocks of the castle based around the area of that location (the start of it) and save a region value of it under a variable List<Location> region; would this work?
     
  2. Offline

    Burn38

    Why wouldn't this work ?
     
  3. Offline

    teej107

    @MajorSkillage The best way to see if it works is to try it. However using the ChunkPopulateEvent would be better than the ChunkLoadEvent.
     
Thread Status:
Not open for further replies.

Share This Page