When you generate dungeons, the number you give is the number to generate -- so if you already have 10, and you specify 15, you will end up with 25.
Personally, I would just leave spawn where it is, and increase the maximum radius to be large enough to encompass all of your world (and a bit). Then, if you have the maximise distance option set true, you will end up with the new dungeons going into the newly-available area. However, either method will work -- it just depends on how tightly you want to control the area the new dungeons are created in
MCD will take existing dungeons into account when adding new ones. (they won't overlap and such). But if you ask it to add 15 more dungeons, it will try to add 15 more. If there is room, you'll end up with 27 dungeons. If it runs out of room it will stop early and you may end up with fewer.
If you want to regenerate dungeons in place, take a look at the regenerate command.
Rollback Post to RevisionRollBack
MCDungeon - Procedural Dungeons
The volume of a pizza of thickness a and radius z can be described by the following formula: pi*z*z*a
**NOTE**: This version requires Minecraft 1.9.2 release or higher!
Improved chunk scanning speed on a single core by 70% !!! (orphu)
Chunk scanning can now take advantage of multi-core processors. (orphu)
OS X and Linux only at the moment I'm afraid.
See new --workers option.
Added books for the new 1.9 enchantments. (JiFish)
Added more 1.9 loot (JiFish)
Added YAML exports of dungeon and thunt info. Look in the mcdungeon_cache directory. (orphu)
Exit portals now use 1.9 gateways. (JiFish)
Projectile potion traps are now lingering. (JiFish)
Lava floors are more likely to be traversable without needed to build. (orphu)
Possible fix for dungeon maps and multiple worlds when using --dir. (JiFish)
Avoid placing dungeons and treasure hunts on chunks that are not completely generated. (orphu)
Removed dependency on legacy Overviewer code (orphu)
Removed handrail from TripleStairs (orphu)
Landmark frames are no longer invulnerable. (orphu)
Fixed several issues with maps and dungeons generated prior to Minecraft 1.9. (orphu)
Fixed issues with 0.15.x dungeons being generated in pre-1.9 chunks. This was causing some entities (mods with equipment and villagers) to disappear. (orphu)
Fixed tipped arrow stacking. (JiFish)
Rollback Post to RevisionRollBack
MCDungeon - Procedural Dungeons
The volume of a pizza of thickness a and radius z can be described by the following formula: pi*z*z*a
I need help, whenever I put in the number of dungeons I would like to have the console says "X doesn't appear to be an integer!", I am using the windows 64 bit version and minecraft 1.8.
I need help, whenever I put in the number of dungeons I would like to have the console says "X doesn't appear to be an integer!", I am using the windows 64 bit version and minecraft 1.8.
This is likely unrelated to your issue, but the latest release won't work with 1.8 properly. If you are using Minecraft 1.8 you should be using the old MCDungeon v0.14.1. Is that the version you are using? I just want to check that I'm looking at the same version before trying to reproduce the issue.
I have a 10,000 x 10,000 block 1.8.x world filled with MCDungeons and treasure hunts. I'd like to update this world to MC 1.9.
My question is, what's the best way to do this? Should I tell MCDungeon to remove all MCDungeon generated structures prior to updating my world? (Least favorable option because I spent a lot of time playing this world and various MCDungeons are an integral part of this particular world. That and I spent quite a bit of time building out the dungeon and scavenger hunt generation.)
Can I update MC to 1.9, update MCDungeon to v0.15.1 and then command MCDungeon to re-populate the existing structures? (I know that 1.9 breaks MCDungeon v0.14.2 as I had already tried that during the 1.9 snapshots.)
I'm not sure how to proceed. Ideally, nothing would change except for my existing dungeons to now work with 1.9.
Any advice would be appreciated. (I checked the FAQ and did a search on this forum and didn't find anything except what I already knew, that each version of MCDungeon is meant to work with a specific version of MC.)
@MayhemKing - you'll have the problem that the world chunks will be still in 1.8 format; until they are loaded by MC1.9 they will not become 1.9 format, which means that MCD0.15.1 will not want to write to them.
If you update to MC1.9, then (somehow!) load each and every chunk, they will be automatically converted to 1.9 format and written to the disk. After that, MCD can work on the world.
If all you want is to upgrade your world to 1.9, then Minecraft does this automatically to each chunk when it is first visited. You don't need to do anything but upgrade your server, and your world will be upgraded automatically. You *might* be able to use WorldBorder to force-pre-upgrade the chunks in the same way it can be used to pre-generate missing ones, but I've not tried this so can't say for sure.
However, MCDungeon0.15.1 will not want to run to regenerate anything (or add new dungeons) in your world until you've upgraded the chunks to 1.9 format. This may not be an issue if you're not planning on re-generating the existing dungeons, though of course you need to regenerate in order to get dungeons that make use of the new 1.9 features.
We dealt with this in 0.15.1. You can pretty much do whatever you want. 0.15.1 will write 1.9.2+ compatible chunks now, and set the DataVersion such that MC 1.9.x will see them as version 1.9.2 and not break. What sshipway said in his first paragraph is no longer true.
If you run 0.15.1 to regen dungeons, just don't try to load the map into 1.8 anymore. Use 1.9.2 at a minimum from that point forward. You can run 0.15.1 against your 1.8 world first if you want, that's fine. If you load your map into >= 1.9.2 first, that's okay too.
This is likely unrelated to your issue, but the latest release won't work with 1.8 properly. If you are using Minecraft 1.8 you should be using the old MCDungeon v0.14.1. Is that the version you are using? I just want to check that I'm looking at the same version before trying to reproduce the issue.
I was using version v0.14.2, but I also tried v0.14.1 and it gave me the same issue.
Ah, sorry, looks like I'm a bit behind in the news. I had thought there were still some issues with MCD0.15 upgrading a 1.8 chunk to 1.9 and so it was best avoided. Good to know it is working now!
I tihnk the OP simply wants to upgrade to 1.9 and so it should not be necessary to re-run MCD at all; just let MC1.9 upgrade the chunks when it finds them.
Your save directory is:
C:\Users\(private)\AppData\Roaming\.minecraft\saves
Worlds in your save directory:
dungeon
Only one world available. Using this one.
Choose an action:
-----------------
[a] Add new dungeon(s) to this map.
[t] Add new treasure hunt(s) to this map.
[l] List dungeons and treasure hunts already in this map.
[d] Delete dungeons or treasure hunts from this map.
[r] Regenerate a dungeon or treasure hunt in this map.
Generate OverViewer POI file for dungeons and treasure hunts
already in this map.
Enter the name of the configuration you wish to use.
(leave blank for default):
Reading config from configs\default.cfg ...
Loaded 17 dye colors.
Loaded 21 custom potions.
Loaded 65 magic items.
Loaded 10 shops.
Loaded 20 custom spawners.
Some configurations may generate dungeon maps. If you are
using bukkit/multiverse you need supply the name of your
primary world for this to work. You can also provide this
in the config file or as a command switch.
(if you don't use bukkit, just hit enter)
Name of primary bukkit world:
Enter the maximum distance (in chunks) from spawn to place
dungeons. Take care to pick a value that matches your needs.
If this value is too high and you add few dungeons, they
may be hard to find. If this value is too low and you
add many dungeons, they will not cover much of the map.
Max Distance (leave blank for config value, 19): 625
Enter the size of the dungeon(s) in chunks from West to East. (X size)
You can enter a fixed value >= 4, or a range (ie: 4-7)
X size:
Enter the size of the dungeon(s) in chunks from North to South. (Z size)
You can enter a fixed value >= 4, or a range (ie: 4-7)
Z size:
Enter a number of levels.
You can enter a fixed value >= 1, or a range (ie: 3-5)
Levels:
Enter the maximum number of dungeons to add.
Depending on the characteristics of your world, and size of your
dungeons, the actual number placed may be less.
Enter -1 to add as many dungeons as possible.
Number of dungeons (leave blank for 1): 75
Trying to open: C:\Users\Trent Gaither\AppData\Roaming\.minecraft\saves\dungeon
Loaded world: C:\Users\Trent Gaither\AppData\Roaming\.minecraft\saves\dungeon (1
7730 chunks, 256 blocks high)
Looking for data directory: C:\Users\Trent Gaither\AppData\Roaming\.minecraft\sa
ves\dungeon\data
X doesn't appear to be an integer!
Press any key to continue . . .
I think the OP simply wants to upgrade to 1.9 and so it should not be necessary to re-run MCD at all; just let MC1.9 upgrade the chunks when it finds them.
Yep. That's pretty much it. I want to update my world to MC 1.9 and don't want to break my MCDungeons. Back in October or November, I tried to update my world to a 1.9 snapshot and it broke my MCDungeons. I think it had to do with the loot tables, but it's been some time and again, it was a snapshot.
So, I'm picking up on two, possibly conflicting messages. I could probably update all chunks over night using Minecraft Land Generator or as mentioned, just let chunks update organically as I play. The part that I'm not sure if I need to address is whether or not MCDungeons generated in v0.14.2 need to be updated to v0.15.1 MCDungeons.
What I'm gathering is that I could regenerate MCDungeons, but I don't have to. (And if I did regenerate those dungeons using v0.15.1, I could do that either in the 1.8 world or the converted 1.9 world, just as long as I'm updating forwards and not reverting to an old world after running MCD v0.15.1.)
So my last question is, is there a benefit for me to regenerate MCDungeons and treasure hunts using v0.15.1 or should I just leave my MCDungeons alone? MCDungeons generated using MCD v0.14.2 won't break in 1.9? If I do decided to regenerate, are there additional features added by v0.15.1? (Beyond 1.9 loot, books, and enchantments.)
I also want to add that I love MCDungeon. It's perfect for my style of play, which since early beta, has been a survival/exploration meets AD&D style. I appreciate all of the work and labor of love that MCD obviously is. So, thank you for your continued work on this project that has brought hours upon hours of enjoyment to me and my family!
When you generate dungeons, the number you give is the number to generate -- so if you already have 10, and you specify 15, you will end up with 25.
Personally, I would just leave spawn where it is, and increase the maximum radius to be large enough to encompass all of your world (and a bit). Then, if you have the maximise distance option set true, you will end up with the new dungeons going into the newly-available area. However, either method will work -- it just depends on how tightly you want to control the area the new dungeons are created in
I'd probably just increase the max distance.
MCD will take existing dungeons into account when adding new ones. (they won't overlap and such). But if you ask it to add 15 more dungeons, it will try to add 15 more. If there is room, you'll end up with 27 dungeons. If it runs out of room it will stop early and you may end up with fewer.
If you want to regenerate dungeons in place, take a look at the regenerate command.
The volume of a pizza of thickness a and radius z can be described by the following formula: pi*z*z*a
Ok. Awesome! Thanks for the responses gents and thank you for the tool Eggplant
I've been building a little Python GUI tool to create item, mob, and spawner nbt files for use with MCDungeon, figured ya'll might like it as well.
It's got basic support for mods, with base metals and my own in progress mod already incorporated.
It's MIT licensed, get the Source
Right now I've only packaged for Windows, but it should be runnable on Linux, OSX from source provided you setup the dependencies.
Windows Build
Some Quick Preview Screens:
Awesome work! This will make people uncomfortable with using NBT Explorer very happy.
Just released a small update cause my Spawners were using the old 1.8 tags and not 1.9. The previous link has been updated.
Nice!
Linked here: http://mcdungeon.bubblemod.org/
I'll also add it to the docs for 0.15.1
The volume of a pizza of thickness a and radius z can be described by the following formula: pi*z*z*a
Version 0.15.1 release!
**NOTE**: This version requires Minecraft 1.9.2 release or higher!
The volume of a pizza of thickness a and radius z can be described by the following formula: pi*z*z*a
I need help, whenever I put in the number of dungeons I would like to have the console says "X doesn't appear to be an integer!", I am using the windows 64 bit version and minecraft 1.8.
This is likely unrelated to your issue, but the latest release won't work with 1.8 properly. If you are using Minecraft 1.8 you should be using the old MCDungeon v0.14.1. Is that the version you are using? I just want to check that I'm looking at the same version before trying to reproduce the issue.
I have a 10,000 x 10,000 block 1.8.x world filled with MCDungeons and treasure hunts. I'd like to update this world to MC 1.9.
My question is, what's the best way to do this? Should I tell MCDungeon to remove all MCDungeon generated structures prior to updating my world? (Least favorable option because I spent a lot of time playing this world and various MCDungeons are an integral part of this particular world. That and I spent quite a bit of time building out the dungeon and scavenger hunt generation.)
Can I update MC to 1.9, update MCDungeon to v0.15.1 and then command MCDungeon to re-populate the existing structures? (I know that 1.9 breaks MCDungeon v0.14.2 as I had already tried that during the 1.9 snapshots.)
I'm not sure how to proceed. Ideally, nothing would change except for my existing dungeons to now work with 1.9.
Any advice would be appreciated. (I checked the FAQ and did a search on this forum and didn't find anything except what I already knew, that each version of MCDungeon is meant to work with a specific version of MC.)
Thank you!
@MayhemKing - you'll have the problem that the world chunks will be still in 1.8 format; until they are loaded by MC1.9 they will not become 1.9 format, which means that MCD0.15.1 will not want to write to them.
If you update to MC1.9, then (somehow!) load each and every chunk, they will be automatically converted to 1.9 format and written to the disk. After that, MCD can work on the world.
If all you want is to upgrade your world to 1.9, then Minecraft does this automatically to each chunk when it is first visited. You don't need to do anything but upgrade your server, and your world will be upgraded automatically. You *might* be able to use WorldBorder to force-pre-upgrade the chunks in the same way it can be used to pre-generate missing ones, but I've not tried this so can't say for sure.
However, MCDungeon0.15.1 will not want to run to regenerate anything (or add new dungeons) in your world until you've upgraded the chunks to 1.9 format. This may not be an issue if you're not planning on re-generating the existing dungeons, though of course you need to regenerate in order to get dungeons that make use of the new 1.9 features.
@MayhemKing and @sshipway.
We dealt with this in 0.15.1. You can pretty much do whatever you want. 0.15.1 will write 1.9.2+ compatible chunks now, and set the DataVersion such that MC 1.9.x will see them as version 1.9.2 and not break. What sshipway said in his first paragraph is no longer true.
If you run 0.15.1 to regen dungeons, just don't try to load the map into 1.8 anymore. Use 1.9.2 at a minimum from that point forward. You can run 0.15.1 against your 1.8 world first if you want, that's fine. If you load your map into >= 1.9.2 first, that's okay too.
The volume of a pizza of thickness a and radius z can be described by the following formula: pi*z*z*a
I was using version v0.14.2, but I also tried v0.14.1 and it gave me the same issue.
Ah, sorry, looks like I'm a bit behind in the news. I had thought there were still some issues with MCD0.15 upgrading a 1.8 chunk to 1.9 and so it was best avoided. Good to know it is working now!
I tihnk the OP simply wants to upgrade to 1.9 and so it should not be necessary to re-run MCD at all; just let MC1.9 upgrade the chunks when it finds them.
Can you tell us exactly what you are entering for number of dungeons? Maybe copy/paste all the text in the console window into pastebin for us.
The volume of a pizza of thickness a and radius z can be described by the following formula: pi*z*z*a
MCDungeon 0.14.2
Loaded 374 materials.
Loaded 698 items.
Loaded 58 items from NBT files.
Starting interactive mode!
Your save directory is:
C:\Users\(private)\AppData\Roaming\.minecraft\saves
Worlds in your save directory:
dungeon
Only one world available. Using this one.
Choose an action:
-----------------
[a] Add new dungeon(s) to this map.
[t] Add new treasure hunt(s) to this map.
[l] List dungeons and treasure hunts already in this map.
[d] Delete dungeons or treasure hunts from this map.
[r] Regenerate a dungeon or treasure hunt in this map.
Generate OverViewer POI file for dungeons and treasure hunts
already in this map.
Enter choice or q to quit: a
Configurations in your configs directory:
caverns
default
easy_mode
hard_mode
lucky_blocks
maze
more_mobs
sample_themed
Enter the name of the configuration you wish to use.
(leave blank for default):
Reading config from configs\default.cfg ...
Loaded 17 dye colors.
Loaded 21 custom potions.
Loaded 65 magic items.
Loaded 10 shops.
Loaded 20 custom spawners.
Some configurations may generate dungeon maps. If you are
using bukkit/multiverse you need supply the name of your
primary world for this to work. You can also provide this
in the config file or as a command switch.
(if you don't use bukkit, just hit enter)
Name of primary bukkit world:
Enter the maximum distance (in chunks) from spawn to place
dungeons. Take care to pick a value that matches your needs.
If this value is too high and you add few dungeons, they
may be hard to find. If this value is too low and you
add many dungeons, they will not cover much of the map.
Max Distance (leave blank for config value, 19): 625
Enter the size of the dungeon(s) in chunks from West to East. (X size)
You can enter a fixed value >= 4, or a range (ie: 4-7)
X size:
Enter the size of the dungeon(s) in chunks from North to South. (Z size)
You can enter a fixed value >= 4, or a range (ie: 4-7)
Z size:
Enter a number of levels.
You can enter a fixed value >= 1, or a range (ie: 3-5)
Levels:
Enter the maximum number of dungeons to add.
Depending on the characteristics of your world, and size of your
dungeons, the actual number placed may be less.
Enter -1 to add as many dungeons as possible.
Number of dungeons (leave blank for 1): 75
Trying to open: C:\Users\Trent Gaither\AppData\Roaming\.minecraft\saves\dungeon
Loaded world: C:\Users\Trent Gaither\AppData\Roaming\.minecraft\saves\dungeon (1
7730 chunks, 256 blocks high)
Looking for data directory: C:\Users\Trent Gaither\AppData\Roaming\.minecraft\sa
ves\dungeon\data
X doesn't appear to be an integer!
Press any key to continue . . .
OK, so you are not providing values for Levels or X and Z size. You need to provide these. In this case, there is no default.
The error message here could probably be clearer.
Thanks for the help, I tried that and it worked.
@Eggplant42 @sshipway
Thank you so much for the speedy reply!
Yep. That's pretty much it. I want to update my world to MC 1.9 and don't want to break my MCDungeons. Back in October or November, I tried to update my world to a 1.9 snapshot and it broke my MCDungeons. I think it had to do with the loot tables, but it's been some time and again, it was a snapshot.
So, I'm picking up on two, possibly conflicting messages. I could probably update all chunks over night using Minecraft Land Generator or as mentioned, just let chunks update organically as I play. The part that I'm not sure if I need to address is whether or not MCDungeons generated in v0.14.2 need to be updated to v0.15.1 MCDungeons.
What I'm gathering is that I could regenerate MCDungeons, but I don't have to. (And if I did regenerate those dungeons using v0.15.1, I could do that either in the 1.8 world or the converted 1.9 world, just as long as I'm updating forwards and not reverting to an old world after running MCD v0.15.1.)
So my last question is, is there a benefit for me to regenerate MCDungeons and treasure hunts using v0.15.1 or should I just leave my MCDungeons alone? MCDungeons generated using MCD v0.14.2 won't break in 1.9? If I do decided to regenerate, are there additional features added by v0.15.1? (Beyond 1.9 loot, books, and enchantments.)
I also want to add that I love MCDungeon. It's perfect for my style of play, which since early beta, has been a survival/exploration meets AD&D style. I appreciate all of the work and labor of love that MCD obviously is. So, thank you for your continued work on this project that has brought hours upon hours of enjoyment to me and my family!