Wiki 9Minecraft Wiki 9Minecraft

No Mob Spawning on Trees Rule Syntax & Tags

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

Get the files on 9Minecraft

Contents (4)
  1. Available Tags
  2. Logical Operators
  3. Next guides
  4. More in this wiki

Rules are constructed using specific Tags and Operators. Each line in the blacklistRules section represents a single logic check.

Available Tags

Tag Format Description
woodlogs woodlogs A shortcut tag targeting all blocks categorized as wood logs.
position position:x,y,z Targets specific coordinates. Supports ranges (e.g., 0-64).
block block:modID:name:meta Targets a specific block type and optional damage/metadata value.
material material:name Targets block materials (e.g., WOOD, ROCK, IRON, LEAVES).
mob mob:name Targets specific mobs (e.g., mob:creeper, mob:zombie).
mobtype mobtype:type Targets categories: monster, animal, ambient, or water.
dim dim:ID Targets specific dimensions by ID or Name (e.g., dim:-1 or dim:theEnd).
chance chance:0.0-1.0 Adds a random probability for the rule to trigger (0.95 = 95% chance).
biome biome:ID Targets specific biomes by ID or Name (e.g., biome:plains).
biometype biometype:TYPE Targets Forge biome dictionary types (e.g., SANDY, COLD, DRY).
moonphase moonphase:name Targets specific moon phases (e.g., fullmoon, newmoon).
daytime daytime:0-23999 Targets specific times of the Minecraft day.
light light:range,type Targets light levels. Types: mixed, sky, or block.

Logical Operators

Tags can be combined to create complex conditions:

  • AND: & or && (Both conditions must be true)
  • OR: | or || (Either condition can be true)
  • NOT: ~ or ! (The condition must be false)
  • Parentheses: ( and ) (Used to group logic)