Class EntityTickingSystem<ECS_TYPE>
java.lang.Object
com.hypixel.hytale.component.system.System<ECS_TYPE>
com.hypixel.hytale.component.system.tick.TickingSystem<ECS_TYPE>
com.hypixel.hytale.component.system.tick.ArchetypeTickingSystem<ECS_TYPE>
com.hypixel.hytale.component.system.tick.EntityTickingSystem<ECS_TYPE>
- All Implemented Interfaces:
ISystem<ECS_TYPE>,QuerySystem<ECS_TYPE>,TickableSystem<ECS_TYPE>
- Direct Known Subclasses:
AmbientEmitterSystems.Ticking,AudioSystems.EntityTrackerUpdate,AudioSystems.TickMovementAudio,BlockEntitySystems.BlockEntityTrackerSystem,BlockEntitySystems.Ticking,BlockHealthModule.BlockHealthSystem,BlockPhysicsSystems.Ticking,BlockStateModule.LegacyLateInitBlockStateSystem,BlockStateModule.LegacyTickingBlockStateSystem,ChunkBlockTickSystem.PreTick,ChunkBlockTickSystem.Ticking,ChunkSystems.ReplicateChanges,CombatActionEvaluatorSystems.EvaluatorTick,CombatViewSystems.Ticking,DeathSystems.CorpseRemoval,DelayedEntitySystem,DeployablesSystem.DeployableOwnerTicker,DeployablesSystem.DeployableTicker,DespawnSystem,EntityInteractableSystems.EntityTrackerUpdate,EntityStatsSystems.Changes,EntityStatsSystems.ClearChanges,EntityStatsSystems.EntityTrackerUpdate,EntityStatsSystems.Recalculate,EntityStatsSystems.Regenerate,EntitySystems.DynamicLightTracker,EntitySystems.NewSpawnEntityTrackerUpdate,EntitySystems.NewSpawnTick,EntityTrackerSystems.AddToVisible,EntityTrackerSystems.ClearEntityViewers,EntityTrackerSystems.ClearPreviouslyVisible,EntityTrackerSystems.CollectVisible,EntityTrackerSystems.EffectControllerSystem,EntityTrackerSystems.EnsureVisibleComponent,EntityTrackerSystems.RemoveEmptyVisibleComponent,EntityTrackerSystems.SendPackets,FarmingSystems.CoopResidentTicking,FarmingSystems.Ticking,FlockSystems.Ticking,FluidSystems.ReplicateChanges,FluidSystems.Ticking,ForcedMusicSystems.Tick,GenericVelocityInstructionSystem,HideEntitySystems.AdventurePlayerSystem,HitboxCollisionSystems.EntityTrackerUpdate,IntangibleSystems.EntityTrackerUpdate,InteractionSystems.TickInteractionManagerSystem,InteractionSystems.TrackerTickSystem,InvulnerableSystems.EntityTrackerUpdate,ItemMergeSystem,ItemPhysicsSystem,ItemPrePhysicsSystem,ItemSystems.TrackerSystem,KnockbackPredictionSystems.CaptureKnockbackInput,KnockbackPredictionSystems.SimulateKnockback,KnockbackSystems.ApplyKnockback,KnockbackSystems.ApplyPlayerKnockback,LegacyEntityTrackerSystems.LegacyEntityModel,LegacyEntityTrackerSystems.LegacyEntitySkin,LegacyEntityTrackerSystems.LegacyEquipment,LegacyEntityTrackerSystems.LegacyHideFromEntity,LegacyEntityTrackerSystems.LegacyLODCull,LegacyProjectileSystems.TickingSystem,LivingEntityEffectClearChangesSystem,LivingEntityEffectSystem,LocalSpawnForceTriggerSystem,ModelSystems.AnimationEntityTrackerUpdate,ModelSystems.UpdateCrouchingBoundingBox,MountSystems.HandleMountInput,MountSystems.TrackerUpdate,MovementStatesSystems.TickingSystem,NameplateSystems.EntityTrackerUpdate,NPCInteractionSystems.TickHeldInteractionsSystem,NPCMemory.GatherMemoriesSystem,NPCVelocityInstructionSystem,ObjectiveLocationMarkerSystems.TickingSystem,ParkourCheckpointSystems.Ticking,PickupItemSystem,PlayerChunkTrackerSystems.UpdateSystem,PlayerConnectionFlushSystem,PlayerCraftingSystems.PlayerCraftingSystem,PlayerItemEntityPickupSystem,PlayerPingSystem,PlayerProcessMovementSystem,PlayerSavingSystems.TickingSystem,PlayerSendInventorySystem,PlayerSystems.ProcessPlayerInput,PlayerSystems.UpdatePlayerRef,PlayerVelocityInstructionSystem,PredictedProjectileSystems.EntityTrackerUpdate,ReachLocationMarkerSystems.Ticking,RepulsionSystems.EntityTrackerUpdate,RepulsionSystems.RepulsionTicker,RespondToHitSystems.EntityTrackerUpdate,RotateObjectSystem,SnapshotSystems.Capture,SnapshotSystems.Resize,SpawnBeaconSystems.CheckDespawn,SpawnBeaconSystems.LoadTimeDelay,SpawnBeaconSystems.PositionSelectorUpdate,SpawnControllerSystem,SpawnJobSystem,SpawnMarkerBlockStateSystems.SpawnMarkerTickHeartbeat,SpawnMarkerBlockStateSystems.TickHeartbeat,SpawnMarkerSystems.Ticking,SpawnReferenceSystems.TickingSpawnBeaconSystem,SpawnReferenceSystems.TickingSpawnMarkerSystem,StaminaSystems.SprintStaminaEffectSystem,StandardPhysicsTickSystem,StateEvaluatorSystem,StepCleanupSystem,SteppableTickingSystem,TargetMemorySystems.Ticking,TransformSystems.EntityTrackerUpdate,UIComponentSystems.Update,UpdateLocationSystems.TickingSystem,WeatherSystem.TickingSystem,WorldSpawnJobSystems.Ticking
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from interface com.hypixel.hytale.component.system.ISystem
EMPTY_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <ECS_TYPE> voiddoTick(EntityTickingSystem<ECS_TYPE> system, float dt, ArchetypeChunk<ECS_TYPE> archetypeChunk, Store<ECS_TYPE> store, CommandBuffer<ECS_TYPE> commandBuffer) booleanisParallel(int archetypeChunkSize, int taskCount) protected static booleanmaybeUseParallel(int archetypeChunkSize, int taskCount) abstract voidtick(float var1, int var2, ArchetypeChunk<ECS_TYPE> var3, Store<ECS_TYPE> var4, CommandBuffer<ECS_TYPE> var5) voidtick(float dt, ArchetypeChunk<ECS_TYPE> archetypeChunk, Store<ECS_TYPE> store, CommandBuffer<ECS_TYPE> commandBuffer) protected static booleanuseParallel(int archetypeChunkSize, int taskCount) Methods inherited from class com.hypixel.hytale.component.system.tick.ArchetypeTickingSystem
isExplicitQuery, test, tickMethods 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
getDependencies, getGroup, onSystemRegistered, onSystemUnregisteredMethods inherited from interface com.hypixel.hytale.component.system.QuerySystem
getQuery
-
Constructor Details
-
EntityTickingSystem
public EntityTickingSystem()
-
-
Method Details
-
maybeUseParallel
protected static boolean maybeUseParallel(int archetypeChunkSize, int taskCount) -
useParallel
protected static boolean useParallel(int archetypeChunkSize, int taskCount) -
isParallel
public boolean isParallel(int archetypeChunkSize, int taskCount) -
tick
public void tick(float dt, @Nonnull ArchetypeChunk<ECS_TYPE> archetypeChunk, @Nonnull Store<ECS_TYPE> store, @Nonnull CommandBuffer<ECS_TYPE> commandBuffer) - Specified by:
tickin classArchetypeTickingSystem<ECS_TYPE>
-
tick
public abstract void tick(float var1, int var2, @Nonnull ArchetypeChunk<ECS_TYPE> var3, @Nonnull Store<ECS_TYPE> var4, @Nonnull CommandBuffer<ECS_TYPE> var5) -
doTick
public static <ECS_TYPE> void doTick(@Nonnull EntityTickingSystem<ECS_TYPE> system, float dt, @Nonnull ArchetypeChunk<ECS_TYPE> archetypeChunk, @Nonnull Store<ECS_TYPE> store, @Nonnull CommandBuffer<ECS_TYPE> commandBuffer)
-