Open Terrain Generator (OTG)

Open Terrain Generator (OTG)

10M Downloads

Ore(coal_ore) unaffected by DisableOreGen setting.

aswheaton opened this issue ยท 1 comments

commented

OTG Plugin or Mod

  • OTG Mod for Forge
  • OTG Plugin for Spigot

OTG Version

  • 1.12.2_v8_r1
  • 1.12.2_v7_DEV_r26
  • 1.12.2-v6
  • 1.12.2-v5
  • 1.11.2-v8
  • 1.11.2-v9
  • 1.10.2-v21
  • Other - 1.16.5-0.0.19

Forge or Spigot Versions

paper-1.16.5-788

What other plugins are you running?

None

Description

Coal ore spawns using the Ore() resource even when DisableOreGen: true in WorldConfig.ini. To reproduce, start the Paper server with OTG installed to generate the Default preset, and then stop the server. Open plugins/OpenTerrainGenerator/Presets/Default/WorldConfig.ini and set the line DisableOreGen: false to DisableOreGen: true. Delete chunks stored in the world/region/ directory and restart the server. Replacing all the stone blocks in a chunk with air reveals that coal still generates.

2021-10-07_13 50 05

This issue does not appear to be reproducible in singleplayer Forge:

2021-10-07_14 45 31

Setting DisableOreGen: true should disable all ore gen, including coal. On both platforms, dirt, gravel, andesite, diorite, and granite spawned with the Ore() resource all spawn regardless of the value of DisableOreGen. The WorldConfig comments say this setting "Disables Ore(), UnderWaterOre() and Vein() biome resources that use any type of ore block." (emphasis mine) so maybe the issue is that coal is not seen as an ore block on Paper?

commented

Ahhh, the world's foremost data-driven worldgen mod.

Screen_Shot_2021-10-29_at_17 54 00

(I fixed it, little mistake made by PG85 back in June.)