java.lang.Object
me.desht.pneumaticcraft.client.render.pneumatic_armor.entity_tracker.EntityTrackEntryCreeper
All Implemented Interfaces:
IEntityTrackEntry

public class EntityTrackEntryCreeper extends Object implements IEntityTrackEntry
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addInfo(net.minecraft.world.entity.Entity entity, List<net.minecraft.network.chat.Component> curInfo, boolean isLookingAtTarget)
    Add info to the tab.
    boolean
    isApplicable(net.minecraft.world.entity.Entity entity)
    Return true if you want to add a tooltip for the given entity.
    void
    tick(net.minecraft.world.entity.Entity entity)
    Called every client tick; can be used to update something like a timer (e.g.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface me.desht.pneumaticcraft.api.client.pneumatic_helmet.IEntityTrackEntry

    render
  • Constructor Details

    • EntityTrackEntryCreeper

      public EntityTrackEntryCreeper()
  • Method Details

    • isApplicable

      public boolean isApplicable(net.minecraft.world.entity.Entity entity)
      Description copied from interface: IEntityTrackEntry
      Return true if you want to add a tooltip for the given entity.
      Specified by:
      isApplicable in interface IEntityTrackEntry
      Parameters:
      entity - the candidate entity
      Returns:
      true if this tracker is applicable to the given entity
    • tick

      public void tick(net.minecraft.world.entity.Entity entity)
      Description copied from interface: IEntityTrackEntry
      Called every client tick; can be used to update something like a timer (e.g. used for the Creeper explosion countdown).
      Specified by:
      tick in interface IEntityTrackEntry
      Parameters:
      entity - the tracked entity
    • addInfo

      public void addInfo(net.minecraft.world.entity.Entity entity, List<net.minecraft.network.chat.Component> curInfo, boolean isLookingAtTarget)
      Description copied from interface: IEntityTrackEntry
      Add info to the tab. This is only called when isApplicable returned true.
      Specified by:
      addInfo in interface IEntityTrackEntry
      Parameters:
      entity - the tracked entity
      curInfo - list of text component to append information to
      isLookingAtTarget - true if the player is focused on the tracked entity