Ore Generation Complications and Reload Issues (1.20.1)
Hello all. I am having an issue with the creation of a datapack and was hoping to receive help/clarification. This is my first rodeo with datapacks but I have been able to familarize myself with much of the technical ideas. My intention with this part of the datapack is to set ores to generate at any height. With that there are two particular issue I have run into. First, in the example pack I will send, Lapis is not generating at heights I am expecting it to. I have it set so that Lapis is not generating lower than Y55 and can generate as high as Y130. I also made it more common for testing purposes. In game it is generating much more commonly but it isn't abiding by generation conditions. It still generates deep and does not generate high. Both placed_feature, and configured_feature for all of Lapis has been placed in the pack which means those features should solely be controlled by my pack now, right? My other issue is with /reload. It may be a related problem to the prior but it is not working for me with terrain generation. I have a constant chat tick function that I add a number to every reload to ensure that the pack is still functioning and changes are being made. The problem is that changing ore generation is ignored on reload. In the case of Lapis, no value I change gets reflected on a reload. In previous iterations of the datapack, I completely removed the files from the placed and configure folders and ores would still generate in mass upon reloading. Any help or tips would be greatly appreciated. Datapack is attached to this message. One thing I should note is that I am currently using a fresh Forge client (47.3.0), though the only mod I am using is Xray Mod to see ore generation a little better.