Class RangeUpgradeClientStorage
java.lang.Object
net.nullved.pmweatherapi.storage.PMWStorage<BlockPosData>
net.nullved.pmweatherapi.storage.radar.RangeUpgradeStorage
net.nullved.pmweatherapi.client.storage.radar.RangeUpgradeClientStorage
- All Implemented Interfaces:
IClientStorage<BlockPosData>,IStorage<BlockPosData>
public class RangeUpgradeClientStorage
extends RangeUpgradeStorage
implements IClientStorage<BlockPosData>
A
You should not create a
IClientStorage implementation for Radar Upgrade Modules
You should not create a
RangeUpgradeClientStorage, instead, use PMWClientStorages.rangeUpgrades()- Since:
- 0.16.4.0
-
Field Summary
Fields inherited from class net.nullved.pmweatherapi.storage.radar.RangeUpgradeStorage
ID -
Constructor Summary
ConstructorsConstructorDescriptionRangeUpgradeClientStorage(net.minecraft.client.multiplayer.ClientLevel clientLevel) DO NOT CALL THIS CONSTRUCTOR!!!
Get a radar storage fromPMWClientStorages.rangeUpgrades() -
Method Summary
Methods inherited from class net.nullved.pmweatherapi.storage.radar.RangeUpgradeStorage
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.storage.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
-
RangeUpgradeClientStorage
public RangeUpgradeClientStorage(net.minecraft.client.multiplayer.ClientLevel clientLevel) DO NOT CALL THIS CONSTRUCTOR!!!
Get a radar storage fromPMWClientStorages.rangeUpgrades()- Parameters:
clientLevel- TheClientLevelto create this storage for- Since:
- 0.16.4.0
-
-
Method Details
-
getLevel
public net.minecraft.client.multiplayer.ClientLevel getLevel()Description copied from class:PMWStorageGets the level associated with thisIStorage. For the client side, it returns theClientLevel. For the server side, it returns aServerLevel.- Specified by:
getLevelin interfaceIClientStorage<BlockPosData>- Specified by:
getLevelin interfaceIStorage<BlockPosData>- Specified by:
getLevelin classPMWStorage<BlockPosData>- Returns:
- A
Levelinstance
-