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 Type
    Method
    Description
    void
    afterSync(Contraption contraption, net.minecraft.core.BlockPos localPos)
    Called on the client side after this storage has been synced from the server.
    boolean
     
    void
    Called 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

      void afterSync(Contraption contraption, net.minecraft.core.BlockPos localPos)
      Called on the client side after this storage has been synced from the server.