CraftTweaker Capabilities - yeelp/Distinct-Damage-Descriptions GitHub Wiki
DDD adds a ZenExpansion for IEntityLivingBase that lets you access additional fields related to DDD.
What's a ZenExpansion?
A ZenExpansion adds additional ZenGetters, ZenSetters and ZenMethods to an already existing ZenClass. In this case, we're adding additional functionality to crafttweaker.entity.IEntityLivingBase
.
What's added?
Two ZenGetters are added. You can call these ZenGetters on any IEntityLivingBase directly, no cast or anything is required!
ZenGetter | Return Type | Notes |
---|---|---|
creatureType | CreatureType | Gets the Creature Type information from this entity. |
resistances | Resistances | Gets the Resistances information from this entity. |