    001package net.minecraft.util;
    002
    003import net.minecraft.entity.EntityLiving;
    004
    005public class CombatEntry
    006{
    007    private final DamageSource field_94569_a;
    008    private final int field_94567_b;
    009    private final int field_94568_c;
    010    private final int field_94565_d;
    011    private final String field_94566_e;
    012    private final float field_94564_f;
    013
    014    public CombatEntry(DamageSource par1DamageSource, int par2, int par3, int par4, String par5Str, float par6)
    015    {
    016        this.field_94569_a = par1DamageSource;
    017        this.field_94567_b = par2;
    018        this.field_94568_c = par4;
    019        this.field_94565_d = par3;
    020        this.field_94566_e = par5Str;
    021        this.field_94564_f = par6;
    022    }
    023
    024    public DamageSource func_94560_a()
    025    {
    026        return this.field_94569_a;
    027    }
    028
    029    public int func_94563_c()
    030    {
    031        return this.field_94568_c;
    032    }
    033
    034    public boolean func_94559_f()
    035    {
    036        return this.field_94569_a.getEntity() instanceof EntityLiving;
    037    }
    038
    039    public String func_94562_g()
    040    {
    041        return this.field_94566_e;
    042    }
    043
    044    public String func_94558_h()
    045    {
    046        return this.func_94560_a().getEntity() == null ? null : this.func_94560_a().getEntity().func_96090_ax();
    047    }
    048
    049    public float func_94561_i()
    050    {
    051        return this.field_94569_a == DamageSource.outOfWorld ? Float.MAX_VALUE : this.field_94564_f;
    052    }
    053}