接口 DamageType

所有超级接口:
Keyed, Translatable

@Experimental public interface DamageType extends Keyed, Translatable
Represent a type of damage that an entity can receive.

Constants in this class include the base types provided by the vanilla server. Data packs are capable of registering more types of damage which may be obtained through the Registry.DAMAGE_TYPE.

另请参阅: