Skip to main content
Version: 2.x

Data Packs

Vampirism exposes a lot of its content through data packs, so pack makers and mod-pack authors can tweak, extend or completely rework parts of the mod without any code.

Reference material:

How data packs work​

See the Minecraft Wiki: Data packs · Installing · Creating.

Mind the namespace: use vampirism to override one of Vampirism's own definitions, and your own namespace for anything new.

JSON schemas​

Every custom format on the following pages has a JSON schema under schemas/ in the repository (linked at the top of each page) for editor auto-completion and validation.

What you can customize​

AreaNotes
Blood ValuesItem / entity / fluid blood via data maps.
ConvertiblesWhich creatures can be turned vampiric, and how.
Sun DamageBiomes / dimensions exempt from vampire sun damage.
RecipesWeapon Table, Alchemical Cauldron, Alchemy Table, Infuser.
Loot Conditionsvampirism:* loot conditions.
Loot Functionsvampirism:* loot functions + the smelting loot modifier.
TasksProvided by FactionApi – see its docs.
Skill treesProvided by FactionApi – see its docs.

Plus everything vanilla data packs already let you change (loot tables, advancements, tags, worldgen, recipes, …), and Vampirism's tags for mob spawns, village content and more.