Reference
Besides the several interfaces for almost all of Vampirism's functionality, there are some classes that can be used to access Vampirism's functionality.
VampirismAPI
The VampirismAPI class is the central access point for all kind of registries.
VReference
Central location for all kind of static information/objects. this includes e.g. the faction objects of vampires and hunters, attributes, DamageSources, constants ...
VIngameOverlays
Contains all IGuiOverlay
s that are used by Vampirism, which are filled during Mod construction. Or use the respective IDs of the overlays.
Vampirism Forge Registries
Minecraft 1.19
All custom registries are using the VampirismRegistries class to store the registry key and registry supplier.
Minecraft 1.16-1.18
Vampirism's custom forge registries are not accessible through the API. They are not declared in the API ModRegistries.
But you can get them from the RegistryManager with RegistryManager.ACTIVE.getRegistry(...)
. Either use the RegistryEntry class or the resource location of the registry.
Registries
Following registries are currently available:
Name | Resourcelocation | Class |
---|---|---|
Skills | vampirism:skills | ISKill |
Actions | vampirism:actions | IAction |
Entity Actions | vampirism:entityactions | IEntityAction |
Minion Tasks | vampirism:miniontasks | IMinionTask |
Tasks | vampirism:tasks | Task |
Refinements | vampirism:refinement | IRefinement |
Refinement Sets | vampirism:refinement_set | IRefinementSet |