接口 DamageType

所有超级接口:
Keyed, RegistryAware, Translatable

public interface DamageType extends Keyed, Translatable, RegistryAware
代表实体可以受到的伤害类型.

此类中的常量包括原版服务器提供的基础类型. 数据包能够注册更多类型的伤害, 可以通过Registry.DAMAGE_TYPE获取.

另请参阅: