HomeJavaModsentityreplacer
entityreplacer
ModsJava

entityreplacer

by jokbit14285 · on CurseForge

⬇ Download on CurseForge

The author built this one for Minecraft 1.20.1 on Forge. On other versions it may install and then do nothing.

Configure to replace certain creatures with others.

config path: config/entityreplacer/xxx.json

example:

[
  {
    "replaceds": [
      "minecraft:villager" //mobs that need to be replaced, array string
    ],
    "replacers": [//New mobs for replacement, array obj
      {
        "mobId": "minecraft:pillager",
        "weight": 10
      },
      {
        "mobId": "guardvillagers:guard",
        "weight": 10
      },
    ],
    "chance": 0.8, //probability of substitution
    "rolls": 3, //Replace one mob with rolls
    "additionMode": false //Whether to remove the original mob
  },
    {
    "replaceds": [
      "minecraft:creeper"
    ],
    "replacers": [
      {
        "mobId": "mozombies_wave:zombie_creeper",
        "weight": 10
      },
      {
        "mobId": "specialmobs:skeletoncreeper",
        "weight": 10
      }
    ],
    "chance": 1.0,
    "rolls": 1,
    "additionMode": false
  }
]

reload command:
/entityreplacer reload

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more