1.15.2 Generating a vanilla structure

Discussion in 'Spigot Plugin Development' started by konsolas, Jan 24, 2020.

  1. konsolas


    Is it possible to place a vanilla structure in a world otherwise generated by a custom ChunkGenerator?

    As I understand it, this is not possible with the Spigot API (except for trees, for which World#generateTree exists). Is there a way of perhaps using NMS classes to do this?
  2. hmm, I once did something like this by reading the NBT-files and then building it custom. But I made my own parser, I don't know where that is in NMS, unfortunately.