Package net.nullved.pmweatherapi.storage
Interface ISyncServerStorage<D extends StorageData>
- All Superinterfaces:
IServerStorage<D>,IStorage<D>
- All Known Implementing Classes:
MetarServerStorage,RadarServerStorage,WSRServerStorage
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidaddAndSync(D data) Shorthand for callingIStorage.add(IStorageData)andIServerStorage.syncAdd(IStorageData)default voidaddAndSync(Collection<D> datum) Shorthand for callingIStorage.add(Collection)andIServerStorage.syncAdd(Collection)default voidremoveAndSync(D data) Shorthand for callingIStorage.remove(IStorageData)andIServerStorage.syncRemove(IStorageData)default voidremoveAndSync(net.minecraft.core.BlockPos pos) Shorthand for callingIStorage.remove(BlockPos)andIStorage.remove(BlockPos)default voidremoveAndSyncByData(Collection<D> datum) Shorthand for callingIStorage.removeByData(Collection)andIServerStorage.syncRemoveByData(Collection)default voidremoveAndSyncByPos(Collection<net.minecraft.core.BlockPos> pos) Shorthand for callingIStorage.removeByPos(Collection)andIServerStorage.syncRemoveByPos(Collection)Methods inherited from interface net.nullved.pmweatherapi.storage.IServerStorage
getLevel, packet, syncAdd, syncAdd, syncAllToAll, syncAllToPlayer, syncRemove, syncRemove, syncRemoveByData, syncRemoveByPosMethods inherited from interface net.nullved.pmweatherapi.storage.IStorage
add, add, clean, getAll, getAllWithinRange, getId, getInAdjacentChunks, getInChunk, read, remove, remove, removeByData, removeByPos, save, shouldRecalculate, version
-
Method Details
-
addAndSync
Shorthand for callingIStorage.add(IStorageData)andIServerStorage.syncAdd(IStorageData)- Parameters:
data- TheIStorageDatato add and sync- Since:
- 0.15.3.3
-
addAndSync
Shorthand for callingIStorage.add(Collection)andIServerStorage.syncAdd(Collection)- Parameters:
datum- TheCollectionofIStorageDatato add and sync- Since:
- 0.15.3.3
-
removeAndSync
default void removeAndSync(net.minecraft.core.BlockPos pos) Shorthand for callingIStorage.remove(BlockPos)andIStorage.remove(BlockPos)- Parameters:
pos- TheBlockPosto remove and sync- Since:
- 0.15.3.3
-
removeAndSyncByPos
Shorthand for callingIStorage.removeByPos(Collection)andIServerStorage.syncRemoveByPos(Collection)- Parameters:
pos- TheCollectionofBlockPosto remove and sync- Since:
- 0.15.3.3
-
removeAndSync
Shorthand for callingIStorage.remove(IStorageData)andIServerStorage.syncRemove(IStorageData)- Parameters:
data- TheIStorageDatato remove and sync- Since:
- 0.15.3.3
-
removeAndSyncByData
Shorthand for callingIStorage.removeByData(Collection)andIServerStorage.syncRemoveByData(Collection)- Parameters:
datum- TheCollectionofIStorageDatato remove and sync- Since:
- 0.15.3.3
-