Skip to main content
Version: 2.x

Overview

Vampirism registers custom loot functions (Registries.LOOT_FUNCTION_TYPE). They can be used anywhere vanilla loot functions are accepted (loot table functions, given_item_modifiers, …).

Every function object has a "function" key naming the type, and – since they all extend LootItemConditionalFunction – an optional "conditions" array of loot conditions.

functionEffectPage
vampirism:set_vampire_bookFill a vampire book with random content from a tagSet Vampire Book
vampirism:set_item_blood_chargeCharge an IBloodChargeable itemCharge Blood
vampirism:add_refinement_setApply a random refinement set to an accessoryAdd Refinement Set
vampirism:set_oilApply an oil to the itemSet Oil
vampirism:set_bloodSet the blood amount of a blood bottleSet Blood
vampirism:biome_mapTurn a map into a vampire-forest locator mapBiome Map

Vampirism also ships one global loot modifier – see Smelting.