enemy-replace

Community

Replace vanilla mobs with weighted custom enemies

Authorpara7
Version1.0.0
Installs0

System Documentation

What problem does it solve?

SpawnTable-driven system that replaces vanilla Minecraft mobs with weighted custom enemies within defined spatial boundaries, enabling predictable encounters and reducing reliance on vanilla spawn logic. It covers the SpawnTable data model, dimension/distance/coordinate-based branching, baseMob attribute overrides, and the runtime flow using maf_vh_checked tags and maf_vh_rand scoring.

Core Features & Use Cases

  • Weighted spawn replacements: define a master spawn table with a replacement list and a baseMob.
  • Attribute overrides: optionally override HP, Attack, Defense, and MoveSpeed via BaseMobAttributes, applied after replacement decisions.
  • Spatial scoping: apply changes within specified dimension, distance, and axis-aligned bounding box ranges; supports per-table zoning and overlap validation.
  • Export pipeline: generate per-table function files and dispatchers to plug into the datapack's generated/enemy/replace path.

Quick Start

Create or modify savedata/spawn_table entries and run the export pipeline to generate datapack artifacts.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: enemy-replace
Download link: https://github.com/para7/magic_and_frontier/archive/main.zip#enemy-replace

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.