Interface SyncedMountedStorage
- All Known Implementing Classes:
DepotMountedStorage,FluidTankMountedStorage
public interface SyncedMountedStorage
Optional interface for mounted storage that is synced with the client.
-
Method Summary
Modifier and TypeMethodDescriptionvoidafterSync(Contraption contraption, net.minecraft.core.BlockPos localPos) Called on the client side after this storage has been synced from the server.booleanisDirty()voidCalled after this storage has been synced.
-
Method Details
-
isDirty
boolean isDirty()- Returns:
- true if this storage needs to be synced.
-
markClean
void markClean()Called after this storage has been synced. -
afterSync
Called on the client side after this storage has been synced from the server.
-