Package net.minecraft.util
Class CombatEntry
java.lang.Object
net.minecraft.util.CombatEntry
-
Field Summary
Modifier and TypeFieldDescriptionprivate final float
private final float
private final float
private final String
private final DamageSource
private final int
-
Constructor Summary
ConstructorDescriptionCombatEntry
(DamageSource p_i1564_1_, int p_i1564_2_, float p_i1564_3_, float p_i1564_4_, String p_i1564_5_, float p_i1564_6_) -
Method Summary
Modifier and TypeMethodDescriptionfloat
float
boolean
-
Field Details
-
source
-
time
private final int time -
damage
private final float damage -
health
private final float health -
location
-
fallDistance
private final float fallDistance
-
-
Constructor Details
-
CombatEntry
public CombatEntry(DamageSource p_i1564_1_, int p_i1564_2_, float p_i1564_3_, float p_i1564_4_, String p_i1564_5_, float p_i1564_6_)
-
-
Method Details
-
getSource
-
getDamage
public float getDamage() -
isCombatRelated
public boolean isCombatRelated() -
getLocation
-
getAttackerName
-
getFallDistance
public float getFallDistance()
-