Skip to main content
Version: 1.10 NeoForge

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

data/vampirism/data_maps/item/item_blood.json
{
"replace": false,
"values": {
"<item-id>": {
"blood": <blood-amount>
},
"<item-id>": {
"blood": <blood-amount>
}
}
}
FieldTypeDescription
replaceboolIf the values should replace the existing values. If false the values will be added to the existing values.
item-idResourceLocationThe id of the item tha should be convertible to impure blood
bloodintThe 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

data/vampirism/data_maps/entity_type/entity_blood.json
{
"replace": false,
"values": {
"<entity-id>": {
"blood": 0 # no blood
},
"<entity-id>": {
"blood": <blood-amount>
}
}
}
FieldTypeDescription
replaceboolIf the values should replace the existing values. If false the values will be added to the existing values.
entity-idResourceLocationThe id of the entity that should have blood or no blood
bloodintThe 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

data/vampirism/data_maps/item/fluid_blood_conversion.json
{
"replace": false,
"values": {
"<fluid-id>": {
"conversionRate": <conversion-rate>
},
"<fluid-id>": {
"conversionRate": <conversion-rate>
}
}
}
FieldTypeDescription
replaceboolIf the values should replace the existing values. If false the values will be added to the existing values.
fluid-idResourceLocationThe id of the fluid to convert to blood
conversionRatefloatThe conversion rate from the fluid to impure blood. e.g. 0.75 for 1 bucket to 0.75 buckets of blood.