Skip to main content
Version: 2.x

IMC messages

Inter-mod communication lets a mod send Vampirism simple compatibility messages without a compile dependency. Send them during InterModEnqueueEvent with InterModComms.sendTo("vampirism", key, () -> payload); Vampirism reads them in InterModProcessEvent (de.teamlapen.vampirism.common.integration.InterModHandler).

Messages

nosundamage-biome

Exempt one of your biomes from vampire sun damage.

keynosundamage-biome
payloadthe biome id as a ResourceLocation

Equivalent to a no_sun_damage.json biomes entry. Per-dimension exemptions are only available through ISundamageRegistry (dimension ids may not exist yet at IMC time).

disable-blood-bar

Ask Vampirism not to replace the food bar with the blood bar (e.g. if your mod renders its own hunger UI).

keydisable-blood-bar
payloadnone