Interface AttackerTracker

All Known Implementing Classes:
CelestialTowerEntity, SuperHansEntity

public interface AttackerTracker
Simply keeps a list of entities which have attacked this entity. Provides a method to get the number of entities that dealt some form of damage, used in EntityKillersValue for loot table functions.
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    attackedByEntity(net.minecraft.world.entity.Entity entity, List<net.minecraft.world.entity.Entity> attackingEntities)
     
    int
     
  • Method Details

    • attackedByEntity

      default void attackedByEntity(net.minecraft.world.entity.Entity entity, List<net.minecraft.world.entity.Entity> attackingEntities)
    • getAttackingEntities

      int getAttackingEntities()