Class BlockComponentChunk

java.lang.Object
com.hypixel.hytale.server.core.universe.world.chunk.BlockComponentChunk
All Implemented Interfaces:
Component<ChunkStore>, Cloneable

@Deprecated(forRemoval=true) public class BlockComponentChunk extends Object implements Component<ChunkStore>
Deprecated, for removal: This API element is subject to removal in a future version.
Legacy column-level storage for block entities, keyed by a column-relative block index. Only deserialized from pre-section worlds; ChunkSystems.MigrateBlockComponentChunk splits the holders into each section's BlockComponentSection and strips this component on load.
  • Field Details

  • Constructor Details

    • BlockComponentChunk

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

      public BlockComponentChunk(@Nonnull it.unimi.dsi.fastutil.ints.Int2ObjectMap<Holder<ChunkStore>> entityHolders)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • getComponentType

      public static ComponentType<ChunkStore, BlockComponentChunk> getComponentType()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • clone

      @Nonnull public Component<ChunkStore> 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.

    • cloneSerializable

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

    • takeEntityHolders

      @Nullable public it.unimi.dsi.fastutil.ints.Int2ObjectMap<Holder<ChunkStore>> takeEntityHolders()
      Deprecated, for removal: This API element is subject to removal in a future version.