Uses of Class
com.hypixel.hytale.component.ComponentRegistry.Data
Packages that use ComponentRegistry.Data
Package
Description
An implementation of an EntityComponentSystem (aka ECS).
-
Uses of ComponentRegistry.Data in com.hypixel.hytale.component
Methods in com.hypixel.hytale.component that return ComponentRegistry.DataModifier and TypeMethodDescriptionComponentRegistry._internal_getData()Allows for direct access to data from internal system when we already have validated the thread we are on.ComponentRegistry.getData()Methods in com.hypixel.hytale.component with parameters of type ComponentRegistry.DataModifier and TypeMethodDescriptionHolder.cloneSerializable(ComponentRegistry.Data<ECS_TYPE> data) Holder.cloneSerializable(ComponentRegistry.Data<ECS_TYPE> data, Predicate<ComponentType<ECS_TYPE, ?>> filter) ArchetypeChunk.copySerializableEntity(ComponentRegistry.Data<ECS_TYPE> data, int entityIndex, Holder<ECS_TYPE> target, Predicate<ComponentType<ECS_TYPE, ?>> filter) Called to copy the serializable components of an entity at the given index into the provided target holder.Archetype.getSerializableArchetype(ComponentRegistry.Data<ECS_TYPE> data, Predicate<ComponentType<ECS_TYPE, ?>> filter) Gets a new archetype containing only the serializable components from this archetype.booleanArchetype.hasSerializableComponents(ComponentRegistry.Data<ECS_TYPE> data) Determines whether this archetype has any serializable components.booleanHolder.hasSerializableComponents(ComponentRegistry.Data<ECS_TYPE> data) Determines whether this holder contains serializable components.<T extends Resource<ECS_TYPE>, ECS_TYPE>
CompletableFuture<T> EmptyResourceStorage.load(Store<ECS_TYPE> store, ComponentRegistry.Data<ECS_TYPE> data, ResourceType<ECS_TYPE, T> resourceType) <T extends Resource<ECS_TYPE>, ECS_TYPE>
CompletableFuture<T> IResourceStorage.load(Store<ECS_TYPE> store, ComponentRegistry.Data<ECS_TYPE> data, ResourceType<ECS_TYPE, T> resourceType) Called to load a resource from the given store and data.<T extends Resource<ECS_TYPE>, ECS_TYPE>
CompletableFuture<Void> EmptyResourceStorage.remove(Store<ECS_TYPE> store, ComponentRegistry.Data<ECS_TYPE> data, ResourceType<ECS_TYPE, T> resourceType) <T extends Resource<ECS_TYPE>, ECS_TYPE>
CompletableFuture<Void> IResourceStorage.remove(Store<ECS_TYPE> store, ComponentRegistry.Data<ECS_TYPE> data, ResourceType<ECS_TYPE, T> resourceType) Called to remove a resource from the given store and data.<T extends Resource<ECS_TYPE>, ECS_TYPE>
CompletableFuture<Void> EmptyResourceStorage.save(Store<ECS_TYPE> store, ComponentRegistry.Data<ECS_TYPE> data, ResourceType<ECS_TYPE, T> resourceType, T resource) <T extends Resource<ECS_TYPE>, ECS_TYPE>
CompletableFuture<Void> IResourceStorage.save(Store<ECS_TYPE> store, ComponentRegistry.Data<ECS_TYPE> data, ResourceType<ECS_TYPE, T> resourceType, T resource) Called to save a resource to the given store and data.voidHolder.updateData(ComponentRegistry.Data<ECS_TYPE> oldData, ComponentRegistry.Data<ECS_TYPE> newData) -
Uses of ComponentRegistry.Data in com.hypixel.hytale.server.core.modules.migrations
Methods in com.hypixel.hytale.server.core.modules.migrations that return ComponentRegistry.DataModifier and TypeMethodDescriptionChunkMigrations.Snapshot.chunkData()Returns the value of thechunkDatarecord component.ChunkMigrations.Snapshot.entityData()Returns the value of theentityDatarecord component.Methods in com.hypixel.hytale.server.core.modules.migrations with parameters of type ComponentRegistry.DataModifier and TypeMethodDescriptionstatic booleanChunkMigrations.migrate(Holder<ChunkStore> holder, ComponentRegistry.Data<ChunkStore> chunkData, Store<ChunkStore> chunkStore, ComponentRegistry.Data<EntityStore> entityData, Store<EntityStore> entityStore) Runs the chunk column, block, section, and (if available) entity migration systems against the given chunk holder.static booleanChunkMigrations.migrateSections(Iterable<Holder<ChunkStore>> sections, ComponentRegistry.Data<ChunkStore> chunkData, Store<ChunkStore> chunkStore, ComponentRegistry.Data<EntityStore> entityData, Store<EntityStore> entityStore) Runs the block, section, and (if available) entity migration systems against section holders.Constructors in com.hypixel.hytale.server.core.modules.migrations with parameters of type ComponentRegistry.DataModifierConstructorDescriptionSnapshot(ComponentRegistry.Data<ChunkStore> chunkData, Store<ChunkStore> chunkStore, ComponentRegistry.Data<EntityStore> entityData, Store<EntityStore> entityStore) Creates an instance of aSnapshotrecord class. -
Uses of ComponentRegistry.Data in com.hypixel.hytale.server.core.universe.world.storage.resources
Methods in com.hypixel.hytale.server.core.universe.world.storage.resources with parameters of type ComponentRegistry.DataModifier and TypeMethodDescription<T extends Resource<ECS_TYPE>, ECS_TYPE>
CompletableFuture<T> DiskResourceStorageProvider.DiskResourceStorage.load(Store<ECS_TYPE> store, ComponentRegistry.Data<ECS_TYPE> data, ResourceType<ECS_TYPE, T> resourceType) <T extends Resource<ECS_TYPE>, ECS_TYPE>
CompletableFuture<Void> DiskResourceStorageProvider.DiskResourceStorage.remove(Store<ECS_TYPE> store, ComponentRegistry.Data<ECS_TYPE> data, ResourceType<ECS_TYPE, T> resourceType) <T extends Resource<ECS_TYPE>, ECS_TYPE>
CompletableFuture<Void> DiskResourceStorageProvider.DiskResourceStorage.save(Store<ECS_TYPE> store, ComponentRegistry.Data<ECS_TYPE> data, ResourceType<ECS_TYPE, T> resourceType, T resource)