Class BlockHealthChunk

java.lang.Object
com.hypixel.hytale.server.core.modules.blockhealth.BlockHealthChunk
All Implemented Interfaces:
Component<ChunkStore>, Cloneable

@Deprecated(forRemoval=true) public class BlockHealthChunk extends Object implements Component<ChunkStore>
Deprecated, for removal: This API element is subject to removal in a future version.
The column-level block health component of pre-section worlds, keyed by absolute block position.

Only deserialized from old saves. BlockHealthSystems.MigrateBlockHealthChunk moves the entries into the BlockHealthSection of each section and removes this component.

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Fields inherited from interface Component

    EMPTY_ARRAY
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    deserialize(byte[] data)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    it.unimi.dsi.fastutil.objects.Object2FloatMap<org.joml.Vector3i>
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Map<org.joml.Vector3i, BlockHealth>
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    byte[]
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface Component

    cloneSerializable
  • Field Details

    • CODEC

      public static final BuilderCodec<BlockHealthChunk> CODEC
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Constructor Details

    • BlockHealthChunk

      public BlockHealthChunk()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • getBlockHealthMap

      @Nonnull public Map<org.joml.Vector3i, BlockHealth> getBlockHealthMap()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getBlockFragilityMap

      @Nonnull public it.unimi.dsi.fastutil.objects.Object2FloatMap<org.joml.Vector3i> getBlockFragilityMap()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • clone

      @Nonnull public BlockHealthChunk clone()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      clone in interface Component<ChunkStore>
      Returns:
      a clone instance of the original component instance.

    • deserialize

      public void deserialize(@Nonnull byte[] data)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • serialize

      public byte[] serialize()
      Deprecated, for removal: This API element is subject to removal in a future version.