Package mcp.mobius.waila.api
Interface IDataWriter.Result<T extends IData>
- Enclosing interface:
IDataWriter
-
Method Summary
Modifier and TypeMethodDescriptionSend the data.block()
Block lower priority providers from adding data, regardless if current provider added a data or not.
-
Method Details
-
add
Send the data. This also blocks addition from lower priority providers.- Throws:
NullPointerException
- if data is nullIllegalStateException
- if called multiple times in the same closure
-
block
IDataWriter.Result<T> block()Block lower priority providers from adding data, regardless if current provider added a data or not. Useful for disabling this data type for specific objects.
-