Class MetarClientStorage
java.lang.Object
net.nullved.pmweatherapi.storage.PMWStorage<MetarStorageData>
net.nullved.pmweatherapi.metar.MetarStorage
net.nullved.pmweatherapi.client.metar.MetarClientStorage
- All Implemented Interfaces:
IClientStorage<MetarStorageData>,IStorage<MetarStorageData>
A
You should not create a
IClientStorage implementation for MetarBlocks
You should not create a
MetarClientStorage, instead, use PMWClientStorages.metars()- Since:
- 0.15.3.3
-
Field Summary
Fields inherited from class net.nullved.pmweatherapi.metar.MetarStorage
ID, VERSION -
Constructor Summary
ConstructorsConstructorDescriptionMetarClientStorage(net.minecraft.client.multiplayer.ClientLevel clientLevel) DO NOT CALL THIS CONSTRUCTOR!!!
Get a radar storage fromPMWClientStorages.metars() -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.client.multiplayer.ClientLevelgetLevel()Gets the level associated with thisMetarClientStorageMethods inherited from class net.nullved.pmweatherapi.metar.MetarStorage
getExpectedDataType, getId, versionMethods inherited from class net.nullved.pmweatherapi.storage.PMWStorage
add, add, clean, forAll, forAllWithinRange, forInAdjacentChunks, forInChunk, 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, forAll, forAllWithinRange, forInAdjacentChunks, forInChunk, getAll, getAllWithinRange, getId, getInAdjacentChunks, getInChunk, read, remove, remove, removeByData, removeByPos, save, shouldRecalculate, version
-
Constructor Details
-
MetarClientStorage
public MetarClientStorage(net.minecraft.client.multiplayer.ClientLevel clientLevel) DO NOT CALL THIS CONSTRUCTOR!!!
Get a radar storage fromPMWClientStorages.metars()- 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 thisMetarClientStorage- Specified by:
getLevelin interfaceIClientStorage<MetarStorageData>- Specified by:
getLevelin interfaceIStorage<MetarStorageData>- Specified by:
getLevelin classMetarStorage- Returns:
- The
MinecraftClientLevel - Since:
- 0.15.3.3
-