• 0

    posted a message on Mob Spawning Configurator

    so like this?


    # Configuration file

    general {
    # For details, please check https://github.com/oldjunyi/NoMobSpawningOnTrees/wiki
    S:blacklistRules <

    mob:pig, mob:cow, mob:sheep
    woodlogs # This line disables mob spawning on all types of wood logs.
    block:minecraft:brown_mushroom_block || block:minecraft:red_mushroom_block
    # The above line disables mob spawning on mushroom blocks.
    >

    # Extra spawning tries per tick. This will only applies to hostile mobs.
    D:extraSpawningTries=0.0

    # The capacity is the maximum (approximate) number of creatures can exist near the player.
    # Set -1 to use the default value, which is: monster(70), animal(10), ambient(15), water(5)
    I:spawnCapacityAmbient=-1
    I:spawnCapacityAnimal=1
    I:spawnCapacityMonster=-1
    I:spawnCapacityWater=-1
    }

    Posted in: Mods Discussion
  • 0

    posted a message on Mob Spawning Configurator
    Quote from MauveCloud0»

    If you just want to disable all peaceful mobs, I think this would work:

    mobtype:animal, mobtype:ambient, mobtype:water


    The second entry covers bats (and possibly similar creatures added by other mods, though I'm not specifically aware of any), the third covers squids (and sufficiently similar creatures added by other mods, but probably not Mo' Creatures fish types - I checked in jd-gui and they don't extend EntityWaterMob)



    If you only want to disable vanilla peaceful mobs but allow some from mods, you'd probably need to do something like this:

    mob:pig, mob:cow, mob:sheep


    and add entries to the list for the mobs you want to disable.


    so this is my config file where would i put the entry for vanilla mob spawns


    # Configuration file

    general {
    # For details, please check https://github.com/oldjunyi/NoMobSpawningOnTrees/wiki
    S:blacklistRules <
    woodlogs # This line disables mob spawning on all types of wood logs.
    block:minecraft:brown_mushroom_block || block:minecraft:red_mushroom_block
    # The above line disables mob spawning on mushroom blocks.
    >

    # Extra spawning tries per tick. This will only applies to hostile mobs.
    D:extraSpawningTries=0.0

    # The capacity is the maximum (approximate) number of creatures can exist near the player.
    # Set -1 to use the default value, which is: monster(70), animal(10), ambient(15), water(5)
    I:spawnCapacityAmbient=-1
    I:spawnCapacityAnimal=1
    I:spawnCapacityMonster=-1
    I:spawnCapacityWater=-1
    }

    Posted in: Mods Discussion
  • 0

    posted a message on Mob Spawning Configurator
    Quote from MauveCloud0»

    I think this mod will do what you want:

    https://minecraft.curseforge.com/projects/no-mob-spawning-on-trees



    how would i make it so that the only mobs that spawn are the modded ones and not peaceful mobs like pigs and cows and sheep?


    Edit: i tried to look on the github page but couldn't figure it out

    Posted in: Mods Discussion
  • 0

    posted a message on Mob Spawning Configurator

    surprisingly i already had the mod, but i never knew it could do that. thank you for the help

    Posted in: Mods Discussion
  • 0

    posted a message on Mob Spawning Configurator

    hello, i am making a mod pack and i am trying to make it so that peaceful mobs don't spawn, if someone could please let me know of a mod that will do this, it would be very appreciated, and if i would need to go into some code, could someone please link me a tutorial. thank you in advance. :)

    by the way, this needs to be for version 1.10.2

    Posted in: Mods Discussion
  • To post a comment, please or register a new account.