Class WSRStorageData

java.lang.Object
net.nullved.pmweatherapi.storage.data.StorageData
net.nullved.pmweatherapi.radar.storage.WSRStorageData
All Implemented Interfaces:
IStorageData

public class WSRStorageData extends StorageData
StorageData for WSR88DCores. Includes position and completion data
Since:
0.15.3.3
See Also:
  • 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: StorageData
      Serialize this storage data to NBT
      Specified by:
      serializeToNBT in interface IStorageData
      Overrides:
      serializeToNBT in class StorageData
      Returns:
      A CompoundTag of the serialized data
    • deserializeFromNBT

      public static WSRStorageData deserializeFromNBT(net.minecraft.nbt.CompoundTag tag, int version)