-
Notifications
You must be signed in to change notification settings - Fork 0
Diseases
Mitchellbrine edited this page Nov 28, 2022
·
7 revisions
The following are lists of diseases as they can be found in initial json packs, with each pack described above the list.
This is the classic 8 (+1) pack of diseases as packaged with the mod, containing a wide variety of effects that can be found in-game. Vectors are not listed, as of yet.
Icon | ID | Duration Range | Duration (min) | Effects |
---|---|---|---|---|
diseasecraft:bronchitis |
60-240 seconds | 1-4 min |
cough , seizure , particulate-transmission
|
|
diseasecraft:cold |
30-120 seconds | 0.5-2 min |
sneeze , cough , fatigue , particulate-transmission , develop-pneumonia
|
|
diseasecraft:flu |
600-1200 seconds | 10-20 min |
sneeze , cough , fatigue , vomit , develop-pneumonia
|
|
diseasecraft:malaria |
300-600 seconds | 5-10 min |
fatigue , insomnia , crazed-look , sudden-death
|
|
diseasecraft:pneumonia |
120-250 seconds | 2-4.17 min |
bad-cough , sudden-death
|
|
diseasecraft:rabies |
600-1200 seconds | 10-20 min |
hydrophobia , jitters , paranoia , sudden-death
|
|
diseasecraft:rsv |
300-1200 seconds | 5-20 min |
sneeze , cough , out-of-breath , decreased-apetite , particulate-transmission , develop-pneumonia
|
|
diseasecraft:broken_sword |
150-600 seconds | 2.5-10 min |
fatigue , iron-poke
|
|
diseasecraft:yellow_fever |
300-600 seconds | 5-10 min |
fatigue , seizure , crazed-look , famished , sudden-death
|
To create a new disease, you will need to utilize the fulfill the following tags:
Tag | Raw Type | Default | Description |
---|---|---|---|
id |
String | The resource name of the disease, which will be used for infecting and learning diseases. | |
icon |
String | diseasecraft:virus |
Uses one of the icons either set by the mod or provided in the datapack (will pull from <namespace>:textures/gui/virus_icons.png , and each icon is 18x18) |
minDuration |
Integer/Long | The minimum amount of time that the disease can affect the player. | |
maxDuration |
Integer/Long | The maximum amount of time that the disease can affect the player. | |
duration |
Integer/Long |
Deprecated: will not work if either max or min are used. Sets both min and max at the same value. |
|
baseImmunity |
Boolean | false |
Does immunity apply to the base of the disease or simply the variants. |
effects |
List<Effect> | An array of effects, written as String s, that can be found in the DFX file | |
vectors |
List<Vector> | An array of vectors, for more information visit the vectors page. | |
variations |
N/A | coming soon |
{
"id":"diseasecraft:flu", // ALWAYS include a namespace (e.g., "diseasecraft:"), will not work in the future if you don't.
"icon":"diseasecraft:virus_blue" // This will select the blue virus for the disease.
"minDuration":12000, // To calculate this from seconds, multiply seconds by 20 (can be as specific of 1/20th (.05) of a second).
"maxDuration":24000, // See above, try to make this at least one higher than minimum. Will reduce the min if they are the same.
"baseImmunity":false, // If true, variants will be ineffective when the disease is learned by the immune system.
"effects":[
"sneeze", // To find more about creating and using effects, see Effects page.
"cough",
"fatigue",
"vomit",
"develop-pneumonia"
],
"vectors": [
{
"type":"diseasecraft:entity_aabb", // To find more about creating and using vectors, see Vectors page.
"heap":"minecraft:pig",
"weight":3
},
{
"type":"diseasecraft:entity_aabb",
"heap":"minecraft:chicken",
"weight":1
}
]
}
I have included their FULL resource name, so as not to allow for any confusion with any designs of which you conceive.
Icon | Resource Name |
---|---|
diseasecraft:virus |
|
diseasecraft:virus_blue |
|
diseasecraft:virus_yellow |
|
diseasecraft:virus_red |
|
diseasecraft:snowflake |
|
diseasecraft:lung |
|
diseasecraft:full_lung |
|
diseasecraft:filling_lung |
|
diseasecraft:green_mosquito |
|
diseasecraft:yellow_mosquito |
|
diseasecraft:broken_bone |
|
diseasecraft:broken_sword |