public static class EntityTrackHandler.EntityTrackEntryTameable extends java.lang.Object implements IEntityTrackEntry
| Constructor and Description |
|---|
EntityTrackEntryTameable() |
| Modifier and Type | Method and Description |
|---|---|
void |
addInfo(net.minecraft.entity.Entity entity,
java.util.List<net.minecraft.util.text.ITextComponent> curInfo,
boolean isLookingAtTarget)
Add info to the tab.
|
boolean |
isApplicable(net.minecraft.entity.Entity entity)
Return true if you want to add a tooltip for the given entity.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitrender, updatepublic boolean isApplicable(net.minecraft.entity.Entity entity)
IEntityTrackEntryisApplicable in interface IEntityTrackEntryentity - the candidate entitypublic void addInfo(net.minecraft.entity.Entity entity,
java.util.List<net.minecraft.util.text.ITextComponent> curInfo,
boolean isLookingAtTarget)
IEntityTrackEntryaddInfo in interface IEntityTrackEntryentity - the tracked entitycurInfo - list of text component to append information toisLookingAtTarget - true if the player is focused on the tracked entity