Class RadarClientStorage
java.lang.Object
net.nullved.pmweatherapi.storage.PMWStorage<RadarStorageData>
net.nullved.pmweatherapi.radar.storage.RadarStorage
net.nullved.pmweatherapi.client.radar.RadarClientStorage
- All Implemented Interfaces:
IClientStorage<RadarStorageData>,IStorage<RadarStorageData>
A
You should not create a
IClientStorage implementation for RadarBlocks
You should not create a
RadarClientStorage, instead, use PMWClientStorages.radars()- Since:
- 0.15.3.3
-
Field Summary
Fields inherited from class net.nullved.pmweatherapi.radar.storage.RadarStorage
ID, VERSION -
Constructor Summary
ConstructorsConstructorDescriptionRadarClientStorage(net.minecraft.client.multiplayer.ClientLevel clientLevel) DO NOT CALL THIS CONSTRUCTOR!!!
Get a radar storage fromPMWClientStorages.radars() -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.client.multiplayer.ClientLevelgetLevel()Gets the level associated with thisRadarClientStorageMethods inherited from class net.nullved.pmweatherapi.radar.storage.RadarStorage
getExpectedDataType, getId, versionMethods inherited from class net.nullved.pmweatherapi.storage.PMWStorage
add, add, clean, getAll, getAllWithinRange, getInAdjacentChunks, getInChunk, read, remove, remove, removeByData, removeByPos, save, shouldRecalculateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.nullved.pmweatherapi.client.data.IClientStorage
syncAdd, syncAll, syncRemoveMethods inherited from interface net.nullved.pmweatherapi.storage.IStorage
add, add, clean, getAll, getAllWithinRange, getId, getInAdjacentChunks, getInChunk, read, remove, remove, removeByData, removeByPos, save, shouldRecalculate, version
-
Constructor Details
-
RadarClientStorage
public RadarClientStorage(net.minecraft.client.multiplayer.ClientLevel clientLevel) DO NOT CALL THIS CONSTRUCTOR!!!
Get a radar storage fromPMWClientStorages.radars()- Parameters:
clientLevel- TheClientLevelto create this storage for- Since:
- 0.15.3.3
-
-
Method Details
-
getLevel
public net.minecraft.client.multiplayer.ClientLevel getLevel()Gets the level associated with thisRadarClientStorage- Specified by:
getLevelin interfaceIClientStorage<RadarStorageData>- Specified by:
getLevelin interfaceIStorage<RadarStorageData>- Specified by:
getLevelin classRadarStorage- Returns:
- The
MinecraftClientLevel - Since:
- 0.15.3.3
-