Class WSRStorage
java.lang.Object
net.nullved.pmweatherapi.storage.PMWStorage<WSRStorageData>
net.nullved.pmweatherapi.radar.storage.WSRStorage
- All Implemented Interfaces:
IStorage<WSRStorageData>
- Direct Known Subclasses:
WSRClientStorage,WSRServerStorage
PMWStorage for WSR88DCores- Since:
- 0.15.3.3
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionWSRStorage(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> dimension) -
Method Summary
Methods inherited from class net.nullved.pmweatherapi.storage.PMWStorage
add, add, clean, forAll, forAllWithinRange, forInAdjacentChunks, forInChunk, getAll, getAllWithinRange, getInAdjacentChunks, getInChunk, getLevel, read, remove, remove, removeByData, removeByPos, save, shouldRecalculate
-
Field Details
-
VERSION
public static final int VERSION- See Also:
-
ID
public static final net.minecraft.resources.ResourceLocation ID
-
-
Constructor Details
-
WSRStorage
public WSRStorage(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> dimension)
-
-
Method Details
-
getId
public net.minecraft.resources.ResourceLocation getId()Description copied from class:PMWStorageTheResourceLocationID of thisIStorage. Used primarily for saving to the file atdata/<namespace>_<path>.dat.- Specified by:
getIdin interfaceIStorage<WSRStorageData>- Specified by:
getIdin classPMWStorage<WSRStorageData>- Returns:
- A
ResourceLocation
-
getExpectedDataType
public net.minecraft.resources.ResourceLocation getExpectedDataType()- Specified by:
getExpectedDataTypein classPMWStorage<WSRStorageData>
-
version
public int version()Description copied from class:PMWStorageThe version of thisIStorage. To disable version data from being saved, return-1- Specified by:
versionin interfaceIStorage<WSRStorageData>- Specified by:
versionin classPMWStorage<WSRStorageData>- Returns:
- The version of the saved data
-