Custom-Ore-Generator icon indicating copy to clipboard operation
Custom-Ore-Generator copied to clipboard

Not detecting biomes correctly

Open robertosu opened this issue 1 year ago • 2 comments

The plugin is not generating ores in some biomes that are present on the server, it throws these exceptions in console. As we can see in the image with x-ray, no custom ores are generated in deep dark biome.

Im using dev build #83 on paper last 1.21.1 build

image image

robertosu avatar Dec 13 '24 21:12 robertosu

This looks like a malformatted ore config. Can you provide the alboris ore config? It should be located under {server-directory}/plugins/custom-ore-generator/data/ore-config

DerFrZocker avatar Dec 14 '24 10:12 DerFrZocker

It was indeed a malformed config (my fault i think), but through some testing I found that the custom blocks were not being generated in 'deep dark'.

Steps to reproduce:

Do '/oregen create' and the normal procedure for oraxen blocks, select deep dark biome, and in this case I selected bamboo_jungle to see if it works.

No blocks are created in deep dark, but they are created in bamboo_jungle.

ore-config file:

value:
  ==: CustomOreGenerator#OreConfig
  name: orax
  material: NOTE_BLOCK
  ore-generator: VANILLA_MINABLE_GENERATOR
  block-selector: COUNT_RANGE
  activated: true
  generated-all: false
  biomes:
  - DEEP_DARK
  - STONY_PEAKS
  - BAMBOO_JUNGLE
  replace-materials:
  - DEEPSLATE
  custom-data:
    ORAXEN: orax_ore
  ore-generator-settings:
    ==: CustomOreGenerator#OreSettingsContainer
    ore-settings:
      VEIN_SIZE: 8.0
  block-selector-settings:
    ==: CustomOreGenerator#OreSettingsContainer
    ore-settings:
      MINIMUM_HEIGHT: -62.0
      VEINS_PER_CHUNK: 7.0
      HEIGHT_RANGE: 64.0

Screenshots: image image

robertosu avatar Dec 15 '24 16:12 robertosu