question: private static void activateChunkEntities ( Chunk chunk ) { for ( List < Entity > slice : chunk . entityLists ) { for ( Entity entity : slice ) { if ( MinecraftServer . currentTick > entity . activatedTick ) { if ( entity . defaultActivationState ) { entity . activatedTick = MinecraftServer . currentTick ; continue ; } switch ( entity . activationType ) { case 1 : if ( monsterBB . intersectsWith ( entity . boundingBox ) ) { entity . activatedTick = MinecraftServer . currentTick ; } break ; case 2 : if ( animalBB . intersectsWith ( entity . boundingBox ) ) { entity . activatedTick = MinecraftServer . currentTick ; } break ; case 3 : default : if ( miscBB . intersectsWith ( entity . boundingBox ) ) { entity . activatedTick = MinecraftServer . currentTick ; } } } } } }
target:  Checks for the activation state of all entities in this chunk.