Contents
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
FieldsModifier and TypeFieldDescriptionstatic final BuilderCodec<BlockHealthChunk> Deprecated, for removal: This API element is subject to removal in a future version.Fields inherited from interface Component
EMPTY_ARRAY -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionclone()Deprecated, for removal: This API element is subject to removal in a future version.voiddeserialize(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, waitMethods inherited from interface Component
cloneSerializable
-
Field Details
-
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
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
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
clonein interfaceComponent<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.
-