Uses of Class
net.minecraft.util.DamageSource
Package
Description
-
Uses of DamageSource in net.minecraft.advancements.criterion
Modifier and TypeMethodDescriptionboolean
DamagePredicate.matches
(ServerPlayerEntity p_192365_1_, DamageSource p_192365_2_, float p_192365_3_, float p_192365_4_, boolean p_192365_5_) boolean
DamageSourcePredicate.matches
(ServerPlayerEntity p_193418_1_, DamageSource p_193418_2_) boolean
DamageSourcePredicate.matches
(ServerWorld p_217952_1_, Vector3d p_217952_2_, DamageSource p_217952_3_) boolean
EntityHurtPlayerTrigger.Instance.matches
(ServerPlayerEntity p_192263_1_, DamageSource p_192263_2_, float p_192263_3_, float p_192263_4_, boolean p_192263_5_) boolean
KilledTrigger.Instance.matches
(ServerPlayerEntity p_235050_1_, LootContext p_235050_2_, DamageSource p_235050_3_) boolean
PlayerHurtEntityTrigger.Instance.matches
(ServerPlayerEntity p_235609_1_, LootContext p_235609_2_, DamageSource p_235609_3_, float p_235609_4_, float p_235609_5_, boolean p_235609_6_) void
EntityHurtPlayerTrigger.trigger
(ServerPlayerEntity p_192200_1_, DamageSource p_192200_2_, float p_192200_3_, float p_192200_4_, boolean p_192200_5_) void
KilledTrigger.trigger
(ServerPlayerEntity p_192211_1_, Entity p_192211_2_, DamageSource p_192211_3_) void
PlayerHurtEntityTrigger.trigger
(ServerPlayerEntity p_192220_1_, Entity p_192220_2_, DamageSource p_192220_3_, float p_192220_4_, float p_192220_5_, boolean p_192220_6_) -
Uses of DamageSource in net.minecraft.client.entity.player
Modifier and TypeMethodDescriptionprotected void
ClientPlayerEntity.actuallyHurt
(DamageSource p_70665_1_, float p_70665_2_) boolean
ClientPlayerEntity.hurt
(DamageSource p_70097_1_, float p_70097_2_) boolean
RemoteClientPlayerEntity.hurt
(DamageSource p_70097_1_, float p_70097_2_) -
Uses of DamageSource in net.minecraft.enchantment
Modifier and TypeMethodDescriptionint
Enchantment.getDamageProtection
(int p_77318_1_, DamageSource p_77318_2_) static int
EnchantmentHelper.getDamageProtection
(Iterable<ItemStack> p_77508_0_, DamageSource p_77508_1_) int
ProtectionEnchantment.getDamageProtection
(int p_77318_1_, DamageSource p_77318_2_) -
Uses of DamageSource in net.minecraft.entity
Modifier and TypeMethodDescriptionprotected void
LivingEntity.actuallyHurt
(DamageSource p_70665_1_, float p_70665_2_) void
Entity.awardKillScore
(Entity p_191956_1_, int p_191956_2_, DamageSource p_191956_3_) private boolean
LivingEntity.checkTotemDeathProtection
(DamageSource p_190628_1_) protected LootContext.Builder
LivingEntity.createLootContext
(boolean p_213363_1_, DamageSource p_213363_2_) protected LootContext.Builder
MobEntity.createLootContext
(boolean p_213363_1_, DamageSource p_213363_2_) void
LivingEntity.die
(DamageSource p_70645_1_) protected void
LivingEntity.dropAllDeathLoot
(DamageSource p_213345_1_) protected void
LivingEntity.dropCustomDeathLoot
(DamageSource p_213333_1_, int p_213333_2_, boolean p_213333_3_) protected void
MobEntity.dropCustomDeathLoot
(DamageSource p_213333_1_, int p_213333_2_, boolean p_213333_3_) protected void
LivingEntity.dropFromLootTable
(DamageSource p_213354_1_, boolean p_213354_2_) protected void
MobEntity.dropFromLootTable
(DamageSource p_213354_1_, boolean p_213354_2_) protected float
LivingEntity.getDamageAfterArmorAbsorb
(DamageSource p_70655_1_, float p_70655_2_) protected float
LivingEntity.getDamageAfterMagicAbsorb
(DamageSource p_70672_1_, float p_70672_2_) protected SoundEvent
LivingEntity.getHurtSound
(DamageSource p_184601_1_) boolean
Entity.hurt
(DamageSource p_70097_1_, float p_70097_2_) boolean
LivingEntity.hurt
(DamageSource p_70097_1_, float p_70097_2_) protected void
LivingEntity.hurtArmor
(DamageSource p_230294_1_, float p_230294_2_) private boolean
LivingEntity.isDamageSourceBlocked
(DamageSource p_184583_1_) boolean
Entity.isInvulnerableTo
(DamageSource p_180431_1_) protected void
LivingEntity.playHurtSound
(DamageSource p_184581_1_) protected void
MobEntity.playHurtSound
(DamageSource p_184581_1_) -
Uses of DamageSource in net.minecraft.entity.ai.brain.memory
Modifier and TypeFieldDescriptionstatic final MemoryModuleType<DamageSource>
MemoryModuleType.HURT_BY
-
Uses of DamageSource in net.minecraft.entity.boss
Modifier and TypeMethodDescriptionprotected void
WitherEntity.dropCustomDeathLoot
(DamageSource p_213333_1_, int p_213333_2_, boolean p_213333_3_) protected SoundEvent
WitherEntity.getHurtSound
(DamageSource p_184601_1_) boolean
WitherEntity.hurt
(DamageSource p_70097_1_, float p_70097_2_) -
Uses of DamageSource in net.minecraft.entity.boss.dragon
Modifier and TypeMethodDescriptionprotected SoundEvent
EnderDragonEntity.getHurtSound
(DamageSource p_184601_1_) boolean
EnderDragonEntity.hurt
(EnderDragonPartEntity p_213403_1_, DamageSource p_213403_2_, float p_213403_3_) boolean
EnderDragonEntity.hurt
(DamageSource p_70097_1_, float p_70097_2_) boolean
EnderDragonPartEntity.hurt
(DamageSource p_70097_1_, float p_70097_2_) void
EnderDragonEntity.onCrystalDestroyed
(EnderCrystalEntity p_184672_1_, BlockPos p_184672_2_, DamageSource p_184672_3_) protected boolean
EnderDragonEntity.reallyHurt
(DamageSource p_82195_1_, float p_82195_2_) -
Uses of DamageSource in net.minecraft.entity.boss.dragon.phase
Modifier and TypeMethodDescriptionvoid
HoldingPatternPhase.onCrystalDestroyed
(EnderCrystalEntity p_188655_1_, BlockPos p_188655_2_, DamageSource p_188655_3_, PlayerEntity p_188655_4_) void
IPhase.onCrystalDestroyed
(EnderCrystalEntity p_188655_1_, BlockPos p_188655_2_, DamageSource p_188655_3_, PlayerEntity p_188655_4_) void
Phase.onCrystalDestroyed
(EnderCrystalEntity p_188655_1_, BlockPos p_188655_2_, DamageSource p_188655_3_, PlayerEntity p_188655_4_) float
IPhase.onHurt
(DamageSource p_221113_1_, float p_221113_2_) float
Phase.onHurt
(DamageSource p_221113_1_, float p_221113_2_) float
SittingPhase.onHurt
(DamageSource p_221113_1_, float p_221113_2_) -
Uses of DamageSource in net.minecraft.entity.item
Modifier and TypeMethodDescriptionprivate void
ArmorStandEntity.brokenByAnything
(DamageSource p_213816_1_) private void
ArmorStandEntity.brokenByPlayer
(DamageSource p_213815_1_) private void
ArmorStandEntity.causeDamage
(DamageSource p_213817_1_, float p_213817_2_) protected SoundEvent
ArmorStandEntity.getHurtSound
(DamageSource p_184601_1_) boolean
ArmorStandEntity.hurt
(DamageSource p_70097_1_, float p_70097_2_) boolean
BoatEntity.hurt
(DamageSource p_70097_1_, float p_70097_2_) boolean
EnderCrystalEntity.hurt
(DamageSource p_70097_1_, float p_70097_2_) boolean
ExperienceOrbEntity.hurt
(DamageSource p_70097_1_, float p_70097_2_) boolean
HangingEntity.hurt
(DamageSource p_70097_1_, float p_70097_2_) boolean
ItemEntity.hurt
(DamageSource p_70097_1_, float p_70097_2_) boolean
ItemFrameEntity.hurt
(DamageSource p_70097_1_, float p_70097_2_) private void
EnderCrystalEntity.onDestroyedBy
(DamageSource p_184519_1_) -
Uses of DamageSource in net.minecraft.entity.item.minecart
Modifier and TypeMethodDescriptionvoid
AbstractMinecartEntity.destroy
(DamageSource p_94095_1_) void
ChestMinecartEntity.destroy
(DamageSource p_94095_1_) void
ContainerMinecartEntity.destroy
(DamageSource p_94095_1_) void
FurnaceMinecartEntity.destroy
(DamageSource p_94095_1_) void
HopperMinecartEntity.destroy
(DamageSource p_94095_1_) void
TNTMinecartEntity.destroy
(DamageSource p_94095_1_) boolean
AbstractMinecartEntity.hurt
(DamageSource p_70097_1_, float p_70097_2_) boolean
TNTMinecartEntity.hurt
(DamageSource p_70097_1_, float p_70097_2_) -
Uses of DamageSource in net.minecraft.entity.merchant.villager
Modifier and TypeMethodDescriptionvoid
AbstractVillagerEntity.die
(DamageSource p_70645_1_) void
VillagerEntity.die
(DamageSource p_70645_1_) protected SoundEvent
VillagerEntity.getHurtSound
(DamageSource p_184601_1_) protected SoundEvent
WanderingTraderEntity.getHurtSound
(DamageSource p_184601_1_) -
Uses of DamageSource in net.minecraft.entity.monster
Modifier and TypeMethodDescriptionvoid
AbstractRaiderEntity.die
(DamageSource p_70645_1_) protected void
CreeperEntity.dropCustomDeathLoot
(DamageSource p_213333_1_, int p_213333_2_, boolean p_213333_3_) protected void
EndermanEntity.dropCustomDeathLoot
(DamageSource p_213333_1_, int p_213333_2_, boolean p_213333_3_) protected void
SkeletonEntity.dropCustomDeathLoot
(DamageSource p_213333_1_, int p_213333_2_, boolean p_213333_3_) protected void
WitherSkeletonEntity.dropCustomDeathLoot
(DamageSource p_213333_1_, int p_213333_2_, boolean p_213333_3_) protected void
ZombieEntity.dropCustomDeathLoot
(DamageSource p_213333_1_, int p_213333_2_, boolean p_213333_3_) protected float
WitchEntity.getDamageAfterMagicAbsorb
(DamageSource p_70672_1_, float p_70672_2_) protected SoundEvent
BlazeEntity.getHurtSound
(DamageSource p_184601_1_) protected SoundEvent
CreeperEntity.getHurtSound
(DamageSource p_184601_1_) protected SoundEvent
DrownedEntity.getHurtSound
(DamageSource p_184601_1_) protected SoundEvent
ElderGuardianEntity.getHurtSound
(DamageSource p_184601_1_) protected SoundEvent
EndermanEntity.getHurtSound
(DamageSource p_184601_1_) protected SoundEvent
EndermiteEntity.getHurtSound
(DamageSource p_184601_1_) protected SoundEvent
EvokerEntity.getHurtSound
(DamageSource p_184601_1_) protected SoundEvent
GhastEntity.getHurtSound
(DamageSource p_184601_1_) protected SoundEvent
GuardianEntity.getHurtSound
(DamageSource p_184601_1_) protected SoundEvent
HoglinEntity.getHurtSound
(DamageSource p_184601_1_) protected SoundEvent
HuskEntity.getHurtSound
(DamageSource p_184601_1_) protected SoundEvent
IllusionerEntity.getHurtSound
(DamageSource p_184601_1_) protected SoundEvent
MagmaCubeEntity.getHurtSound
(DamageSource p_184601_1_) protected SoundEvent
MonsterEntity.getHurtSound
(DamageSource p_184601_1_) protected SoundEvent
PhantomEntity.getHurtSound
(DamageSource p_184601_1_) protected SoundEvent
PillagerEntity.getHurtSound
(DamageSource p_184601_1_) protected SoundEvent
RavagerEntity.getHurtSound
(DamageSource p_184601_1_) protected SoundEvent
ShulkerEntity.getHurtSound
(DamageSource p_184601_1_) protected SoundEvent
SilverfishEntity.getHurtSound
(DamageSource p_184601_1_) protected SoundEvent
SkeletonEntity.getHurtSound
(DamageSource p_184601_1_) protected SoundEvent
SlimeEntity.getHurtSound
(DamageSource p_184601_1_) protected SoundEvent
SpiderEntity.getHurtSound
(DamageSource p_184601_1_) protected SoundEvent
StrayEntity.getHurtSound
(DamageSource p_184601_1_) protected SoundEvent
VexEntity.getHurtSound
(DamageSource p_184601_1_) protected SoundEvent
VindicatorEntity.getHurtSound
(DamageSource p_184601_1_) protected SoundEvent
WitchEntity.getHurtSound
(DamageSource p_184601_1_) protected SoundEvent
WitherSkeletonEntity.getHurtSound
(DamageSource p_184601_1_) protected SoundEvent
ZoglinEntity.getHurtSound
(DamageSource p_184601_1_) protected SoundEvent
ZombieEntity.getHurtSound
(DamageSource p_184601_1_) ZombieVillagerEntity.getHurtSound
(DamageSource p_184601_1_) protected SoundEvent
ZombifiedPiglinEntity.getHurtSound
(DamageSource p_184601_1_) boolean
AbstractRaiderEntity.hurt
(DamageSource p_70097_1_, float p_70097_2_) boolean
EndermanEntity.hurt
(DamageSource p_70097_1_, float p_70097_2_) boolean
GhastEntity.hurt
(DamageSource p_70097_1_, float p_70097_2_) boolean
GuardianEntity.hurt
(DamageSource p_70097_1_, float p_70097_2_) boolean
HoglinEntity.hurt
(DamageSource p_70097_1_, float p_70097_2_) boolean
MonsterEntity.hurt
(DamageSource p_70097_1_, float p_70097_2_) boolean
ShulkerEntity.hurt
(DamageSource p_70097_1_, float p_70097_2_) boolean
SilverfishEntity.hurt
(DamageSource p_70097_1_, float p_70097_2_) boolean
ZoglinEntity.hurt
(DamageSource p_70097_1_, float p_70097_2_) boolean
ZombieEntity.hurt
(DamageSource p_70097_1_, float p_70097_2_) boolean
ZombifiedPiglinEntity.hurt
(DamageSource p_70097_1_, float p_70097_2_) -
Uses of DamageSource in net.minecraft.entity.monster.piglin
Modifier and TypeMethodDescriptionprotected void
PiglinEntity.dropCustomDeathLoot
(DamageSource p_213333_1_, int p_213333_2_, boolean p_213333_3_) protected SoundEvent
PiglinBruteEntity.getHurtSound
(DamageSource p_184601_1_) protected SoundEvent
PiglinEntity.getHurtSound
(DamageSource p_184601_1_) boolean
PiglinBruteEntity.hurt
(DamageSource p_70097_1_, float p_70097_2_) boolean
PiglinEntity.hurt
(DamageSource p_70097_1_, float p_70097_2_) -
Uses of DamageSource in net.minecraft.entity.passive
Modifier and TypeMethodDescriptionvoid
IronGolemEntity.die
(DamageSource p_70645_1_) void
TameableEntity.die
(DamageSource p_70645_1_) void
WolfEntity.die
(DamageSource p_70645_1_) protected void
FoxEntity.dropAllDeathLoot
(DamageSource p_213345_1_) protected SoundEvent
BatEntity.getHurtSound
(DamageSource p_184601_1_) protected SoundEvent
BeeEntity.getHurtSound
(DamageSource p_184601_1_) protected SoundEvent
CatEntity.getHurtSound
(DamageSource p_184601_1_) protected SoundEvent
ChickenEntity.getHurtSound
(DamageSource p_184601_1_) protected SoundEvent
CowEntity.getHurtSound
(DamageSource p_184601_1_) protected SoundEvent
DolphinEntity.getHurtSound
(DamageSource p_184601_1_) protected SoundEvent
FoxEntity.getHurtSound
(DamageSource p_184601_1_) protected SoundEvent
GolemEntity.getHurtSound
(DamageSource p_184601_1_) protected SoundEvent
IronGolemEntity.getHurtSound
(DamageSource p_184601_1_) protected SoundEvent
OcelotEntity.getHurtSound
(DamageSource p_184601_1_) protected SoundEvent
PandaEntity.getHurtSound
(DamageSource p_184601_1_) protected SoundEvent
ParrotEntity.getHurtSound
(DamageSource p_184601_1_) protected SoundEvent
PigEntity.getHurtSound
(DamageSource p_184601_1_) protected SoundEvent
PolarBearEntity.getHurtSound
(DamageSource p_184601_1_) protected SoundEvent
RabbitEntity.getHurtSound
(DamageSource p_184601_1_) protected SoundEvent
SheepEntity.getHurtSound
(DamageSource p_184601_1_) protected SoundEvent
SnowGolemEntity.getHurtSound
(DamageSource p_184601_1_) protected SoundEvent
SquidEntity.getHurtSound
(DamageSource p_184601_1_) protected SoundEvent
StriderEntity.getHurtSound
(DamageSource p_184601_1_) protected SoundEvent
TurtleEntity.getHurtSound
(DamageSource p_184601_1_) protected SoundEvent
WolfEntity.getHurtSound
(DamageSource p_184601_1_) boolean
AnimalEntity.hurt
(DamageSource p_70097_1_, float p_70097_2_) boolean
BatEntity.hurt
(DamageSource p_70097_1_, float p_70097_2_) boolean
BeeEntity.hurt
(DamageSource p_70097_1_, float p_70097_2_) boolean
IronGolemEntity.hurt
(DamageSource p_70097_1_, float p_70097_2_) boolean
OcelotEntity.hurt
(DamageSource p_70097_1_, float p_70097_2_) boolean
PandaEntity.hurt
(DamageSource p_70097_1_, float p_70097_2_) boolean
ParrotEntity.hurt
(DamageSource p_70097_1_, float p_70097_2_) boolean
RabbitEntity.hurt
(DamageSource p_70097_1_, float p_70097_2_) boolean
SquidEntity.hurt
(DamageSource p_70097_1_, float p_70097_2_) boolean
WolfEntity.hurt
(DamageSource p_70097_1_, float p_70097_2_) -
Uses of DamageSource in net.minecraft.entity.passive.fish
Modifier and TypeMethodDescriptionprotected SoundEvent
CodEntity.getHurtSound
(DamageSource p_184601_1_) protected SoundEvent
PufferfishEntity.getHurtSound
(DamageSource p_184601_1_) protected SoundEvent
SalmonEntity.getHurtSound
(DamageSource p_184601_1_) protected SoundEvent
TropicalFishEntity.getHurtSound
(DamageSource p_184601_1_) -
Uses of DamageSource in net.minecraft.entity.passive.horse
Modifier and TypeMethodDescriptionprotected SoundEvent
AbstractHorseEntity.getHurtSound
(DamageSource p_184601_1_) protected SoundEvent
DonkeyEntity.getHurtSound
(DamageSource p_184601_1_) protected SoundEvent
HorseEntity.getHurtSound
(DamageSource p_184601_1_) protected SoundEvent
LlamaEntity.getHurtSound
(DamageSource p_184601_1_) protected SoundEvent
MuleEntity.getHurtSound
(DamageSource p_184601_1_) protected SoundEvent
SkeletonHorseEntity.getHurtSound
(DamageSource p_184601_1_) protected SoundEvent
ZombieHorseEntity.getHurtSound
(DamageSource p_184601_1_) -
Uses of DamageSource in net.minecraft.entity.player
Modifier and TypeMethodDescriptionprotected void
PlayerEntity.actuallyHurt
(DamageSource p_70665_1_, float p_70665_2_) void
ServerPlayerEntity.awardKillScore
(Entity p_191956_1_, int p_191956_2_, DamageSource p_191956_3_) void
PlayerEntity.die
(DamageSource p_70645_1_) void
ServerPlayerEntity.die
(DamageSource p_70645_1_) protected SoundEvent
PlayerEntity.getHurtSound
(DamageSource p_184601_1_) boolean
PlayerEntity.hurt
(DamageSource p_70097_1_, float p_70097_2_) boolean
ServerPlayerEntity.hurt
(DamageSource p_70097_1_, float p_70097_2_) protected void
PlayerEntity.hurtArmor
(DamageSource p_230294_1_, float p_230294_2_) void
PlayerInventory.hurtArmor
(DamageSource p_234563_1_, float p_234563_2_) boolean
PlayerEntity.isInvulnerableTo
(DamageSource p_180431_1_) boolean
ServerPlayerEntity.isInvulnerableTo
(DamageSource p_180431_1_) -
Uses of DamageSource in net.minecraft.entity.projectile
Modifier and TypeMethodDescriptionboolean
DamagingProjectileEntity.hurt
(DamageSource p_70097_1_, float p_70097_2_) boolean
DragonFireballEntity.hurt
(DamageSource p_70097_1_, float p_70097_2_) boolean
ShulkerBulletEntity.hurt
(DamageSource p_70097_1_, float p_70097_2_) boolean
SmallFireballEntity.hurt
(DamageSource p_70097_1_, float p_70097_2_) boolean
WitherSkullEntity.hurt
(DamageSource p_70097_1_, float p_70097_2_) -
Uses of DamageSource in net.minecraft.item
-
Uses of DamageSource in net.minecraft.loot
Modifier and TypeFieldDescriptionstatic final LootParameter<DamageSource>
LootParameters.DAMAGE_SOURCE
-
Uses of DamageSource in net.minecraft.util
Modifier and TypeClassDescriptionclass
class
class
Modifier and TypeFieldDescriptionstatic final DamageSource
DamageSource.ANVIL
static final DamageSource
DamageSource.CACTUS
static final DamageSource
DamageSource.CRAMMING
static final DamageSource
DamageSource.DRAGON_BREATH
static final DamageSource
DamageSource.DROWN
static final DamageSource
DamageSource.DRY_OUT
static final DamageSource
DamageSource.FALL
static final DamageSource
DamageSource.FALLING_BLOCK
static final DamageSource
DamageSource.FLY_INTO_WALL
static final DamageSource
DamageSource.GENERIC
static final DamageSource
DamageSource.HOT_FLOOR
static final DamageSource
DamageSource.IN_FIRE
static final DamageSource
DamageSource.IN_WALL
static final DamageSource
DamageSource.LAVA
static final DamageSource
DamageSource.LIGHTNING_BOLT
static final DamageSource
DamageSource.MAGIC
static final DamageSource
DamageSource.ON_FIRE
static final DamageSource
DamageSource.OUT_OF_WORLD
private final DamageSource
CombatEntry.source
static final DamageSource
DamageSource.STARVE
static final DamageSource
DamageSource.SWEET_BERRY_BUSH
static final DamageSource
DamageSource.WITHER
Modifier and TypeMethodDescriptionstatic DamageSource
DamageSource.arrow
(AbstractArrowEntity p_76353_0_, Entity p_76353_1_) static DamageSource
DamageSource.badRespawnPointExplosion()
DamageSource.bypassArmor()
DamageSource.bypassInvul()
DamageSource.bypassMagic()
static DamageSource
DamageSource.explosion
(LivingEntity p_188405_0_) static DamageSource
static DamageSource
DamageSource.fireball
(AbstractFireballEntity p_233547_0_, Entity p_233547_1_) static DamageSource
DamageSource.fireworks
(FireworkRocketEntity p_233548_0_, Entity p_233548_1_) CombatEntry.getSource()
static DamageSource
DamageSource.indirectMagic
(Entity p_76354_0_, Entity p_76354_1_) static DamageSource
DamageSource.indirectMobAttack
(Entity p_188403_0_, LivingEntity p_188403_1_) static DamageSource
DamageSource.mobAttack
(LivingEntity p_76358_0_) static DamageSource
DamageSource.playerAttack
(PlayerEntity p_76365_0_) DamageSource.setExplosion()
DamageSource.setIsFire()
DamageSource.setMagic()
DamageSource.setProjectile()
DamageSource.setScalesWithDifficulty()
static DamageSource
DamageSource.sting
(LivingEntity p_226252_0_) static DamageSource
static DamageSource
static DamageSource
static DamageSource
DamageSource.witherSkull
(WitherSkullEntity p_233549_0_, Entity p_233549_1_) Modifier and TypeMethodDescriptionvoid
CombatTracker.recordDamage
(DamageSource p_94547_1_, float p_94547_2_, float p_94547_3_) ModifierConstructorDescriptionCombatEntry
(DamageSource p_i1564_1_, int p_i1564_2_, float p_i1564_3_, float p_i1564_4_, String p_i1564_5_, float p_i1564_6_) -
Uses of DamageSource in net.minecraft.world
Modifier and TypeMethodDescriptionWorld.explode
(Entity p_230546_1_, DamageSource p_230546_2_, ExplosionContext p_230546_3_, double p_230546_4_, double p_230546_6_, double p_230546_8_, float p_230546_10_, boolean p_230546_11_, Explosion.Mode p_230546_12_) ModifierConstructorDescriptionExplosion
(World p_i231610_1_, Entity p_i231610_2_, DamageSource p_i231610_3_, ExplosionContext p_i231610_4_, double p_i231610_5_, double p_i231610_7_, double p_i231610_9_, float p_i231610_11_, boolean p_i231610_12_, Explosion.Mode p_i231610_13_) -
Uses of DamageSource in net.minecraft.world.end
Modifier and TypeMethodDescriptionvoid
DragonFightManager.onCrystalDestroyed
(EnderCrystalEntity p_186090_1_, DamageSource p_186090_2_) -
Uses of DamageSource in net.minecraft.world.server
Modifier and TypeMethodDescriptionServerWorld.explode
(Entity p_230546_1_, DamageSource p_230546_2_, ExplosionContext p_230546_3_, double p_230546_4_, double p_230546_6_, double p_230546_8_, float p_230546_10_, boolean p_230546_11_, Explosion.Mode p_230546_12_) -
Uses of DamageSource in net.minecraftforge.common
Modifier and TypeMethodDescriptionstatic int
ForgeHooks.getLootingLevel
(Entity target, Entity killer, DamageSource cause) static int
ForgeHooks.getLootingLevel
(LivingEntity target, DamageSource cause, int level) static boolean
ForgeHooks.onLivingAttack
(LivingEntity entity, DamageSource src, float amount) static float
ForgeHooks.onLivingDamage
(LivingEntity entity, DamageSource src, float amount) static boolean
ForgeHooks.onLivingDeath
(LivingEntity entity, DamageSource src) static boolean
ForgeHooks.onLivingDrops
(LivingEntity entity, DamageSource source, Collection<ItemEntity> drops, int lootingLevel, boolean recentlyHit) static float
ForgeHooks.onLivingHurt
(LivingEntity entity, DamageSource src, float amount) static boolean
ForgeHooks.onPlayerAttack
(LivingEntity entity, DamageSource src, float amount) -
Uses of DamageSource in net.minecraftforge.common.util
Modifier and TypeMethodDescriptionvoid
FakePlayer.die
(DamageSource source) boolean
FakePlayer.isInvulnerableTo
(DamageSource source) -
Uses of DamageSource in net.minecraftforge.event.entity.living
Modifier and TypeFieldDescriptionprivate final DamageSource
LootingLevelEvent.damageSource
private final DamageSource
LivingAttackEvent.source
private final DamageSource
LivingDamageEvent.source
private final DamageSource
LivingDeathEvent.source
private final DamageSource
LivingDropsEvent.source
private final DamageSource
LivingHurtEvent.source
Modifier and TypeMethodDescriptionLootingLevelEvent.getDamageSource()
LivingAttackEvent.getSource()
LivingDamageEvent.getSource()
LivingDeathEvent.getSource()
LivingDropsEvent.getSource()
LivingHurtEvent.getSource()
ModifierConstructorDescriptionLivingAttackEvent
(LivingEntity entity, DamageSource source, float amount) LivingDamageEvent
(LivingEntity entity, DamageSource source, float amount) LivingDeathEvent
(LivingEntity entity, DamageSource source) LivingDropsEvent
(LivingEntity entity, DamageSource source, Collection<ItemEntity> drops, int lootingLevel, boolean recentlyHit) LivingHurtEvent
(LivingEntity entity, DamageSource source, float amount) LootingLevelEvent
(LivingEntity entity, DamageSource damageSource, int lootingLevel)