Package mcp.mobius.waila.api
Interface IDataReader
Used to get data synced.
-
Method Summary
Modifier and TypeMethodDescription<D extends IData>
Dget(IData.Type<D> type) Returns typed data synced.<D extends IData>
voidinvalidate(IData.Type<D> type) Invalidate the current data instance of typeD, makingget(IData.Type)returnsnulluntil a new instance is synced.raw()Returns raw NBT data synced.
-
Method Details
-
raw
CompoundTag raw()Returns raw NBT data synced. -
get
Returns typed data synced.- Parameters:
type- the type of the data.
-
invalidate
Invalidate the current data instance of typeD, makingget(IData.Type)returnsnulluntil a new instance is synced.- Parameters:
type- the type of the data
-