• Search
  • Tools

How Do You Change Spawn Rates?

  • #1 Jun 20, 2012

    How do you change spawn rates for mobs? i know it says add.spawn but what does the numbers mean?

    Rollback Post to Revision RollBack

  • #2 Jun 20, 2012

    Well, here is an example:

    ModLoader.addSpawn(YOURENTITY.class, 25, 1, 3);

    The first number is the percent of the mob spawning against other mobs, the second number is the minimum group your mob can spawn in, and the third number is the maximum group number your mob can spawn in. So this mob will spawn 25% of the time(That is actually pretty high), and it can spawn in groups ranging from one to three. Thats how you do it for custom mobs. I am not sure if this will work with vanilla mobs

    Rollback Post to Revision RollBack

  • #3 Jun 21, 2012

    Well, here is an example:

    ModLoader.addSpawn(YOURENTITY.class, 25, 1, 3);

    The first number is the percent of the mob spawning against other mobs, the second number is the minimum group your mob can spawn in, and the third number is the maximum group number your mob can spawn in. So this mob will spawn 25% of the time(That is actually pretty high), and it can spawn in groups ranging from one to three. Thats how you do it for custom mobs. I am not sure if this will work with vanilla mobs

    ok then thanks

    Rollback Post to Revision RollBack

  • #4 Jan 15, 2013

    Wait what file do I change for this

    Rollback Post to Revision RollBack

  • #5 Oct 18, 2013

    Wait what file do I change for this

    Go to your config

    Rollback Post to Revision RollBack

    I AM DAVE EXCLAMATION-MARK YOGNAUGHT AND I MOST CERTAINLY DO HAVE THE BALLS!!

  • #6 Feb 13, 2014

    where in the config file do I go to change this, what folder?

    Rollback Post to Revision RollBack

  • #9 Aug 24, 2016

    UpcraftLP

    • View User Profile
    • View Posts
    • Send Message
    Curse Premium

    View UpcraftLP's Profile

    • A Space Odyssey
    • Location: this.getLocalization()
    • Join Date: 10/8/2015
    • Posts: 2,069
    • Location: me.locate((Location)null);
    • Minecraft: UpcraftLP
    • Xbox: :P
    • PSN: buy one for me!
    • Member Details

    can i put this wherever i want in the config?

    Did you notice that this thread was from ONE YEAR AGO?!
    Stop necroposting old threads

    Rollback Post to Revision RollBack

  • To post a comment, please login.

Posts Quoted:

Reply

Clear All Quotes