public interface IWailaFMPProvider
IWailaRegistrar instance provided in the original registration callback method
(cf. IWailaRegistrar documentation for more information).| Modifier and Type | Method and Description |
|---|---|
List<String> |
getWailaBody(ItemStack itemStack,
List<String> currenttip,
IWailaFMPAccessor 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(ItemStack itemStack,
List<String> currenttip,
IWailaFMPAccessor 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. |
List<String> |
getWailaTail(ItemStack itemStack,
List<String> currenttip,
IWailaFMPAccessor 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. |
List<String> getWailaHead(ItemStack itemStack,
List<String> currenttip,
IWailaFMPAccessor accessor,
IWailaConfigHandler config)
IWailaRegistrar.registerHeadProvider client side.
You are supposed to always return the modified input currenttip.itemStack - Current block scanned, in ItemStack form.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(ItemStack itemStack,
List<String> currenttip,
IWailaFMPAccessor accessor,
IWailaConfigHandler config)
IWailaRegistrar.registerBodyProvider client side.
You are supposed to always return the modified input currenttip.itemStack - Current block scanned, in ItemStack form.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(ItemStack itemStack,
List<String> currenttip,
IWailaFMPAccessor accessor,
IWailaConfigHandler config)
IWailaRegistrar.registerTailProvider client side.
You are supposed to always return the modified input currenttip.itemStack - Current block scanned, in ItemStack form.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.