Blood Values
Blood values can be configured for items, entities and fluids.
Starting with NeoForge Vampirism uses the new data maps to assign blood values to items, fluids and entities. Take a look at the official wiki for more information about data maps.
Items
Item blood values are used by the Grinder to determine the amount of impure blood of an item when grinding it.
A configured value of 20
means that the grinder will produce 20mb impure blood when grinding the item.
Schema
{
"replace": false,
"values": {
"<item-id>": {
"blood": <blood-amount>
},
"<item-id>": {
"blood": <blood-amount>
}
}
}
Field | Type | Description |
---|---|---|
replace | bool | If the values should replace the existing values. If false the values will be added to the existing values. |
item-id | ResourceLocation | The id of the item tha should be convertible to impure blood |
blood | int | The amount of blood the item will produce when grinding it. e.g. 20 for 20mb impure blood. |
Entities
Entity blood values are relevant for biting creatures as Vampire. It determines the amount of blood the creature has or if it has no blood at all.
A configured value of 10
means that the creature can fill 10 half-blood / 5 blood in the blood bar.
A value of 0
means that the creature cannot be bitten.
Schema
{
"replace": false,
"values": {
"<entity-id>": {
"blood": 0 # no blood
},
"<entity-id>": {
"blood": <blood-amount>
}
}
}
Field | Type | Description |
---|---|---|
replace | bool | If the values should replace the existing values. If false the values will be added to the existing values. |
entity-id | ResourceLocation | The id of the entity that should have blood or no blood |
blood | int | The amount of blood the entity will produce when bitten. e.g. 10 for 10 half-blood / 5 blood. |
Fluids
Fluid blood values are conversion rates from other fluids to blood. It is used by the Blood Sieve to transform Impure Blood into Blood.
But this also supports third party fluids if configured. A configured value of 0.75
means that 1 bucket of the fluid is converted to 0.75 buckets of blood.
Schema
{
"replace": false,
"values": {
"<fluid-id>": {
"conversionRate": <conversion-rate>
},
"<fluid-id>": {
"conversionRate": <conversion-rate>
}
}
}
Field | Type | Description |
---|---|---|
replace | bool | If the values should replace the existing values. If false the values will be added to the existing values. |
fluid-id | ResourceLocation | The id of the fluid to convert to blood |
conversionRate | float | The conversion rate from the fluid to impure blood. e.g. 0.75 for 1 bucket to 0.75 buckets of blood. |