Commands - Mitchellbrine/DiseaseCraft-Remastered GitHub Wiki

Sometimes, the aspects of this mod can seem a bit removed from the user. However, there are a few commands that can be used (both for debug and experimental reasons).

Here are the two commands you can use:

Infect

Infects a player with a disease.

/infect <player> <disease_id>

Argument Type Examples
player Player Dev or Mitchellbrine
disease_id Resource Location diseasecraft:flu or diseasecraft:rabies

Immune

There are multiple ways to manipulate a player's immune system.

/immune <blood_cell_count|learn|clear>

Blood_Cell_Count

Set the blood cell count (if the cell count is below an effect's level, that effect won't appear).

/immune blood_cell_count <cell_count> <player>

Argument Type Examples
cell_count Integer Min: 0 vs. Max: 100
player Player Dev or Mitchellbrine

Learn

Teaches a player's immune system to fight a disease.

/immune learn <player> <disease_id> or /immune learn <disease_id>

Argument Type Examples
player Player Dev or Mitchellbrine
disease_id Resource Location diseasecraft:flu or diseasecraft:rabies

Clear

Clears active diseases and memory.

/immune clear [player]

Argument Type Examples
player Player Dev or Mitchellbrine [optional]
⚠️ **GitHub.com Fallback** ⚠️