Package mcp.mobius.waila.api
Interface IDataProvider<T>
- All Known Implementing Classes:
BlockingDataProvider
Used to send server-side data to the client.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
appendData
(IDataWriter data, IServerAccessor<T> accessor, IPluginConfig config) Callback used server side to return a custom synchronization data.
-
Method Details
-
appendData
Callback used server side to return a custom synchronization data.- Parameters:
data
- current synchronization dataaccessor
- contains the relevant context of the environmentconfig
- current plugin configurations, values could be different from the requesting client unless it was registered viaICommonRegistrar.syncedConfig(net.minecraft.resources.ResourceLocation, boolean, boolean)
- See Also:
-