Wiki 9Minecraft Cannibalism Mod Wiki
Cannibalism Mod Wiki › Configuration

Cannibalism Mod — Configuration

Configuration (JSON System)

As of version 1.1.0, the mod allows for extensive customization of knife drops and damage via JSON files located in the config/cannibalism folder.

JSON Structure

Each entry in the JSON must contain the following fields: * entityID: The unlocalized name of the mob (e.g., "Cow", "PigZombie", or "player"). * modID: The ID of the mod the entity belongs to (usually "minecraft"). * drops: The item ID to drop (e.g., "minecraft:beef"). Multiple items can be separated by commas. * minDamage: Minimum hearts of damage dealt to the entity. * maxDamage: Maximum hearts of damage dealt to the entity.

Example Entry:

[
 {
 "entityID": "Cow",
 "modID": "minecraft",
 "drops": "minecraft:leather,minecraft:beef",
 "minDamage": "2.5",
 "maxDamage": "3.0"
 }
]

Wildcards and Overwrites

  • Wildcards: Adding an asterisk (e.g., Zombie*) applies the settings to all entities that extend from that class (like PigZombies extending from Zombies).
  • Overwrites: To change default mod behavior, create an overwrite.json file. Any entity not included in this file will be removed from the knife's target list.

Knife of Testing (Dev Knife)

This creative-only item is used to debug JSON configurations. * Right-click an entity: Displays its entityID and modID in chat. * Shift + Right-click in air: Reloads all JSON data from the config folder without restarting the game.

Commands

Operators can use the following commands to manage the Wendigo mechanic:

  • /cannibalism stat <player_name>: Displays the current Wendigo Level of the specified player.
  • /cannibalism set <player_name> <value>: Manually sets a player's Wendigo Level to a specific number.