Wiki 9Minecraft Wiki 9Minecraft

No Mob Spawning on Trees Advanced Rule Prefixes

Java EditionModGuides 7FAQ 10Related mods 60
DownloadNo Mob Spawning on Trees Mod

Get the files on 9Minecraft

Contents (4)
  1. Whitelisting (- Prefix)
  2. Adding/Overriding Spawns (@ Prefix)
  3. Next guides
  4. More in this wiki

NMSOT allows for more than just blacklisting. By using special prefixes at the start of a rule, you can change its behavior.

Whitelisting (- Prefix)

If a rule starts with a minus sign -, it acts as a whitelist. Whitelist rules override previous blacklist rules. This is useful for allowing spawns on specific blocks that would otherwise be blocked by a general material rule.

  • Example: woodlogs followed by -block:minecraft:log:0 will block spawns on all logs except Oak logs

Adding/Overriding Spawns (@ Prefix)

If a rule starts with @, it is treated as a new spawning entry, allowing you to force mobs to spawn where they normally wouldn't.

  • Format: @tag1, tag2, weight:X, count:min-max
  • Example: @biometype:SANDY, mob:Ghast, weight:300 makes Ghasts spawn in deserts

A Ghast spawned in a desert biome using the @ prefix rule