Class WSRStorageData
java.lang.Object
net.nullved.pmweatherapi.storage.data.StorageData
net.nullved.pmweatherapi.radar.storage.WSRStorageData
- All Implemented Interfaces:
IStorageData
StorageData for WSR88DCores.
Includes position and completion data- Since:
- 0.15.3.3
- See Also:
-
Field Summary
FieldsFields inherited from class net.nullved.pmweatherapi.storage.data.StorageData
pos -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic WSRStorageDatadeserializeFromNBT(net.minecraft.nbt.CompoundTag tag, int version) net.minecraft.resources.ResourceLocationgetId()booleannet.minecraft.nbt.CompoundTagSerialize this storage data to NBTMethods inherited from class net.nullved.pmweatherapi.storage.data.StorageData
deserializeBlockPos, getPos
-
Field Details
-
ID
public static final net.minecraft.resources.ResourceLocation ID
-
-
Constructor Details
-
WSRStorageData
public WSRStorageData(net.minecraft.core.BlockPos pos, boolean completed)
-
-
Method Details
-
isCompleted
public boolean isCompleted() -
getId
public net.minecraft.resources.ResourceLocation getId() -
serializeToNBT
public net.minecraft.nbt.CompoundTag serializeToNBT()Description copied from class:StorageDataSerialize this storage data to NBT- Specified by:
serializeToNBTin interfaceIStorageData- Overrides:
serializeToNBTin classStorageData- Returns:
- A
CompoundTagof the serialized data
-
deserializeFromNBT
-