Class UpdateLocationSystems
java.lang.Object
com.hypixel.hytale.server.core.modules.entity.system.UpdateLocationSystems
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final com.hypixel.hytale.logger.HytaleLoggerprivate static final Message -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidhandleInvalidChunk(Ref<EntityStore> ref, TransformComponent transformComponent, boolean isPlayer, ComponentAccessor<EntityStore> entityComponentAccessor) private static voidupdateChunk(Ref<EntityStore> ref, TransformComponent transformComponent, Ref<ChunkStore> oldChunkRef, Ref<ChunkStore> newChunkRef, WorldChunk newWorldChunkComponent, ComponentAccessor<ChunkStore> chunkComponentStore, ComponentAccessor<EntityStore> entityComponentAccessor) private static voidupdateChunkAsync(Ref<EntityStore> ref, Ref<ChunkStore> newChunkRef, WorldChunk newWorldChunk, Store<ChunkStore> chunkComponentStore) private static voidupdateEntityInChunk(Ref<EntityStore> ref, Ref<ChunkStore> oldChunkRef, Ref<ChunkStore> newChunkRef, WorldChunk newWorldChunk, ComponentAccessor<ChunkStore> chunkComponentStore, ComponentAccessor<EntityStore> entityComponentAccessor) private static voidupdateLocation(Ref<EntityStore> ref, TransformComponent transformComponent, World world, CommandBuffer<EntityStore> commandBuffer)
-
Field Details
-
MESSAGE_GENERAL_PLAYER_IN_INVALID_CHUNK
-
LOGGER
@Nonnull private static final com.hypixel.hytale.logger.HytaleLogger LOGGER
-
-
Constructor Details
-
UpdateLocationSystems
public UpdateLocationSystems()
-
-
Method Details
-
updateLocation
private static void updateLocation(@Nonnull Ref<EntityStore> ref, @Nonnull TransformComponent transformComponent, @Nullable World world, @Nonnull CommandBuffer<EntityStore> commandBuffer) -
updateChunkAsync
private static void updateChunkAsync(@Nonnull Ref<EntityStore> ref, @Nullable Ref<ChunkStore> newChunkRef, @Nullable WorldChunk newWorldChunk, @Nonnull Store<ChunkStore> chunkComponentStore) -
updateChunk
private static void updateChunk(@Nonnull Ref<EntityStore> ref, @Nonnull TransformComponent transformComponent, @Nullable Ref<ChunkStore> oldChunkRef, @Nullable Ref<ChunkStore> newChunkRef, @Nullable WorldChunk newWorldChunkComponent, @Nonnull ComponentAccessor<ChunkStore> chunkComponentStore, @Nonnull ComponentAccessor<EntityStore> entityComponentAccessor) -
handleInvalidChunk
private static void handleInvalidChunk(@Nonnull Ref<EntityStore> ref, @Nonnull TransformComponent transformComponent, boolean isPlayer, @Nonnull ComponentAccessor<EntityStore> entityComponentAccessor) -
updateEntityInChunk
private static void updateEntityInChunk(@Nonnull Ref<EntityStore> ref, @Nullable Ref<ChunkStore> oldChunkRef, @Nonnull Ref<ChunkStore> newChunkRef, @Nonnull WorldChunk newWorldChunk, @Nonnull ComponentAccessor<ChunkStore> chunkComponentStore, @Nonnull ComponentAccessor<EntityStore> entityComponentAccessor)
-