Class LegacyModule.MigrateLegacyBlockStateChunkSystem
java.lang.Object
com.hypixel.hytale.component.system.System<ChunkStore>
com.hypixel.hytale.component.system.HolderSystem<ChunkStore>
com.hypixel.hytale.server.core.modules.migrations.ChunkColumnMigrationSystem
com.hypixel.hytale.server.core.modules.LegacyModule.MigrateLegacyBlockStateChunkSystem
- All Implemented Interfaces:
ISystem<ChunkStore>,QuerySystem<ChunkStore>
- Enclosing class:
LegacyModule
private static class LegacyModule.MigrateLegacyBlockStateChunkSystem
extends ChunkColumnMigrationSystem
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Archetype<ChunkStore> private final ComponentType<ChunkStore, com.hypixel.hytale.server.core.universe.world.chunk.BlockComponentChunk> private final ComponentType<ChunkStore, LegacyModule.LegacyBlockStateChunk> private static final com.hypixel.hytale.logger.HytaleLoggerFields inherited from interface com.hypixel.hytale.component.system.ISystem
EMPTY_ARRAY -
Constructor Summary
ConstructorsConstructorDescriptionMigrateLegacyBlockStateChunkSystem(ComponentType<ChunkStore, LegacyModule.LegacyBlockStateChunk> legacyComponentType, ComponentType<ChunkStore, com.hypixel.hytale.server.core.universe.world.chunk.BlockComponentChunk> componentType) -
Method Summary
Modifier and TypeMethodDescriptiongetQuery()voidonEntityAdd(Holder<ChunkStore> holder, AddReason reason, Store<ChunkStore> store) voidonEntityRemoved(Holder<ChunkStore> holder, RemoveReason reason, Store<ChunkStore> store) Methods inherited from class com.hypixel.hytale.component.system.System
getComponentRegistrations, getResourceRegistrations, registerComponent, registerComponent, registerComponent, registerResource, registerResourceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.hypixel.hytale.component.system.ISystem
getGroup, onSystemRegistered, onSystemUnregisteredMethods inherited from interface com.hypixel.hytale.component.system.QuerySystem
test
-
Field Details
-
LOGGER
private static final com.hypixel.hytale.logger.HytaleLogger LOGGER -
legacyComponentType
-
componentType
private final ComponentType<ChunkStore,com.hypixel.hytale.server.core.universe.world.chunk.BlockComponentChunk> componentType -
archetype
-
-
Constructor Details
-
MigrateLegacyBlockStateChunkSystem
public MigrateLegacyBlockStateChunkSystem(ComponentType<ChunkStore, LegacyModule.LegacyBlockStateChunk> legacyComponentType, ComponentType<ChunkStore, com.hypixel.hytale.server.core.universe.world.chunk.BlockComponentChunk> componentType)
-
-
Method Details
-
getQuery
-
onEntityAdd
public void onEntityAdd(@Nonnull Holder<ChunkStore> holder, @Nonnull AddReason reason, @Nonnull Store<ChunkStore> store) - Specified by:
onEntityAddin classHolderSystem<ChunkStore>
-
onEntityRemoved
public void onEntityRemoved(@Nonnull Holder<ChunkStore> holder, @Nonnull RemoveReason reason, @Nonnull Store<ChunkStore> store) - Specified by:
onEntityRemovedin classHolderSystem<ChunkStore>
-
getDependencies
-