History - net.minecraft.entity.damage.DamageSource

26.3-snapshot-3

Names

Fields

Constructors

Methods

26.3-snapshot-2

Names

Fields

Constructors

Methods

26.3-snapshot-1

Names

Fields

Constructors

Methods

26.2

Names

Fields

Constructors

Methods

26.1.2

Names

Fields

Constructors

Methods

26.1.1

Names

Fields

Constructors

Methods

26.1

Names

Fields

Constructors

Methods

1.21.11_unobfuscated

Names

net.minecraft.world.damagesource.DamageSource

net.minecraft.class_1282

net.minecraft.entity.damage.DamageSource

Fields

RegistryEntry<DamageType>: type, field_42291, type

Entity: causingEntity, field_42292, attacker

Entity: directEntity, field_42293, source

Vec3d: damageSourcePosition, field_42294, position

Constructors

(RegistryEntry<DamageType>, Entity, Entity, Vec3d)

(RegistryEntry<DamageType>, Entity, Entity)

(RegistryEntry<DamageType>, Vec3d)

(RegistryEntry<DamageType>, Entity)

(RegistryEntry<DamageType>)

Methods

float (): getFoodExhaustion, method_5528, getExhaustion

boolean (): isDirect, method_60489, isDirect

Entity (): getDirectEntity, method_5526, getSource

Entity (): getEntity, method_5529, getAttacker

ItemStack (): getWeaponItem, method_60948, getWeaponStack

Text (LivingEntity): getLocalizedDeathMessage, method_5506, getDeathMessage

String (): getMsgId, method_5525, getName

boolean (): scalesWithDifficulty, method_5514, isScaledWithDifficulty

boolean (): isCreativePlayer, method_5530, isSourceCreativePlayer

Vec3d (): getSourcePosition, method_5510, getPosition

Vec3d (): sourcePositionRaw, method_48791, getStoredPosition

boolean (TagKey<DamageType>): is, method_48789, isIn

boolean (RegistryKey<DamageType>): is, method_49708, isOf

DamageType (): type, method_48792, getType

RegistryEntry<DamageType> (): typeHolder, method_48793, getTypeRegistryEntry