Greymerk / minecraft-roguelike

This is a mod for minecraft that adds randomly generated dungeon complexes.
GNU General Public License v3.0
129 stars 53 forks source link

RLD prefers dungeons with biome criteria over non-criteria'd biomes, even when explicitly requested #201

Closed srwaggon closed 4 months ago

srwaggon commented 4 years ago

Rogulike Dungeons should always create the dungeon requested.

Expected/Desired Behaviour

Calling /roguelike dungeon here foo should always create the dungeon of type foo, if possible.

Current behaviour

Calling /roguelike dungeon here foo is creating an alternate dungeon (e.g. bar) which has the current biome specified within its criteria, instead of the requested dungeon.

Reproduction

Create two dungeons, named foo and bar respectively. Set foo to have an empty criteria, such that it should generate anywhere. Set bar to have a criteria snowy. Find a snowy biome and execute /roguelike dungeon here foo

Notice that that the dungeon bar has been created instead.

Leave the specified biome. Go to any other biome. Execute the command again /roguelike dungeon here foo

Notice that the desired dungeon (foo) has been created.