Uses of Interface
io.papermc.paper.world.damagesource.CombatEntry
Packages that use CombatEntry
-
Uses of CombatEntry in io.papermc.paper
Methods in io.papermc.paper that return CombatEntryModifier and TypeMethodDescriptionInternalAPIBridge.createCombatEntry
(DamageSource damageSource, float damage, @Nullable FallLocationType fallLocationType, float fallDistance) Creates a new combat entryInternalAPIBridge.createCombatEntry
(LivingEntity entity, DamageSource damageSource, float damage) Creates a new combat entry. -
Uses of CombatEntry in io.papermc.paper.world.damagesource
Methods in io.papermc.paper.world.damagesource that return CombatEntryModifier and TypeMethodDescriptionstatic CombatEntry
CombatEntry.combatEntry
(DamageSource damageSource, float damage, @Nullable FallLocationType fallLocationType, float fallDistance) Creates a new combat entrystatic CombatEntry
CombatEntry.combatEntry
(LivingEntity entity, DamageSource damageSource, float damage) Creates a new combat entry.CombatTracker.computeMostSignificantFall()
Calculates the most significant fall damage entry.Methods in io.papermc.paper.world.damagesource that return types with arguments of type CombatEntryModifier and TypeMethodDescriptionCombatTracker.getCombatEntries()
Gets the list of recorded combat entries.Methods in io.papermc.paper.world.damagesource with parameters of type CombatEntryModifier and TypeMethodDescriptionvoid
CombatTracker.addCombatEntry
(CombatEntry combatEntry) Adds a new entry the pool of combat entries, updating the entity's combat state.Method parameters in io.papermc.paper.world.damagesource with type arguments of type CombatEntryModifier and TypeMethodDescriptionvoid
CombatTracker.setCombatEntries
(List<CombatEntry> combatEntries) Sets the entity's combat history.