Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
Block Spawn

Block Spawn

Allows for spawning mobs when players break blocks.

147
6
Cursed
Game Mechanics
Mobs

Compatibility

Minecraft: Java Edition

1.20.1

Platforms

Forge
NeoForge

Supported environments

Server-side

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Links

Report issues View source

Creators

n643064
n643064 Member

Details

Licensed GPL-3.0-or-later
Published 11 months ago
Updated 11 months ago
DescriptionChangelogVersions

This mod allows for entities to be spawned when players break blocks. Any block can be configured to spawn a single entity out of a provided array, with a specified chance and toggles for terrain adjustment and immediate player targeting.

Example configuration

The attempts to spawn entities are in the order they are defined in the configuration file, meaning an entity that is second in order will only have a chance to be spawned if the one before it fails to.

{
  "minecraft:cobweb": [
    {
      "mob": "minecraft:cave_spider",
      "chance": 0.05,
      "adjustTerrain": false,
      "targetPlayer": true
    }
  ],
  "minecraft:stone_bricks": [
    {
      "mob": "minecraft:silverfish",
      "chance": 0.05,
      "adjustTerrain": false,
      "targetPlayer": false
    },
    {
      "mob": "minecraft:endermite",
      "chance": 0.01, // * 0.95 = 0.0095
      "adjustTerrain": false,
      "targetPlayer": false
    }
  ]
}

Option descriptions
  • list key The namespaced identifier of a block
  • mob The identifier of an entity
  • chance A percentage chance for an entity to spawn
  • adjustTerrain Whether terrain around the entity should be destroyed when it spawns, keeping the block directly under it
  • targetPlayer Whether the entity should spawn targeting and aggressive towards the player

Modrinth is open source.

new-orgs-page@a27b5f4

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.