LegacyModule

public class LegacyModule extends JavaPlugin

Class LegacyModule. Provides legacymodule functionality for the Hytale server.

java.lang.Object > JavaPlugin > LegacyModule

Field Summary

holders

public Holder[] holders

Field holders.

newHolders

final Holder[] newHolders

Field newHolders.

column

final ChunkColumn column

Field column.

blockChunk

final BlockChunk blockChunk

Field blockChunk.

sections

final Holder[] sections

Field sections.

migratedSections

final BlockSection[] migratedSections

Field migratedSections.

section

final Holder section

Field section.

blockSection

final BlockSection blockSection

Field blockSection.

component

final LegacyBlockStateChunk component

Field component.

blockState

final BlockState blockState

Field blockState.

position

final Vector3i position

Field position.

blockComponentChunk

final BlockComponentChunk blockComponentChunk

Field blockComponentChunk.

Method Detail

get

static LegacyModule get ()

Method get.

LegacyModule

public public LegacyModule (@Nonnull final JavaPluginInit init)

Method LegacyModule.

Parameters:
@Nonnull final JavaPluginInit init

setup

protected void setup ()

Method setup.

MigrateLegacySections

public new MigrateLegacySections ()

Method MigrateLegacySections.

MigrateLegacyBlockStateChunkSystem

public new MigrateLegacyBlockStateChunkSystem (legacyBlockStateComponentType, this.blockComponentChunkComponentType)

Method MigrateLegacyBlockStateChunkSystem.

Parameters:
legacyBlockStateComponentType legacyBlockStateComponentType
this.blockComponentChunkComponentType this.blockComponentChunkComponentType

getWorldChunkComponentType

public WorldChunk> getWorldChunkComponentType ()

Method getWorldChunkComponentType.

getBlockChunkComponentType

public BlockChunk> getBlockChunkComponentType ()

Method getBlockChunkComponentType.

getEntityChunkComponentType

public EntityChunk> getEntityChunkComponentType ()

Method getEntityChunkComponentType.

getBlockComponentChunkComponentType

public BlockComponentChunk> getBlockComponentChunkComponentType ()

Method getBlockComponentChunkComponentType.

getEnvironmentChunkComponentType

public EnvironmentChunk> getEnvironmentChunkComponentType ()

Method getEnvironmentChunkComponentType.

getChunkColumnComponentType

public ChunkColumn> getChunkColumnComponentType ()

Method getChunkColumnComponentType.

getChunkSectionComponentType

public ChunkSection> getChunkSectionComponentType ()

Method getChunkSectionComponentType.

getBlockSectionComponentType

public BlockSection> getBlockSectionComponentType ()

Method getBlockSectionComponentType.

getFluidSectionComponentType

public FluidSection> getFluidSectionComponentType ()

Method getFluidSectionComponentType.

getBlockPositionProviderComponentType

public BlockPositionProvider> getBlockPositionProviderComponentType ()

Method getBlockPositionProviderComponentType.

LegacyBlockStateChunk

public public LegacyBlockStateChunk ()

Method LegacyBlockStateChunk.

clone

public Component clone ()

Method clone.

SystemDependency

public new SystemDependency (Order.AFTER, (Class)

Method SystemDependency.

Parameters:
Order.AFTER Order.AFTER
(Class (Class

onEntityAdd

public void onEntityAdd (@Nonnull final Holder holder, @Nonnull final AddReason reason, @Nonnull final Store store)

Method onEntityAdd.

Parameters:
@Nonnull final Holder holder
@Nonnull final AddReason reason
@Nonnull final Store store

onEntityRemoved

public void onEntityRemoved (@Nonnull final Holder holder, @Nonnull final RemoveReason reason, @Nonnull final Store store)

Method onEntityRemoved.

Parameters:
@Nonnull final Holder holder
@Nonnull final RemoveReason reason
@Nonnull final Store store

getQuery

public Query getQuery ()

Method getQuery.

getDependencies

public Set> getDependencies ()

Method getDependencies.

BlockComponentChunk

public new BlockComponentChunk (holders, new Int2ObjectOpenHashMap>()

Method BlockComponentChunk.

Parameters:
holders holders
new Int2ObjectOpenHashMap>(