public interface IWailaEntityProvider
IWailaRegistrar instance provided in the original registration callback method
(cf. IWailaRegistrar documentation for more information).| Modifier and Type | Method and Description |
|---|---|
NBTTagCompound |
getNBTData(EntityPlayerMP player,
Entity ent,
NBTTagCompound tag,
World world)
Callback used server side to return a custom synchronization NBTTagCompound.
Will be used if the implementing class is registered via
IWailaRegistrar.registerNBTProvider server and client side.
You are supposed to always return the modified input NBTTagCompound tag. |
List<String> |
getWailaBody(Entity entity,
List<String> currenttip,
IWailaEntityAccessor accessor,
IWailaConfigHandler config)
Callback used to add lines to one of the three sections of the tooltip (Head, Body, Tail).
Will be used if the implementing class is registered via
IWailaRegistrar.registerBodyProvider client side.
You are supposed to always return the modified input currenttip. |
List<String> |
getWailaHead(Entity entity,
List<String> currenttip,
IWailaEntityAccessor accessor,
IWailaConfigHandler config)
Callback used to add lines to one of the three sections of the tooltip (Head, Body, Tail).
Will be used if the implementing class is registered via
IWailaRegistrar.registerHeadProvider client side.
You are supposed to always return the modified input currenttip. |
Entity |
getWailaOverride(IWailaEntityAccessor accessor,
IWailaConfigHandler config)
Callback used to override the default Waila lookup system.
Will be used if the implementing class is registered via
IWailaRegistrar.registerOverrideEntityProvider. |
List<String> |
getWailaTail(Entity entity,
List<String> currenttip,
IWailaEntityAccessor accessor,
IWailaConfigHandler config)
Callback used to add lines to one of the three sections of the tooltip (Head, Body, Tail).
Will be used if the implementing class is registered via
IWailaRegistrar.registerTailProvider client side.
You are supposed to always return the modified input currenttip. |
Entity getWailaOverride(IWailaEntityAccessor accessor, IWailaConfigHandler config)
IWailaRegistrar.registerOverrideEntityProvider.accessor - Contains most of the relevant information about the current environment.config - Current configuration of Waila.List<String> getWailaHead(Entity entity,
List<String> currenttip,
IWailaEntityAccessor accessor,
IWailaConfigHandler config)
IWailaRegistrar.registerHeadProvider client side.
You are supposed to always return the modified input currenttip.entity - Current Entity scanned.currenttip - Current list of tooltip lines (might have been processed by other providers and might be processed by other providers).accessor - Contains most of the relevant information about the current environment.config - Current configuration of Waila.List<String> getWailaBody(Entity entity,
List<String> currenttip,
IWailaEntityAccessor accessor,
IWailaConfigHandler config)
IWailaRegistrar.registerBodyProvider client side.
You are supposed to always return the modified input currenttip.entity - Current Entity scanned.currenttip - Current list of tooltip lines (might have been processed by other providers and might be processed by other providers).accessor - Contains most of the relevant information about the current environment.config - Current configuration of Waila.List<String> getWailaTail(Entity entity,
List<String> currenttip,
IWailaEntityAccessor accessor,
IWailaConfigHandler config)
IWailaRegistrar.registerTailProvider client side.
You are supposed to always return the modified input currenttip.entity - Current Entity scanned.currenttip - Current list of tooltip lines (might have been processed by other providers and might be processed by other providers).accessor - Contains most of the relevant information about the current environment.config - Current configuration of Waila.NBTTagCompound getNBTData(EntityPlayerMP player,
Entity ent,
NBTTagCompound tag,
World world)
IWailaRegistrar.registerNBTProvider server and client side.
You are supposed to always return the modified input NBTTagCompound tag.player - The player requesting data synchronization (The owner of the current connection).ent - The Entity targeted for synchronization.tag - Current synchronization tag (might have been processed by other providers and might be processed by other providers).world - TileEntity's World.