Configuring the Mod

There is a configuration screen for the Ultimate Unicorn Mod, if you want to change some things about how it works.

Things you can change include:

  • How likely each magical horse breed is to spawn in its home biomes, including whether it spawns in your world at all.  
  • The entity name of each magical horse breed, including a backup name in case that name is taken by another mod already.  This helps make the Ultimate Unicorn mod work nicely with other mods that might not know about it.
To get to the configuration screen, follow these steps.

First, click on the "Mods" button on the main screen that appears when you start Minecraft.  It looks like this:


Next, find and click on "Wings, Horns, and Hooves, the Ultimate Unicorn Mod" in the left panel, and then click on the "Config" button.  It should look like this:


Finally, you will see the configuration screen, which looks like this:


"Spawn Chance" is the a percent chance that the entity type will spawn in its biome.  Setting this to 0 will make that entity type never spawn.  As an example, if you never want to see Nightmares in your games, then set the "Nightmare Spawn Chance" to 0.

If you make any changes to this configuration screen, you need to restart Minecraft to make them take effect.


4 comments:

  1. First, this mod is awesome. Very imaginative application of mythical creatures, and ingenious implementation of their magical powers.

    I found two oddities that I can work around, but nerdy curiosity requires me to look into them. I'm setting this up on a 1.8.9 server, so I have to go through the .cfg file rather than the gui. Does the line position of strings in the file affect the configuration?

    The two "S" lines regarding Nightmares appear after the "I" line regarding Knight Vagabonds, and the "S" lines for Destriers show under the Horse Horn Data Watcher line. With Vagabonds' spawn chance set to the default 2 and all others set to the default 5, Unicorns, Pegasai, and Hippocampai, all show up in reasonable numbers, but the Tundras are crawling with Destriers and the Deserts are overflowing with Nightmares =P Lower numbers mean lower chance, right? Or is it the other way around?

    If I move the lines, the Nightmares are culled somewhat, but the Destriers still rule the snows, and the file's format returns to its default (values maintained though) after a server restart.

    Basically I don't know how code works anymore.

    ReplyDelete
    Replies
    1. I have been somewhat unhappy with how the spawning system seems to create a lot of Nightmares in the desert for a while. I took a look at the code recently to try to figure out why it wasn't behaving as I expected ... and I think I've figured it out.

      After digging through the minecraft and forge code, it appears that if there are few or no other entities that spawn in a given biome, that adding ONE kind of creature to that biome (e.g. Nightmares in the desert) will make that creature show up much more frequently than you expect.

      The variable in forge is named, "Weighted probability," for spawning, but that's misleading.

      In short, I'm going to have to figure out a way to make these spawn rates behave more like I expect. It probably means I'll have to introduce some of my own spawning code. I don't expect it to be too hard, though.

      I'll try to get it into the next release this weekend, but it might slip a week or so.

      I am not sure what's up with you moving around config lines in the .cfg file. I wouldn't think that would make a difference .... Hmm. Actually, thinking back on that spawning code, it *might* make a difference, since the spawn code walks over a list to determine what to spawn next, and the list order could make a difference regarding what is spawned. I'm not sure, though. I'll look at it a little more.

      Thanks for posting about this! It's definitely something that's been bugging me for a while as well, and I should make another attempt to fix it.

      Delete
    2. Hi Joel, I've run into the same problem as you while writing Stacy's Wolves. Did you ever manage to solve this?

      I'm tinkering with putting a spawn event handler in which simply gives the wolves a chance to not spawn, but that really only slows the problem down.

      Delete
  2. This mod is beautiful, but where can I find these magical horses and are they peaceful? how can I tame her? that would be interesting!
    Can I find these horses in the peaceful. or only if mobs are turned on?

    ReplyDelete