Spigot Custom Structures 1.4.2.1

Generate Structures from schematics. [1.13.2-1.14.4]

  1. Yea it needs to be in quotes. I will add that to the documentation...

    Seems like a good idea. I will make it toggleable since the reason why I went with only 0,0 in the first place was that I was worried that it would effect the performance of the plugin.
     
  2. I did some more testing and I realize the generator simply looks at the topmost block that isn't air. So when set spawny to top, without leaves etc in the whitelist, it fails in those chunks. If I add leaves etc to the whitelist I get consistent spawn rates in all biomes but with structures spawning on top of trees. The same when I set spwany to +1 etc, structures will spawn on top of trees if there is one near 0,0 of the chunk. The thing is structures spawn starting one block in the ground, so I will have to compensate for that by adding another layer to the bottom of my schematics or adjusting commands in command blocks. Most of my schematics are command blocks that run functions and then replace themselves with air, so I will need to figure out the best way to replace them depending on what blocks they spawn into. But let's say you want buried treasure to spawn at y -3 below ground, you'll end up with floating chests in areas with trees. These are probably not common use cases though.
     
  3. I've been playing with this plugin a lot and I may have an idea.

    So grass causes the same issue as leaf blocks, where the grass_block is not considered "top" if there is grass on top. Including grass in the whitelist causes schematics to spawn basically as "'+1'" which can look weird depending on the schematic. So the only biomes that get actual consistent rates are like deserts and mountains where really nothing is ever on top of the ground blocks.

    An ignore list may solve these problems. I'm not sure what the logic flow is to determine where a schematic can be placed, but maybe something like this
    (1) % chance -> (2) if Spawny: top or '+/-', then match ignore list -> (3) if match, then check block at y~-1, repeat
    -> (3) if no match, then ignore -> (4) match whitelist -> (5) if match, then spawn schematic
    -> (5) if no match, then ignore, no schematic spawned
     
  4. To determine the top the Spigot api is used. I had no clue that it counted leaves and grass. I can easily change that so it will spawn on the ground like it is supposed to.
     
  5. Hows the progress?
     
  6. It is coming along. I can't give an estimate on when it will be out exactly as I've been busy recently; however, it will be out in the next week.
     
  7. I will look into it. Do you have random rotation enabled?
     
  8. nope, its disabled.
     
  9. [ERROR] [CustomStructures] Error: The schematic file for demo does not exist!
    [ERROR] [CustomStructures] For assistance please contact Ryandw11 on spigot.
    [ERROR] [CustomStructures] The plugin will now disable it self.
    [INFO] [CustomStructures] Disabling CustomStructures v1.4.2.1

    ERROR 1.13.2 SPIGOT
     
  10. use your own schematic files.